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