Erstellt Aliase für Befehle.
alias [NAME[=WERT] ...]
alias ll='ls -l'
alias
Built-in Shell-Kommando
Setzt Job in den Hintergrund.
bg [JOB_SPEC]
bg %1
bg
Built-in Shell-Kommando
Ausgabe von Text oder Variablen.
echo [OPTIONEN] [STRING...]
echo 'Hallo Welt'
echo $PATH
Built-in Shell-Kommando
Umgebungsvariablen setzen
export [options] [name[=value]]
export PATH=/Users/sebastian/Library/PhpWebStudy/alias:/Users/sebastian/Library/PhpWebStudy/env/nginx:/Users/sebastian/Library/PhpWebStudy/env/nginx/sbin:/Users/sebastian/Library/PhpWebStudy/alias:/Users/sebastian/Library/PhpWebStudy/env/nginx:/Users/sebastian/Library/PhpWebStudy/env/nginx/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/Little Snitch.app/Contents/Components:/opt/homebrew/bin:/Users/sebastian/.lmstudio/bin:/Users/sebastian/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Users/sebastian/.lmstudio/bin:/opt/bin
export EDITOR=vim
export -p
export -n VAR
Macht Variablen für Subprozesse verfügbar.
Bringt Job in den Vordergrund.
fg [JOB_SPEC]
fg %1
fg
Built-in Shell-Kommando
Benutzerfreundliche Shell.
fish [OPTIONEN] [SCRIPT]
fish
Friendly Interactive Shell.
Befehlshistorie anzeigen
history [n]
history
history 20
history | grep ssh
npm install tailwindcss@latest postcss autoprefixer
rm -f /Volumes/homes/sebastian/Projekte/linuxcommand/cache/commands_cache.json && python3 find_duplicates.py (letzter Befehl)
nslookup mail.yampp.de (Befehl Nummer n)
Zeigt vorherige Befehle an.
Listet Hintergrundjobs.
jobs [OPTIONEN]
jobs
jobs -l
Built-in Shell-Kommando
Formatierte Ausgabe
printf <format> [arguments]
printf "Hello %s
" World
printf "%d + %d = %d
" 2 3 5
printf "%10s" text
printf "%0.2f
" 3.14159
echo
C-ähnliche formatierte Ausgabe.
Shell-Skripte in aktueller Shell ausführen
source <file>
source ~/.bashrc
source ./script.sh
. ~/.profile
.
Führt Skripte in der aktuellen Shell aus.