Forrest logo
back to context overview

pidof

List of commands for pidof:

  • pidof:tldr:6180e pidof: List all process IDs with given name.
    $ pidof ${bash}
    try on your machine
    explain this command
  • pidof:tldr:87045 pidof: Kill all processes with given name.
    $ kill $(pidof ${name})
    try on your machine
    explain this command
  • pidof:tldr:8a6ac pidof: List a single process ID with given name.
    $ pidof -s ${bash}
    try on your machine
    explain this command
  • pidof:tldr:b999e pidof: List process IDs including scripts with given name.
    $ pidof -x ${script-py}
    try on your machine
    explain this command
back to context overview