Comandline 101: Aliases for Common Commands

FAIL (the browser should render some flash content, not this).

Download in .ogv format


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Good job!

kapal's picture

Nice video, especially for commandline begginers.

Also, you may want to add your aliases to ~/.bash_aliases (if it exists) or to ~/.bashrc for example:

$ alias la="ls -la" >> ~/.bash_aliases

If you close your terminal, and then open it again (or open new one) you will see, that your `la' alias is there right from the start.

NOTE: Most distros source ~/.bash_aliases file within ~/.bashrc in the following manner:

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot