1756597 Members
2987 Online
108848 Solutions
New Discussion

setting aliases

 
SOLVED
Go to solution
MarkSyder
Honored Contributor

Re: setting aliases

I have a file alias.ksh which contains my aliases. When I log in I run . alias.ksh.

The . before the command makes sure the aliases are available in the current shell.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Chia-Wei
Advisor

Re: setting aliases

Let's say your aliases are stored in file .alias.ksh

You need to add this line to your .profile :
export ENV=.alias.ksh

With this it will work.