Latest web development tutorials

Linux suspend命令

Linux 命令大全 Linux命令大全

Linux suspend命令用於暫停執行shell。

suspend為shell內建指令,可暫停目前正在執行的shell。 若要恢復,則必須使用SIGCONT信息。

語法

suspend [-f]

參數說明 :

  • -f 若目前執行的shell為登入的shell,則suspend預設無法暫停此shell。 若要強迫暫停登入的shell,則必須使用-f參數。

實例

暫停shell

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

Linux 命令大全 Linux命令大全