Link to home
Start Free TrialLog in
Avatar of bgcntry
bgcntry

asked on

aliases in UNIX

I can I create an alias and be able to use it each time I login?  Now I can create an alias, but when I logout and log back in I have to create it again.
Avatar of bchew
bchew
Flag of United States of America image

"create" the alias in the .login file in your home directory, then it will create itself each time you log in.
Avatar of vanchai
vanchai

write alias in .profile in your home.
.login, .profile, .cshrc depending on which shell(s) you log in with...
write alias in general profile. So, all users can to use your alias.
In Solaris, the general profile is /etc/profile.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial