how about 'strace vlc' ?? ;)
just for variety
On Sun, Jul 7, 2019 at 7:43 PM Todd Zullinger <tmz@xxxxxxxxx> wrote:
Joe Zeff wrote:
> On 07/07/2019 07:19 PM, Robert Moskowitz wrote:
>> How can I find its process number to try and kill it or any better way
>> to get its attention?
>
> ps aux | grep vlc | grerp -v grep
>
> will do what you want. I have this as a one-liner shell script because it
> comes in handy more often than you'd expect.
>From the "there's more than one way to do it" file...
You can use pgrep to do this too. I typically use it with
the -l option to output both the PID and the process name.
Before I knew about pgrep (or before it was around -- since
I'm getting old), I'd have skipped the grep -v grep by using
brackets around a single character in the first grep
pattern, e.g.:
ps aux | grep vl[c]
Not that any of this is helpful for the issue at hand. ;)
--
Todd
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx