suspend

用途

暂停执行shell。

语法

suspend [-f] 

描述

suspend为shell内建指令,可暂停现在正在执行的shell。若要恢复,则必须使用SIGCONT信息。

参数

-f  若现在执行的shell为登入的shell,则suspend预设无法暂停此shell。
         若要强迫暂停登入的shell,则必须使用-f参数。

例子

暂停目前的 shell:

$ suspend
suspend:Can't suspend a login shell   <—— suspend 无法暂停登入的shell
$ suspend -f                          <—— 强制暂停目前的shell

相关命令

shells/commands/suspend.txt · 最后更改: 2010/03/30 13:01 (外部编辑)
[unknown link type]到顶部
GNU Free Documentation License 1.3
京ICP备05034962号 Debian Driven by DokuWiki get firefox browser Recent changes RSS feed Valid XHTML 1.0