ctrl + z fg bg
Posted 运维工匠实战(如果发现有错误请大家把正确的方法发送给我,方便
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ctrl + z fg bg相关的知识,希望对你有一定的参考价值。
[[email protected] ~]# jobs [1]+ Stopped vncviewer 192.168.1.17:5904 [[email protected] ~]# #ctrl + z [[email protected] ~]# bg 1 [1]+ vncviewer 192.168.1.17:5904 & [[email protected] ~]# jobs [1]+ Running vncviewer 192.168.1.17:5904 & [[email protected] ~]# #bg + 序列号 ----吊到后台运行 [[email protected] ~]# fg 1 vncviewer 192.168.1.17:5904 # fg + 序列号 ------->把程序调到前台
以上是关于ctrl + z fg bg的主要内容,如果未能解决你的问题,请参考以下文章
Linux中切换前后台命令:ctrl+z,bg,fg,jobs
centos 离开进程不 退出程序,检测进程fg、bg、jobs、&、nohup、ctrl+z、ctrl+c
进程监控top free ps grep pgrep pkill kill & bg fg jobs nohup ctrl+z pstree