2018-12-16 17:39:33 -08:00
|
|
|
suspend - suspend the current shell
|
2019-01-02 20:10:47 -08:00
|
|
|
===================================
|
2018-12-16 17:39:33 -08:00
|
|
|
|
2018-12-17 17:58:24 -08:00
|
|
|
Synopsis
|
|
|
|
--------
|
2018-12-16 13:08:41 -08:00
|
|
|
|
|
|
|
suspend [--force]
|
2018-12-17 17:58:24 -08:00
|
|
|
|
2018-12-16 13:08:41 -08:00
|
|
|
|
2018-12-18 18:44:30 -08:00
|
|
|
Description
|
2019-01-02 20:10:47 -08:00
|
|
|
-----------
|
2018-12-16 13:08:41 -08:00
|
|
|
|
2018-12-19 12:02:45 -08:00
|
|
|
``suspend`` suspends execution of the current shell by sending it a
|
2018-12-16 13:08:41 -08:00
|
|
|
SIGTSTP signal, returning to the controlling process. It can be
|
|
|
|
resumed later by sending it a SIGCONT. In order to prevent suspending
|
|
|
|
a shell that doesn't have a controlling process, it will not suspend
|
|
|
|
the shell if it is a login shell. This requirement is bypassed
|
2018-12-19 12:02:45 -08:00
|
|
|
if the ``--force`` option is given or the shell is not interactive.
|