set
Display, set or unset values of shell attributes and positional parameters. More information: https://manned.org/set.
-
Display the names and values of shell variables:
set
-
Mark variables that are modified or created for export:
set -a
-
Notify of job termination immediately:
set -b
-
Set various options, e.g. enable
vi
style line editing:
set -o {{vi}}
-
Set the shell to exit as soon as the first error is encountered (mostly used in scripts):
set -e
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.