Set Linux aliases for hard to remember commands

Updated: 05/27/2017 by Computer Hope
set linux aliases for commands

Create an alias for commands frequently forgotten, cause issues or long commands.

For example, you may type edit to edit a file when in Linux or Unix. However, users who may be new to Linux or Unix may not be able to use the edit program or this may cause an error message.

Set the edit command for an easier to use editor, such as pico. Below is an example:

alias edit pico

Additional information

  • See the alias command page for further help and examples on this command.