Bash check if a program is running or not

You can find process id for a running program with command

Example

We can use pidof command in bash script to find if a program is running or not

See bash

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.