2 ms·
Not mentioned anywhere, but this is not for "Linux" but for "dpkg" (so deb-based distros: Debian, Ubuntu, etc). If all you want is list commands this one-liner
by remram 6y ago
Not mentioned anywhere, but this is not for "Linux" but for "dpkg" (so deb-based distros: Debian, Ubuntu, etc).
If all you want is list commands this one-liner works:
dpkg-query -L systemd | sed -n '/\/bin\//s/^.*\/\(.*\)/\1/p'