learninghuman learninghuman - 10 months ago 32
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.


Check this

ps aux | grep "aa.sh"