learninghuman learninghuman - 6 months ago 12
Bash Question

Linux command to check if a shell script is running or not

What is the linux command to find if a process say aa.sh is running or not.
ps command does not seem to work and it does not show the shell script names.

Please advise.

Answer

Check this

ps aux | grep "aa.sh"
Comments