![]() |
very newbie alias question
I created an .alias file, only put one simple line in it:
alias test1 cd $HOME/develop/test1 I got twice of the errors: > 'test1' not found > 'cd $HOME/develop/test1' not found It should be a very simple thing. I typed the this line in a shell, the same error. But if I type 'cd $HOME/develop/test1', it is fine. What is wrong with my alias? Thank, Fang |
Put it in the file
.bashrc |
The same thing.
|
Sorry, try
alias test1='cd $HOME/develop/test1' |
Yeeees, it works this time!
I don't understand, alias is very old tool. Seems it changed now. Thank you so much! Fang |
All times are GMT -5. The time now is 08:58 AM. |