Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy





If you use the same command often, you might get tired of typing it. bash lets you write shorter aliases for your commands.

Say you always use the -almost-all and -color=auto options to ls. You quickly get tired of typing ls -almost-all -color=auto. So you make an alias:

alias myls='ls -almost-all -color=auto' 
Now you can type myls instead of the full command. To see what myls really is, run the command type myls. To see a list of aliases you've defined, simply type alias on a line by itself.

John Goerzen / Ossama Othman

  Published under the terms of the GNU General Public License Design by Interspire