Ubuntu one remote uses
sudo -S -p '' halt for shutdown and does not work to the end.
leaveing monitor on with message
will now halt
What is the difference between
sudo -S -p " halt and
sudo shutdown now?
The important difference is in the two commands being issued by
From the manual (
And, in your case,
Do not confuse this -p with the one from
In your case,
There is a good answer at the Unix SE site about the
As for the
For example running
In fact, the message that you put in the quotes, is replacing the previous message.
Go ahead and try the following, and see the difference:
There are no difference between halt command and shutdown in terms of the user intention. The thin difference is that in halt you have to conveniently push the power button to shutdown the system whereas in shutdown command it will automatically instruct the Advanced Configuration Power Interface (ACPI) to sent a signal to the power unit to turn off the system.