alias
Quick Reference
Command Name:
alias
Category:
file management
Platform:
Linux/Unix
Basic Usage:
Common Use Cases
- 1
Command shortcuts
Create shorter, easier-to-remember names for frequently used commands
- 2
Workflow optimization
Streamline repetitive tasks with custom command aliases
- 3
Cross-platform compatibility
Create aliases that work consistently across different systems
- 4
Shell customization
Personalize your shell environment with custom command names
Syntax
alias [OPTION]... [FILE]...
Options
| Option | Description |
|---|---|
-l |
Use a long listing format |
-a |
Show hidden entries starting with . |
-h |
Human-readable sizes |
-R |
List subdirectories recursively |
Examples
How to Use These Examples
The examples below show common ways to use the alias command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.