2018-12-17 09:39:33 +08:00
|
|
|
suspend - suspend the current shell
|
|
|
|
==========================================
|
|
|
|
|
2018-12-18 09:58:24 +08:00
|
|
|
Synopsis
|
|
|
|
--------
|
2018-12-17 05:08:41 +08:00
|
|
|
|
|
|
|
suspend [--force]
|
2018-12-18 09:58:24 +08:00
|
|
|
|
2018-12-17 05:08:41 +08:00
|
|
|
|
2018-12-19 10:44:30 +08:00
|
|
|
Description
|
|
|
|
------------
|
2018-12-17 05:08:41 +08:00
|
|
|
|
2018-12-20 04:02:45 +08:00
|
|
|
``suspend`` suspends execution of the current shell by sending it a
|
2018-12-17 05: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-20 04:02:45 +08:00
|
|
|
if the ``--force`` option is given or the shell is not interactive.
|