Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Test if script was ran w/ nohup

$
0
0
I want to test if script.sh is being run with nohup ... but $0 does not contain nohup part...

purpose: script.sh should only be ran with nohup if user forgets nohup then it should echo "run with nohup" && exit.......

Viewing all articles
Browse latest Browse all 16232

Trending Articles