Solved

wake-up process,kill command

Posted on 2003-10-22
5
931 Views
Last Modified: 2008-02-26


 i am using mandrake 6.0 on telnet.when i press ctrl+z and stop the program i cant re-run program.i can view program with jobs or ps but  i cant re-run program.also how can terminate a program with kill command.
0
Comment
Question by:xinex
5 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 9598413
re-run it with fg (foreground)
to kill it, the first number returned by ps is the PID, type
kill <PID>
or if that failes
kill -9 <PID>
0
 

Author Comment

by:xinex
ID: 9598515
thats really good , how can i find more command option from net.(instead of using $man or $info )
0
 
LVL 20

Expert Comment

by:Gns
ID: 9598569
www.tldp.org - will give you Guides (free networked books:-), HOWTOs (Nice "I've done this, and it works for me" style documents... or even quite indepth elaborations on different topics) ... and lots more, including man-pages-turned-html:-).

-- Glenn
0
 
LVL 48

Accepted Solution

by:
Tintin earned 20 total points
ID: 9601926
When you suspend a process, you can kill it using:

kill %1

This is the same as using the PID, but it easier and less prone to typos.

If you have more than one job suspended or running in background, you just specify the number of the appropriate process from the 'jobs' output.
0
 

Expert Comment

by:ddawson46
ID: 9820635
The process is still running, it is just in the background. You can see background processes by using the "bg" command. To place the process back in the foreground, use the "fg" command.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now