When you login, you are shown "X packages can be updated, Y are security updates," Is there a terminal command that will give this message on demand?
Asked
Active
Viewed 67 times
1
apt list --upgradeable
– Kulfy May 30 '19 at 13:31/etc/motd
and/etc/update-motd.d
, so you could check there to see what command prints that message. Related: How to change welcome message (motd) on Ubuntu 18.04 server - LinuxConfig.org – wjandrea May 30 '19 at 13:51/etc/motd
isn't used anymore, but/etc/update-motd.d
should still exist. You're aware it's a directory, right? Seeman update-motd
. Maybe it's in/etc/pam.d/login
instead? Seeman motd
. – wjandrea May 30 '19 at 16:58