Thread
:
shell script question
View Single Post
FatPhil
2013-08-17 , 14:42
Posts: 10 | Thanked: 81 times | Joined on Nov 2009 @ Espoo
#
2
In a rush, but here are some pointers
$ ps | grep '[v]lc'
That grep won't match the grep itself, so no need for the grep -v to remove it
However, the big gun for finding processes, and killing them, are these two:
$ pgrep vlc
$ pkill vlc
I know these commands are enabled on the old R&D images that I'm still running on my old devices, not sure if it's in the released shell.
Quote & Reply
|
FatPhil
View Public Profile
Send a private message to FatPhil
Visit FatPhil's homepage!
Find all posts by FatPhil