cmdxray / commands / alias

What does alias do?

define or display command shortcuts (shell builtin).

▸ Explain your own alias command →

alias examples, explained

$ alias

  • aliasdefine or display command shortcuts (shell builtin)

$ alias ll='ls -la'

  • aliasdefine or display command shortcuts (shell builtin)
  • ll=ls -laset ll for this command

$ alias -p

  • aliasdefine or display command shortcuts (shell builtin)
  • -pprint all defined aliases in a reusable form

alias flags & options

-pprint all defined aliases in a reusable form

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.