top | item 43003243

(no title)

tolciho | 1 year ago

`ps ax | grep ffmpeg` sometimes will match grep itself, so either prevent the match from matching itself, or maybe instead use pgrep(1).

  $ ps ax | grep ffmpeg
  66898 pe  S+p      0:00.01 grep ffmpeg
  $ ps ax | grep '[f]fmpeg'
  $ pgrep ffmpeg
  $ 
As for PowerShell, it does not seem useful, but then again I live mostly on OpenBSD and in the terminal.

discuss

order

No comments yet.