Last active
August 29, 2015 14:02
-
-
Save smj10j/8b302eec5298519b10e5 to your computer and use it in GitHub Desktop.
List all packages installed with apt-get that have anything to do with "ssh"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| dpkg-query --search ssh* | awk '{print $1}' | tr -d ':,' | sort -u | xargs -n 1 apt-cache search | sort -u | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment