reboot
[cc lang=”bash” escaped=”true” width=”600″]
reboot; # simply reboots the system 😉
init 6; # does the same
telinit 6; #
shutdown -r now; # “standard” way
shutdown -r +1 “the system is going to reboot in one minute”; # “standard” timed way of reboot
systemctl reboot
systemctl isolate reboot.target
shutdown -rF +1 “rebooting in one minute to check filesytem”; # is supposed to check your filesystem on reboot – nothing in the manual about that
shutdown -rf +1 “rebooting WITHOUT filesytem check”;
[/cc]
shutdown
[cc lang=”bash” escaped=”true” width=”600″]
init 0; # shortest way, is also completely valid way to powerdown your system – does not force-kill any processes AFAIK
telinit 0;
shutdown -h now; # “standard” way
shutdown -h +1 “the system is going to shutdown in one minute”; # “standard” timed way of shutdown
systemctl isolate runlevel0.target
systemctl isolate poweroff.target
[/cc]
telinit is /sbin/telinit
“telinit may be used to change the SysV system runlevel. Since the concept of SysV runlevels is obsolete the runlevel requests will be transparently translated into systemd unit activation requests.”
init is /sbin/init
“systemd, init – systemd system and service manager”
reboot is /sbin/reboot
halt, poweroff, reboot – Halt, power-off or reboot the machine
shutdown is /sbin/shutdown
shutdown – Halt, power-off or reboot the machine
systemctl ist /usr/bin/systemctl
systemctl may be used to introspect and control the state of the “systemd” system and service manager. Please refer to systemd(1) for an introduction into the basic concepts and functionality this tool manages.
wall
wall “hello world”
is a nice way to send messages to other logged in users. (kind of group chat – don’t spam em :-D)
it seems like suse12 the wall message is only written to other user’s console – not your own-root console.
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!