freebsd, как сделать, чтобы команда whereis проиндексировала ports
Хотя если тебе надо просто быстро искать порты, то наверняка есть решение лучше и проще.
![](/images/graemlins/laugh.gif)
чтобы искомый файл был обычным. Так что _этого_ ты не добьёшься.
Используй "find /usr/pkgsrc -mindepth 2 -maepth 2 -type d".
---
...Я работаю антинаучным аферистом...
---
...Я работаю антинаучным аферистом...
morannon:~:|>whereis gimp
gimp: /usr/X11R6/bin/gimp /usr/X11R6/man/man1/gimp.1.gz /usr/ports/graphics/gimp
The default path searched is the string returned by the sysctl(8) utility
for the ``user.cs_path'' string, with /usr/libexec, /usr/games and the
current user's $PATH appended. Manual pages are searched by default
along the $MANPATH. Program sources are located in a list of known stan-
dard places, including all the subdirectories of /usr/src and /usr/ports.
Оставить комментарий
Irina22
subj