Solved

wake-up process,kill command

Posted on 2003-10-22
5
976 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses

627 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