Session and utilities
The alias command
Creates custom shortcuts for long commands.
Syntax
alias nombre='comando'Most useful options
-pLists the defined aliasesCopy-ready examples
$ alias ll='ls -l'A classic shortcut$ llUse itYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- The alias lives in the session; to make it permanent you must save it in the config file.
FAQ
Do aliases disappear when closing?
Yes, unless you save them in ~/.bashrc.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course