Solved

wake-up process,kill command

Posted on 2003-10-22
5
951 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…

832 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