Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Rebooting

20190821 After an upgrade there may be times when a reboot is required (such as when the kernel is upgraded). We can check if a reboot is required by checking for the file /var/run/reboot-required. If it exists then the computer requires a reboot and the contents of the file may explain why. A useful command to include in an initialisation file (e.g., .bashrc) is:

$ if [ -e /var/run/reboot-required ]; then 
    cat /var/run/reboot-required
  else
    echo "Reboot not required."
  fi

To reboot a computer usually requires admin privileges:

  $ sudo reboot


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.