[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
On 27-Feb-2002 at 16:43:07 Neil Stone wrote:
I have noticed that if i ^Z an application in a terminal, when i go to logout it tells me there are stopped jobs. how can i either; a) resume these, or
Use the 'fg' command to bring them back into the foreground. You can then 'control-C' them, let them finish, or whatever. When you '^Z' you just 'stop' the job, it's still present, just not running.
b) kill these safely ?
Use the 'kill %1' for job number 1, 'kill %2' for number 2, etc. The number is given when you '^Z'. Example: sleep 15 <----Control-Z here [1]+ Stopped sleep 15 So the '1' in the square brackets is the job number. 3) Enter the 'jobs' command to see what jobs you have left lying around. John. ------------------------------------------------------------------------ John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914 E-mail: jhorne@xxxxxxxxxxxxxx PGP key available from public key servers -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.