alias
Builtin der Shell: alias
Legt Kurznamen für Befehle an oder zeigt sie.
Aufruf
alias [-p] [name[=value] ...]
Beschreibung
Without arguments, list every alias as alias NAME='VALUE'. NAME=VALUE defines an alias: when NAME is the first word of a command typed later, the shell reads VALUE in its place. NAME alone shows that alias.
Optionen im Simulator
Beispiele
alias kver='uname -r'
kver
6.12.48+deb13-amd64
type kver
kver is aliased to `uname -r' Wo du ihn lernst
Lektionen
- Das System und deine Abkürzungen Linux-Grundlagen, Modul 10: Sysadmin-Alltag