[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Help w/Alias



I would like to put an alias in bashrc that points to my dialer
/etc/ppp/ppp-on, but can't get it to work. I would like to be able to
type something like pppon at the command line to get ppp-on to start. Is
there a way to set this up so I can just type pppon from any dir and
have it go? I would also like to be able to do this as either root or
user. I played with something like this with no luck.

alias pppon='pppon /etc/ppp/./ppp-on'
alias pppoff='pppoff /etc/ppp/./ppp-off'

Should I add this in to make it available to any user.
alias pppon='su - pppon /etc/ppp/./ppp-on'

I am really only making my guesses as to what might work for this.

Thanks,

Aaron



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]