suspend命令屬於終端的內建命令,能夠用來暫停目前正在執行的shell。
說明:如果需要恢復的話,必須要用SIGCONT資訊。
suspend命令的具體命令的語法格式爲suspend[參數]。
參數:
-f 若目前執行的shell爲登入的shell,那麼suspend預設無法暫停此shell
參考範例:
如果暫停終端,則具體命令爲:
[root@linuxcool ~]# suspend -f
拓展:
常用的linux命令有哪些?
常用的linux命令一般可以分爲很多種,比如檢視硬件資訊相關命令就有8個,分別是ifconfig、free、fdisk、ethtool、mii-tool、dmidecode、dmesg、lspci,用於系統性能監視進階命令有uptime、top、free、vmstat、mpstat、iostat、sar、chkconfig,用於內存的命令是top、free、vmstat、mpstat、iostat、sar等。