alias

Create shorthand names for commands or command sequences.

low risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

alias lets you define custom shorthand for long or complex commands. Aliases defined in the terminal session are temporary — to make them permanent, add them to ~/.bashrc or ~/.bash_profile. alias without arguments lists all current aliases.

Examples
alias ll='ls -lah --color=auto'Create a human-readable long listing alias · explain & risk-check →
alias k=kubectlShorthand for kubectl (essential for K8s work) · explain & risk-check →
alias grep='grep --color=auto'Always colorize grep output · explain & risk-check →
alias ..='cd ..'Navigate up one directory quickly · explain & risk-check →
unalias llRemove the ll alias · explain & risk-check →
Pro tip

Add `alias tf=terraform` and `alias k=kubectl` to ~/.bashrc — saves thousands of keystrokes per week.

Related
export source history
Open the full explainer →More in Shell & Scripting

Reference text is hand-written and may be incomplete — check man alias for your version. Test destructive commands on a non-production system first.