I am wondering how, when on login to my terminal (Ubuntu 16) I see information like:
10 updates are available
6 updates are security updates
Where is this information retrieved from?
How can I get the same information from command line manually?
If this is a script that is run, where is it?