C语言网

 找回密码
 加入社区!

QQ登录

只需一步,快速开始

查看: 305|回复: 0

在linux中出现there are stopped jobs 的解决方法 [复制链接]

Rank: 6Rank: 6

主题
72
帖子
361
C币
652 枚
在线时间
62 小时
发表于 2010-7-29 22:06:22 |显示全部楼层
分享到:
Dealing with Stopped Jobs Sometimes when you try to logout, you'll get a message saying there are "stopped jobs". These stopped jobs are programs or processes which have been suspended by a ^Z (Ctrl - Z) command. You have to either make the job active again, or get it running properly in the "background" before you can logout.   Stopping a program is useful if you want to temporarily suspend working on one program so you can do something else.   To see a list of stopped jobs, type:  
            
jobs
            
You will see a list of the stopped programs. Here's an example showing a stopped "learn" session:  
            
[1] + Stopped learn
            
  You can kill this stopped job by typing:  
            
kill %1 (where %1 is the number of the job to be killed>
            
  Or you can make the program active again by typing:  
            
fg %1 (where %1 is the number of the job)
            
  fg stands for foreground. (You are bringing the program from suspended status back to the foreground.) Once brought
您需要登录后才可以回帖 登录 | 加入社区!

C语言 ( 粤ICP备11042647号-2 )

GMT+8, 2012-5-20 18:39

©2009-2011 cyuyan.com.cn

回顶部