apt-get --just-print upgrade 2>&1 | perl -ne 'if (/Inst\s([\w,\-,\d,\.,~,:,\+]+)\s\[([\w,\-,\d,\.,~,:,\+]+)\]\s\(([\w,\-,\d,\.,~,:,\+]+)\)? /i) {print "PROGRAM: $1 INSTALLED: $2 AVAILABLE: $3\n"}'
Created
February 13, 2017 13:20
-
-
Save rantoniuk/36d5e16cc16d07d52fa1065c187b753a to your computer and use it in GitHub Desktop.
Useful Linux Commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment