shorten "exit" !?
Robert Sweetnam
robert at ops.sweetnam.eu
Wed Mar 12 12:30:00 UTC 2008
-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of SYNass IT
Ubuntu / Linux
Sent: 12 March 2008 12:16
To: Ubuntu User List
Subject: shorten "exit" !?
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
--
Hi, You need to edit your .bashrc file which is under your home
directory.
If you scroll down, you will see a line like the following:
# some more ls aliases
After the examples below this line add your own entries. For example to
use sd for shutdown you would add:
Alias sd='shutdown -now'
You need to logout and back in again for the changes to take effect.
Hope this helps
Robert
More information about the ubuntu-users
mailing list