Master · Let commands collaborate
set: Set Shell behavior
Syntax
set [options]Examples
set -uUsage and sandbox support
For review only: practice in a real Linux environment, this sandbox does not execute this command.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
echoOutput a piece of textprintfOutput text according to formatteeOutput and save pipeline contentsxargsConvert input into command parametersexportSet environment variablesenvView environment variablesprintenvOutput the value of environment variableunsetRemove variableshistoryView command historyclearClear the terminal displaytrueReturn success statusfalseReturn failure statusseqGenerate a sequence of numberssleepPause for specified timealiasSet command aliasunaliasRemove command aliassourceRead script in current ShellreadRead variables from inputbashRun the Bash scriptshRun the POSIX Shell scriptcommandControl command lookupjobsView current Shell jobsbgResume background jobfgResume foreground jobwaitWait for child process to endnohupIgnore hangup signal and runtimeoutLimit command running timewatchDisplay command results periodicallytimeMeasure run timeulimitView or set resource limitstrapHandle exit or signaltmuxManage terminal sessionsscreenKeep terminal session