how to check last update in ubuntu code example Example: how to check when was the last UBUNTU server patched stat -c %y /var/lib/apt/periodic/update-success-stamp