shorten "exit" !?
owen.townend at gmail.com
Wed Mar 12 12:38:53 UTC 2008
On 3/12/08, Owen Townend <owen.townend at gmail.com> wrote:
> On 3/12/08, SYNass IT Ubuntu / Linux <i-ubux at synass.net> wrote:
> > Hi Linux / Ubuntu experts & users
> > How and where can I add a short version of "exit" ?
> > I am used to short versions of
> > x for exit and
> > q for quit or
> > sd for shutdown or
> > sb for setboot !!!
> > Your advise and hints are very appreciated. ;-)
> > Cheers, svobi
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> `alias` is your friend.
> You can set alias's in your ~/.profile or .bashrc
> Something like this should work.
> `alias x='exit' q='quit' sd='shutdown -h now' sb='shutdown -r now'`
edit ^^ rb='shutdown -r now'
> `alias kthxbye='shutdown -h now kthxbye; exit'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users