oneliners/bash/aptinfo.sh

5 lines
178 B
Bash
Raw Normal View History

2021-08-31 17:18:38 +02:00
#!/bin/bash
# shows `apt-cache show`information for a package that given binary belongs to (relative path)
apt-cache show $(apt-file search $(which $1) | cut -d ":" -f 1)
exit 0