Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-23-2003, 01:32 PM   #1
Registered: Jul 2003
Posts: 123

Rep: Reputation: 15
How to Kill handed/crash applications

How can I stop or kill some application which is not responding.. without hurting other applications which are running... I mean like in windows Cntr+Alt+Del.. return all processes you select one and say end task..... like that...

Old 09-23-2003, 01:34 PM   #2
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
from a command line (like xterm or rxvt) type as follows:
'ps -A'

this will produce a long list of all the software running on your machine. on the left you will see a list of numbers labeled 'PID' or Process ID. you can then type

'kill <PID>' where <PID> is the process id of the app you want to stop. for more information on kill and ps read the man pages ... ie 'man kill' and 'man ps'.

hope that helps,
Old 09-23-2003, 04:30 PM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Or even, click the start button, run command and type xkill. Then click on the program you want to kill.
Old 09-24-2003, 01:17 PM   #4
Registered: Jul 2003
Posts: 123

Original Poster
Rep: Reputation: 15
ps -A shows lots of file manes.... Most of them is strange to me(as a windows user). How to become familiar with some basic Linux applications names... functions... etc....
By the way, how can I know if file is executable one or not?(like com, exe, bat of Windows)
Old 09-24-2003, 01:30 PM   #5
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
most of the process running you can quickly lookup on the web or you can bring up the system documentation for them ...
for example on mine I have a couple process running

349 xinit
227 agetty
542 sshd


to bring up more information about an app running you can usually type 'man <app-name>'. for example 'man sshd' will bring up information about the SSH server that is running.

as for executable that is determined by file permissions... not by file extension. if you execute 'ls -l' to get a detailed directory listing on the left of the files you will see a string of characters similiar to this:

rwxr-xr-x root users ... etc
This means that root is the owner of the file, users is the group of the file. As such the first three letters (rwx) mean that the owner has read, write, and execute permissions. The second group (r-x) means that members of the file's group have read and execute permissions and the third group (r-x) means that everyone has read and execute permissions. the 'x' or executable permission is what makes a file executable.

in a nutshell



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple applications crash with Signal 11 in SIGSEGV k41184 Linux - Software 14 04-18-2006 02:19 AM
cannot kill X without system crash amobius Linux - Software 1 10-04-2005 07:25 PM
kde applications crash j-ray Linux - Software 2 05-14-2004 10:37 AM
switching mouse from right handed to left handed niverson Linux - Hardware 5 03-18-2004 10:32 PM
XMMS crash, 100% cpu, even root cant kill it? gundelgauk Linux - Software 12 11-01-2003 04:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration