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
[22225.11163] halted
What is the difference between sudo -S -p " halt
and sudo shutdown now
?
remote controlshutdown
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
[22225.11163] halted
What is the difference between sudo -S -p " halt
and sudo shutdown now
?
Best Answer
The
-S
and-p
switches forsudo
have no importance in this case. Here is what they do, respectively.The important difference is in the two commands being issued by
sudo
.