command
cli.help ist für den Terminal gedacht:
curl cli.help
## Informationen über einen Befehl/ein Programm oder eine Bash-interne
Funktion anzeigen, hier foobar:
command -V foobar
## Befehl aus dem Standard-PATH nutzen, auch wenn eventuell ein anderes
Programm für denselben Aufruf definiert ist:
command -p xeyes
## Bash-eigenen echo-Befehl nutzen, obwohl weiterer echo-Befehl existiert:
command echo Hallo
## Beispiel: Standard-echo nutzen, obwohl echo als Alias für "echo -e" gesetzt ist:
alias echo='echo -e'
command -V echo
### Ausgabe:
echo ist ein Alias von `echo -e'.
echo "Hallo\nWelt"
### Ausgabe:
Hallo
Welt
command echo "Hallo\nWelt"
### Ausgabe:
Hallo\nWelt
## In diesem Zusammenhang interessant:
curl cli.help/alias
curl cli.help/echo
curl cli.help/builtin