If you're a command line user like myself no doubt the hassle of typing:
Code:
sudo apt-get install package
everytime you want to grab a package causes you strife. Let aliases help.
At a shell simply type:
Code:
alias apt='sudo apt-get install'
alias remove='sudo apt-get remove'
alias search='apt-cache search'
from now on you can simply type:
to install a package.
to remove a package.
and, you've guessed it:
to look for a package.
To make these aliases stick add entries for them in your .bashrc or .bash_profile files.
Of coures you don't have to use my shortcuts, perhaps you'd prefer apt-search for search it's up to you such is the power of aliases. It should be noted that 'install' is already a command in Linux hence my choice of 'apt'.
cg
Last edited by closet geek; November 14th, 2005 at 12:31 PM.
Registered Linux user: 311835
Bookmarks