Here is how to find out if my Ubuntu/Debian Linux server or desktop needs a reboot. If the file /var/run/reboot-required exists, you need reboot:
```
cat /var/run/reboot-required
cat /var/run/reboot-required.pkgs
```
See https://www.cyberciti.biz/faq/how-to-find-out-if-my-ubuntudebian-linux-server-needs-a-reboot/ for more info.
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Monday, 31-Jul-2023 18:50:54 JST nixCraft 🐧 -
darthvader1950 (darthvader1950@mastodon.social)'s status on Monday, 31-Jul-2023 20:11:15 JST darthvader1950 @nixCraft or make it a Saturday task to reboot the server via cron.
-
Nazo (nazokiyoubinbou@mastodon.social)'s status on Tuesday, 01-Aug-2023 09:24:59 JST Nazo @nixCraft FWIW there are some things that can just visibly show it. For example, I like to use the Byobu screen/tmux extensions in my consoles (I even go ahead and use it in GUI terminal applications -- I just set it as my login command and set them to exit when it closes -- which has advantages like sharing a session between terminals) and it shows a little red exclamation point to indicate when a reboot is required.
-