Lesson 3 | Managing aliases |
Objective | List current aliases and disable them. |
List Current Aliases in Unix
Once a few aliases have been defined, you can manage them in different ways, as shown below:
Command | Description |
% alias | List currently defined aliases |
% alias name | List the definition for the alias name |
% alias | grep pattern | List all definitions that contain pattern |
% \command | Temporarily disable the alias. Use the default command, not the alias by that name |
% unalias name | Disable the alias definition for name for the rest of your UNIX session |
These commands are demonstrated in the following ToolTip: Mouseover the image below to obtain more information.
Alias Example
Managing Aliases
In the next lesson, the display of previous commands using the history feature will be discussed.
Creating Managing Aliases