> another problem. :-)
> If I have started a program(by clicking the icon or
> something like that), is there anyway to stop it if it
> couldn't pause itself or runs into an infinite loop?
> Thanks a lot.

Ctrl+C if it runs in the foreground of a VT shell (doesn't always work)..
but the better answer is to look up it's PID (process identification)
using 'ps aux'. Then just do 'kill -9 the_pid_you_want_to_kill' like 'kill
-9 876' if PID 876 were the PID you want to kill. The -9 is the kill
signal. You can also use killall instead of kill and use the process's
program filename instead of the PID. Be careful as killall will attempt to
kill all things matching the program name you specify.

Also, when killing processes you need to have the correct permissions (ie.
a user cannot kill superuser/system processes).

man ps
man kill

-Statux




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to