Search Results

Search: Posts Made By: Don Cragun
Forum: Ubuntu 03-24-2019
6,284
Posted By Don Cragun
Please note that I have never seen any shell...
Please note that I have never seen any shell complain about a problem on line 26 in a shell script that only contains 16 lines???

The syntax for an if command is:
if condition
then command......
Forum: Ubuntu 03-24-2019
6,284
Posted By Don Cragun
The code in your script: echo "Now...
The code in your script:
echo "Now exiting."
sleep 2
break
implies that you believe that writing the string Now exiting. to standard output from your script causes the...
Forum: Ubuntu 03-23-2019
6,284
Posted By Don Cragun
So, I repeat: "Given that your script exits after...
So, I repeat: "Given that your script exits after running systemctl suspend, why would you expect it to continue running?"
Forum: Ubuntu 03-23-2019
6,284
Posted By Don Cragun
Given that your script exits after running...
Given that your script exits after running systemctl suspend, why would you expect it to continue running?

Furthermore, if your script doesn't exit, will systemctl suspend succeed or will it block...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy