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

Re: Where and how to save Alias at?



On Fri, 27 Oct 2000 Viper5192@cs.com wrote:

> I tried to set up an alias for shutdown -h now and worked fine.  When I 
> rebooted it  was gone.  Is this a one time thing each session or can I save 
> my alaises to a file for all sessions?

You add aliases to the .bashrc file in your home directory.  There should be
some in there already, just use them for a pattern.

On another topic, Debian ships with a command like that already.  Try the
command "halt".  Does just what you want.

dar

-- 
Hindsight is the ultimate design aid. -- Phil Dodderidge



Reply to: