Linux之suspend命令用法与介绍

 2022-03-16    631  

Linux之suspend命令用法与介绍

Linux suspend命令用于暂停执行shell。

Linux之suspend命令用法与介绍

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

语法

suspend [-f]

参数说明:

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

实例

暂停shell

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


原文链接:https://77isp.com/post/601.html

=========================================

https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。