1 |
On Sunday 11 October 2009 19:30:30 Albert Hopkins wrote: |
2 |
> On Sun, 2009-10-11 at 09:25 -0700, James Ausmus wrote: |
3 |
> > When you forget which package a command (or any random file) belongs |
4 |
> > to, a |
5 |
> > great way to figure it out would be: |
6 |
> > |
7 |
> > equery belongs $(which q) |
8 |
> |
9 |
> Or use 'q' to find itself: |
10 |
> |
11 |
> $ q file `which q` |
12 |
> app-portage/portage-utils (/usr/bin/q) |
13 |
> |
14 |
|
15 |
To amuse and delight your kids, have which find itself: |
16 |
|
17 |
# which which |
18 |
/usr/bin/which |
19 |
|
20 |
-- |
21 |
alan dot mckinnon at gmail dot com |