1. Temporary Alias
Works only in the current terminal session.
Loading...Check aliases:
Loading...Remove an alias:
Loading...2. Permanent Alias
Add aliases to your shell configuration file.
For Bash (default in many WSL distributions):
Loading...Add:
Loading...Apply changes:
Loading...3. Check Your Shell
Loading...Or:
Loading...4. Zsh
If using Zsh:
Loading...Add aliases:
Loading...Apply:
Loading...5. Useful Alias Examples
Loading...6. View a Specific Alias
Loading...Output:
Loading...7. Remove Permanent Alias
Edit the configuration file:
Loading...Remove/comment the alias line:
Loading...Then:
Loading...Key Point
Temporary:
alias name='command'Permanent: Add
alias name='command' to ~/.bashrc → source ~/.bashrc.jpg?table=block&id=29d76b1d-f1a8-8072-a9bf-cc78d1c7d881&cache=v2)