https://superuser.com/questions/262942/whats-different-between-ctrlz-and-ctrlc-in-unix-command-line
CTRL+Z stops (pauses) a job
CTRL+C terminates a job
with CTRL+C you cannot resume the process but with CTRL+Z the job can be resumed by just entering at the command promt:
fg %1
if you have multiple processes paused then you should do
jobs
to see the output and select the appropriate number to resume e.g.
fg %3
resumes the third job in the List. You can also have jobs running in the background with
bg %n
where n is the job number.
总结以上是内存溢出为你收集整理的Linux关闭命令行正在执行的程序全部内容,希望文章能够帮你解决Linux关闭命令行正在执行的程序所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)