一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

Linux suspend命令详解 Linux suspend命令怎么用

时间:2016-12-12 编辑:简简单单 来源:一聚教程网

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

语法

suspend [-f]

参数说明:

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

实例

暂停shell

# suspend

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

# suspend -f

热门栏目