Announcement

Collapse
No announcement yet.

is it wrong if I use "reboot" in konsole?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    is it wrong if I use "reboot" in konsole?

    a/ is it wrong if I use "reboot" in konsole?

    b/ if wrong, why, as it is possible

    c/ what would be the equivalent command to turn out the pc?

    #2
    Rebooting or powering off the PC from a konsole is perfectly okay. The 'proper' commands to do both are:

    To reboot your PC:
    sudo shutdown -r now

    To power off your PC:
    sudo shutdown now
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Both reboot and shutdown are just symlinks to systemctl nowadays on a distro with systemd:

      Code:
      sam@T440s:~$ which reboot
      /sbin/reboot
      sam@T440s:~$ ls -al /sbin/reboot
      lrwxrwxrwx 1 root root 14 Jul 12 17:28 /sbin/reboot -> /bin/systemctl
      
      sam@T440s:~$ which shutdown
      /sbin/shutdown
      sam@T440s:~$ ls -al /sbin/shutdown
      lrwxrwxrwx 1 root root 14 Jul 12 17:28 /sbin/shutdown -> /bin/systemctl
      Had to look it up, apparently the name of the binary that was called is used as an argument to systemctl:

      http://unix.stackexchange.com/questi...s-to-systemctl
      samhobbs.co.uk

      Comment

      Working...
      X