To stop/kill any app via the terminal use
"Ctrl+C" while the terminal window is open.
If its been closed it should stop but if not run system monitor (
System->Administration->System Monitor or Alt+F2 then type "gnome-system-monitor" without the quotes) search for the process in the Processes tab and either Kill or End it, this is the linux version of windows Ctrl+Alt+Del
Theres also a cmd you can use from the terminal to end or kill processes that are already running but you need to know the exact process ID number and cant just kill it by app name "
kill -9 process id" to get the exact id you can run from the terminal "
ps aux" which will list every process currently running , and the user it belongs to. Its going to be a long list and the ID number will be next to the username. Or
Quote:
Originally Posted by Stream Recorder
Type the following in the Terminal:
Code:
ps axwww | grep KEYWORD
This will show a list of processes that have KEYWORD in them.
Example: Killing Replay Media Catcher from command line:
Code:
admin@admin-desktop:~$ ps axwww | grep Replay
15864 ? Sl 0:01 C:\Program Files\Replay Media Catcher\MediaCatcher.exe
15903 pts/1 S+ 0:00 grep --color=auto Replay
Look for the lowest number process id (the first column) that says something like "C:\Program Files\Replay Media Catcher\MediaCatcher.exe"
Then use this number to kill the process with (kill -9 PROCESS_NUMBER):
Code:
admin@admin-desktop:~$kill -9 15864
admin@admin-desktop:~$ ps axwww | grep Replay
15903 pts/1 S+ 0:00 grep --color=auto Replay
You can also use the pidof to find the process id and then use this process id with the kill command. For example, if you want to kill the tvtime process:
Code:
admin@admin-desktop::~/rtmpdump$ pidof tvtime
10673
admin@admin-desktop::~/rtmpdump$ kill -9 10673
|