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