Tag Archives: reboot

A history of your Linux reboots

It’s easy to find out when were the last 30+ times you rebooted your Linux PC. Do a last reboot to get a list of exact dates: reboot   system boot  2.6.27-7-generic Tue Nov 25 09:12 – 11:17  (02:04) reboot   system boot  2.6.27-7-generic Mon Nov 24 15:54 – 01:06  (09:11) reboot   system boot  2.6.27-7-generic Mon Nov… Read More »

Ctrl+Alt+Delete your own way

Do you by any chance wish to modify the behavior of Ctrl+Alt+Delete? Change the following line in /etc/inittab: ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now Comment it out with # to disable Ctrl+Alt+Del altogether or replace the /sbin/shutdown -t1 -a -r now part with a command of your choice. This way you can first unmount NAS shares… Read More »

Force reboot in Linux

An even better and cleaner method than the reset button is to use Ctrl+Alt+Del. When even that doesn’t work and the system has frozen, there’s always hope. Hold down Alt+SysRq and press the following keys in order: R,E,I,S,U,B. Partitions will be unmounted cleanly, processes will be closed forcefully and the system should reboot soon afterwards.