Skip to content

Instantly share code, notes, and snippets.

@rantoniuk
Created February 13, 2017 13:20
Show Gist options
  • Save rantoniuk/36d5e16cc16d07d52fa1065c187b753a to your computer and use it in GitHub Desktop.
Save rantoniuk/36d5e16cc16d07d52fa1065c187b753a to your computer and use it in GitHub Desktop.
Useful Linux Commands

apt-get user-friendly package list

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"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment