Skip to content

Instantly share code, notes, and snippets.

@pcolazurdo
Created June 23, 2020 13:18
Show Gist options
  • Save pcolazurdo/4a3b7b76826e934ed9e3d35e16ad2c3f to your computer and use it in GitHub Desktop.
Save pcolazurdo/4a3b7b76826e934ed9e3d35e16ad2c3f to your computer and use it in GitHub Desktop.
Check if restart is needed in Amazon Linux
needs-restarting -r ; echo $?
# Core libraries or services have been updated:
# openssl-libs -> 1:1.0.1e-60.el7_3.1
# systemd -> 219-30.el7_3.9
# Reboot is required to ensure that your system benefits from these updates.
# More information:
# https://access.redhat.com/solutions/27943
# 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment