Linux suspend command

Linux 命令大全Linux Command Encyclopedia

The Linux suspend command is used to suspend the execution of the shell.

suspend is a shell built-in command that can suspend the currently executing shell. To resume, you must use the SIGCONT signal.

Syntax

suspend [-f]

Parameter Description:

  • -f If the currently executing shell is a login shell, suspend cannot suspend this shell by default. To force suspending the login shell, you must use the -f parameter.

Examples

Suspend the shell

# suspend 
-bash: suspend: 无法挂起一个登录 shell
# suspend -f

Linux 命令大全Linux Command Encyclopedia

Other Extensions