aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/suspend.txt
blob: defde22def550e6182c2b4cf0406d361979624e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\section suspend suspend - suspend the current shell

\subsection suspend-synopsis Synopsis
\fish{synopsis}
suspend [--force]
\endfish

\subsection suspend-description Description

`suspend` suspends execution of the current shell by sending it a
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 a
the shell if it is a login shell or if `$SHLVL` is less
`$suspend_minimum_SHLVL`, which defaults to three. This test is
skipped if the `--force` option is given or the shell is not
interactive.