setbg


Sets the shell's default behavior to background execution mode.

Synopsis

setbg

Description

Sets the shell's default execution mode to background. This prevents the shell from waiting for tasks to complete when they are executed. The shell returns immediately and is ready to accept more commands.

If the shell is currently in foreground mode and you wish to execute only a single program in background mode, you can append an ampersand (&) to the end of the command-line.

Use showshellvars to display the current execution mode.

Implementation

Command implemented in shell V20.

Built-in shell command.

Synonyms

bg

See Also

setfg, showshellvars