setfg


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

Synopsis

setfg

Description

Sets the shell's default execution mode to foreground. This forces the shell to wait for tasks to complete when they are executed. The shell will not accept new commands until the current task completes.

If the shell is currently in background mode and you wish to execute only a single program in foreground mode, you can append a '#' at the end of the command-line.

Use the showshellvars command to display the current execution mode.

Implementation

Command implemented in shell V20.

Built-in shell command.

Synonyms

fg

See Also

setbg, showshellvars