-   Linux - General (
-   -   alias question (

tied2 08-23-2002 10:31 PM

alias question
(OS) RH 7.3

ok I make a alias for my eth0 connection it went like this.

alias up='ifup eth0' and alias dn='ifdown eth0'

after I made them I checked them to see if they worked, they did.
then I closed that konsole and reopened another and retried the commands but it says "command not found" did I need to do something else to save the alias?

Thanks again LQ

gdrobson 08-23-2002 11:08 PM

Did you add the aliases to your ~/.bashrc ?

tied2 08-23-2002 11:20 PM

No, how do I do that ?

neo77777 08-23-2002 11:21 PM

Just the same way you did for aliasing them, put these alias commands in there

tied2 08-23-2002 11:50 PM

Ok thanks neo77777. You have answered alot of my posts and have always been helpful. Thanks again!

All times are GMT -5. The time now is 04:38 PM.