Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. # This list may not be sorted, so if that is desired be sure to pipe the output through sort.
  4. dpkg -l | \
  5. grep '^ii' | \
  6. awk '{ print $2 }' | \
  7. xargs -P4 -I, /bin/sh -c '[ "$(apt-cache rdepends --installed , | wc -l)" = "2" ] && echo ,'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement