Created
September 26, 2018 17:36
-
-
Save sagax/8d64cfc6715517e13ce15c3f96706f8c to your computer and use it in GitHub Desktop.
get ldd list in short format
This file contains 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
ldd "$1" | awk '/=>/{sub(/\.so\.[0-9]{0,}$/, "", $1); print $1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment