How to find out which ports contains a specified command.

Alberto Villa villa.alberto at gmail.com
Sun Apr 5 17:14:25 PDT 2009


On Sun, Apr 5, 2009 at 10:06 PM, N.J. Mann <njm at njm.me.uk> wrote:
> adduser: /usr/sbin/adduser /usr/share/man/en.ISO8859-15/man8/adduser.8 /usr/src/usr.sbin/adduser
>
> So, it is part of the base system.  This can be confirmed by searching
> the on-line manual, i.e.

anyway, if you're looking for other programs, i can't remember if
there is any special way... i think i'd try something like:
cd /usr/ports && grep -i "bin/$yourcommand" -f */*/pkg-plist
-- 
Alberto Villa <villa.alberto at gmail.com>


More information about the freebsd-current mailing list