Solved

wake-up process,kill command

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…

867 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

22 Experts available now in Live!

Get 1:1 Help Now