I have run sleep
command in background as follow , How can I know the status of execution ..?
Command
sleep 2d ; find /home/disk1/ -exec touch {} \; &
How can I know that its executed for 1 day of sleep
or is executing find
command right now.
Best Answer
Everything what you need just check
/tmp/sleep.flag
file existance