learninghuman learninghuman - 4 months ago 7x
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"