BASH - Aliases

A Bash alias allows the user to launch any command or group of commands (including options and filenames) by entering a single word.

Aliases are very convenient to use for frequently used commands.


Example

An alias c is created against clear command.

alias c='clear'`

Instead of needing to type the word clear to clear the screen, the letter c can now be used instead (with the [ENTER] key).

c

My Aliases


Delete an alias

Disable an alias temporarily

Examples

Local vs Global Aliases

OS specific aliases

Privileged access specific aliases