Friday, 20 May 2011

How to use alias in the Korn shell?

You can use alias in korn shell by 2 steps:




Step 1: Add in $HOME/.kshrc : alias  l='ls -l'   
Step 2: Add in $HOME/.profile: export ENV=$HOME/.kshrc

No comments:

Post a Comment