From: | Martin S <shieldfire@×××××.com> |
---|---|
To: | gentoo-user <gentoo-user@l.g.o> |
Subject: | [gentoo-user] locate |
Date: | Fri, 11 May 2007 12:40:39 |
Message-Id: | 7ad4c500705110534i2b153fe1y38f8640ff10c4fec@mail.gmail.com |
1 | Just recently tried using |
2 | |
3 | locate foo.conf | cd |
4 | |
5 | to automagically move to the directory in which I've saved foo.conf |
6 | Of course it didn't work as you can't cd to /bar/foo.conf |
7 | |
8 | I didn't find a way to dropping the actual file name from the result of |
9 | locate. |
10 | I did a brief google on locate, but didn't find a switch to drop the actual |
11 | file name from the result. |
12 | |
13 | Can it be done, or if not what should I use to get the desired result? |
14 | |
15 | |
16 | Regards, |
17 | |
18 | Martin S |
Subject | Author |
---|---|
Re: [gentoo-user] locate | Etaoin Shrdlu <shrdlu@×××××××××××××.org> |
Re: [gentoo-user] locate | Neil Bothwick <neil@××××××××××.uk> |