Alle Befehle
set
Thema: Shell und Skripte
Builtin der Shell: set
Setzt Optionen der Shell und Positionsparameter.
Paket: shell-optionen
Aufruf
set [-Ceufx] [-o name] [--] [arg ...]
Beschreibung
Turn shell options on with - and off with +, for example set -o noclobber or set +e. Words after -- become $1, $2 ... Without arguments, list all variables and functions.
Optionen im Simulator
-
-C noclobber: > does not overwrite an existing file (>| still does) -
-e errexit: end the shell when a command fails -
-u nounset: treat an unset variable as an error -
-x xtrace: print each command before it runs -
-f noglob: leave * ? and [ ] as they are -
-o NAME turn on the option NAME; +o turns it off; without NAME list all
14 weitere Optionen des echten Programms, im Simulator noch nicht
-
-a im Simulator noch nicht Erklärung folgt
-
-b im Simulator noch nicht Erklärung folgt
-
-h im Simulator noch nicht Erklärung folgt
-
-k im Simulator noch nicht Erklärung folgt
-
-m im Simulator noch nicht Erklärung folgt
-
-n im Simulator noch nicht Erklärung folgt
-
-p im Simulator noch nicht Erklärung folgt
-
-t im Simulator noch nicht Erklärung folgt
-
-v im Simulator noch nicht Erklärung folgt
-
-B im Simulator noch nicht Erklärung folgt
-
-E im Simulator noch nicht Erklärung folgt
-
-H im Simulator noch nicht Erklärung folgt
-
-P im Simulator noch nicht Erklärung folgt
-
-T im Simulator noch nicht Erklärung folgt
Wo du ihn lernst
Noch in keiner Lektion.
Alle Befehle