shorten "exit" !?

Owen Townend 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
> >
>
> Hey,
>   `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'

  or just
>   `alias kthxbye='shutdown -h now kthxbye; exit'
>
> cheers,
> Owen.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080312/7a725483/attachment.html>


More information about the ubuntu-users mailing list