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