Linux suspend Command
The Linux suspend command is used to pause the execution of a shell.
suspend is a shell built-in command that can pause the currently executing shell. To resume it, you must use the SIGCONT signal.
Syntax
suspend [-f]
Parameter Description:
- -f If the currently executing shell is a login shell, suspend cannot pause it by default. To force a login shell to pause, you must use the -f parameter.
Example
Pause a shell
# suspend
-bash: suspend: 无法挂起一个登录 shell
# suspend -f
Linux Command Reference