LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   setting alias and blackbox (https://www.linuxquestions.org/questions/linux-general-1/setting-alias-and-blackbox-12951/)

psyklops 01-29-2002 03:33 AM

setting alias and blackbox
 
Its late so I hope this makes some sense. I would like to set an alias

alias cd ..='cd up'

however when I type this in the terminal it gives me an error that the command is not found. Im not looking for it, im trying to set it. This would be much easier for me to type instead of ..

The other thing is should i put blackbox in usr/local/ for a proper install? Or would it be safier to just put all installs in my home/psyklops dir?

acid_kewpie 01-29-2002 03:35 AM

you're using the wrong syntax

alias cdup='cd ..'

you can't make an alias 'cd up' as up would be a parameter to the cd, which doesn't make sense for an alias.

installing in /usr/local is fine.

psyklops 01-29-2002 01:11 PM

Thanks!


All times are GMT -5. The time now is 11:25 AM.