My objective is to check the value of a variable which I will set it in the command line after sleep time mentioned in the script.I have executed my script in the background then pressed Enter.I have set temporary variable like below export PAUSE="PAUSE".I am not getting the value of the variable after SLEEP time mentioned in the script.Please help me.I have to print the value of the var
There's a built in command in Max OSX Mountain Lion called caffeinate. (Man page here).
It basically creates an assertion so the computer doesn't go to sleep.
I leave my computer uploading and/or downloading small files from our work FTP server at night, problem is due to new behave rules of sleeping mode in Mountain Lion it goes to sleep 10 minutes after I turned the screen off.