Forum › Forums › New users › New Users and General Questions › Suspend – Command Line – help? › Reply To: Suspend – Command Line – help?
Brian-
Thank you – Knew that about “hibernate” but not “suspend” – no problem with snapshots so far – will take note of this if it runs into trouble.
________
BobC-
Thanks for the update. “Startup” additions – possibly resolve the issue with suspend commands in terminal only working once? Jim’s post throws light on that for one thing… Will have to experiment with what to put in there to start suspend automatically. It is all that would really be needed to replace Xfce4 Power Manager, which still works very nicely, yet the lowest it can be set is 16 minutes and in some cases, being able to set it for less would be helpful.
http://askubuntu.com/questions/141928/what-is-difference-between-bin-sh-and-bin-bash
“bash and sh are two different shells. Basically bash is sh, with more features and better syntax. Most commands work the same, but they are different.
Having said that, you should realize /bin/sh on most systems will be a symbolic link and will not invoke sh. In Ubuntu /bin/sh used to link to bash, typical behavior on Linux distributions, but now has changed to linking to another shell called dash. I would use bash, as that is pretty much the standard (or at least most common, from my experience). In fact, problems arise when a bash script will use #!/bin/sh because the script-maker assumes the link is to bash when it doesn’t have to be.
For more info, http://man.cx/sh, http://man.cx/bash.”
________
Jim-
Although I do not use a dock, the way this is set up is quite interesting and gives some insight as to what may have gone awry with previous editing attempts.
Thank you very much for posting it.