reboot and permissions in Ubuntu 16.04


up vote
0
down vote
favorite
in Ubuntu 16.04
UNIX_lab@MyComputer:~$ `sudo reboot -f`
Rebooting.
Failed to reboot: Invalid argument
I don't know this solution.
Please help me.
reboot
add a comment |Â
up vote
0
down vote
favorite
in Ubuntu 16.04
UNIX_lab@MyComputer:~$ `sudo reboot -f`
Rebooting.
Failed to reboot: Invalid argument
I don't know this solution.
Please help me.
reboot
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
in Ubuntu 16.04
UNIX_lab@MyComputer:~$ `sudo reboot -f`
Rebooting.
Failed to reboot: Invalid argument
I don't know this solution.
Please help me.
reboot
in Ubuntu 16.04
UNIX_lab@MyComputer:~$ `sudo reboot -f`
Rebooting.
Failed to reboot: Invalid argument
I don't know this solution.
Please help me.
reboot
edited Apr 28 at 9:24


guiverc
3,44911222
3,44911222
asked Apr 28 at 9:16
Taro
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
UNIX_lab@MyComputer:~$ sudo reboot -f
Should work, i.e. w/o `` (this indicates command substitution and is only needed in scripts)
Use command substitution e.g. like this (in a script)
mkdir /home/`whoami`
Thanks for your comment. I'm sorry, I really wrote UNIX_lab@MyComputer:~$ sudo reboot -f But it couldn't work.
â Taro
Apr 29 at 4:52
ok... what aboutsudo halt
or ` sudo shutdown` etc?
â Baedsch
Apr 29 at 13:10
NO, It can`t work. The message is ... Failed to connect to bus: No such file or directory Failed to talk to init daemon.
â Taro
Apr 30 at 7:08
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
UNIX_lab@MyComputer:~$ sudo reboot -f
Should work, i.e. w/o `` (this indicates command substitution and is only needed in scripts)
Use command substitution e.g. like this (in a script)
mkdir /home/`whoami`
Thanks for your comment. I'm sorry, I really wrote UNIX_lab@MyComputer:~$ sudo reboot -f But it couldn't work.
â Taro
Apr 29 at 4:52
ok... what aboutsudo halt
or ` sudo shutdown` etc?
â Baedsch
Apr 29 at 13:10
NO, It can`t work. The message is ... Failed to connect to bus: No such file or directory Failed to talk to init daemon.
â Taro
Apr 30 at 7:08
add a comment |Â
up vote
1
down vote
UNIX_lab@MyComputer:~$ sudo reboot -f
Should work, i.e. w/o `` (this indicates command substitution and is only needed in scripts)
Use command substitution e.g. like this (in a script)
mkdir /home/`whoami`
Thanks for your comment. I'm sorry, I really wrote UNIX_lab@MyComputer:~$ sudo reboot -f But it couldn't work.
â Taro
Apr 29 at 4:52
ok... what aboutsudo halt
or ` sudo shutdown` etc?
â Baedsch
Apr 29 at 13:10
NO, It can`t work. The message is ... Failed to connect to bus: No such file or directory Failed to talk to init daemon.
â Taro
Apr 30 at 7:08
add a comment |Â
up vote
1
down vote
up vote
1
down vote
UNIX_lab@MyComputer:~$ sudo reboot -f
Should work, i.e. w/o `` (this indicates command substitution and is only needed in scripts)
Use command substitution e.g. like this (in a script)
mkdir /home/`whoami`
UNIX_lab@MyComputer:~$ sudo reboot -f
Should work, i.e. w/o `` (this indicates command substitution and is only needed in scripts)
Use command substitution e.g. like this (in a script)
mkdir /home/`whoami`
answered Apr 28 at 9:52
Baedsch
113
113
Thanks for your comment. I'm sorry, I really wrote UNIX_lab@MyComputer:~$ sudo reboot -f But it couldn't work.
â Taro
Apr 29 at 4:52
ok... what aboutsudo halt
or ` sudo shutdown` etc?
â Baedsch
Apr 29 at 13:10
NO, It can`t work. The message is ... Failed to connect to bus: No such file or directory Failed to talk to init daemon.
â Taro
Apr 30 at 7:08
add a comment |Â
Thanks for your comment. I'm sorry, I really wrote UNIX_lab@MyComputer:~$ sudo reboot -f But it couldn't work.
â Taro
Apr 29 at 4:52
ok... what aboutsudo halt
or ` sudo shutdown` etc?
â Baedsch
Apr 29 at 13:10
NO, It can`t work. The message is ... Failed to connect to bus: No such file or directory Failed to talk to init daemon.
â Taro
Apr 30 at 7:08
Thanks for your comment. I'm sorry, I really wrote UNIX_lab@MyComputer:~$ sudo reboot -f But it couldn't work.
â Taro
Apr 29 at 4:52
Thanks for your comment. I'm sorry, I really wrote UNIX_lab@MyComputer:~$ sudo reboot -f But it couldn't work.
â Taro
Apr 29 at 4:52
ok... what about
sudo halt
or ` sudo shutdown` etc?â Baedsch
Apr 29 at 13:10
ok... what about
sudo halt
or ` sudo shutdown` etc?â Baedsch
Apr 29 at 13:10
NO, It can`t work. The message is ... Failed to connect to bus: No such file or directory Failed to talk to init daemon.
â Taro
Apr 30 at 7:08
NO, It can`t work. The message is ... Failed to connect to bus: No such file or directory Failed to talk to init daemon.
â Taro
Apr 30 at 7:08
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029136%2freboot-and-permissions-in-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password