Átomo
57Al
Ambiente e scripts · Linux / macOS

alias

Abrir na tabela

Definição

Cria atalhos para comandos longos. Para persistir, grave em ~/.bashrc ou ~/.zshrc.

Exemplos

1. Criar
alias ll='ls -lah'
alias gs='git status'
2. Persistir
echo "alias ll='ls -lah'" >> ~/.zshrc
source ~/.zshrc
3. Ver e remover
alias
unalias ll

No mesmo grupo