how to see security updates on apt code example Example: apt list only security updates sudo apt list --upgradable |grep "/$(lsb_release -cs)-security"