Browse Source

set: add page (#2268) (#2294)

Muhammad Falak R Wani 6 years ago
parent
commit
10e16ab523
1 changed files with 19 additions and 0 deletions
  1. 19 0
      pages/common/set.md

+ 19 - 0
pages/common/set.md

@@ -0,0 +1,19 @@
+# set
+
+> Display, set or unset values of shell attributes and positional parameters.
+
+- 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}}`