Extract list of installed packages

dpkg-query -l | awk '{print $2 $3}'

Notice the combinatin of dpkg-query and awk!

Comments

Comments powered by Disqus