how to find whether a script run as a nohup finished or not?
- by learner135
I tried running a script using nohup like,
nohup script.sh &
When I tried
ps -ef | grep "script.sh"
I couldn't find it there except for the grep which is being run with that string as a parameter.
Am I doing it right?. Does this mean that the process has indeed finished execution?
Thanks.