You can also make aliases for existing commands. If you want ls to show colors by default, do:

alias ls='ls --color=yes'

These aliases can be put in your login script (.bash_profile or .profile depending on what shell you are using).

Gentoo Linux tips

alias aemerge='ACCEPT_KEYWORDS="~x86" emerge'

Alias with variables

You can not make aliases with variables. But you can make functions, having a function in your .profile/.bashrc will
work just like an alias. To use ssh to copy files to a location on a server you can use

sendpic () { scp $* mina@foo.bar.ca:/www/misc/Pictures/; }

thanks to mina

Copyright (c) 2000-2004 Øyvind Sæther.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled ["GNU Free
Documentation License" http://www.gnu.org/licenses/fdl.html].