当前位置: 技术问答>linux和unix
ctrl+Z 挂起后 恢复的命令是?
来源: 互联网 发布时间:2014-12-04
本文导语: 比如在vi中按ctrl+z 有个命令可以恢复会话,我忘了,大家谁记得? | fg 将后台程序转入到前台 bg 将前台程序转入到后台 Does a good farmer neglect a crop he has planted? Does a good teacher overlook even...
比如在vi中按ctrl+z
有个命令可以恢复会话,我忘了,大家谁记得?
有个命令可以恢复会话,我忘了,大家谁记得?
|
fg 将后台程序转入到前台
bg 将前台程序转入到后台
Does a good farmer neglect a crop he has planted?
Does a good teacher overlook even the most humble student?
Does a good father allow a single child to starve?
Does a good programmer refuse to maintain his code?
-- Geoffrey James, "The Tao of Programming"
bg 将前台程序转入到后台
Does a good farmer neglect a crop he has planted?
Does a good teacher overlook even the most humble student?
Does a good father allow a single child to starve?
Does a good programmer refuse to maintain his code?
-- Geoffrey James, "The Tao of Programming"
|
先用jobs命令,得到任务号x,
然后用fg %x, bg %x。
然后用fg %x, bg %x。