learninghuman learninghuman - 1 year ago 79
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 Source

Check this

ps aux | grep "aa.sh"