public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] locate
@ 2007-05-11 12:34 Martin S
  2007-05-11 12:48 ` Neil Bothwick
  2007-05-11 13:18 ` Etaoin Shrdlu
  0 siblings, 2 replies; 12+ messages in thread
From: Martin S @ 2007-05-11 12:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

Just recently tried using

locate foo.conf | cd

to automagically move to the directory in which I've saved foo.conf
Of course it didn't work as you can't cd to /bar/foo.conf

I didn't find a way to dropping the actual file name from the result of
locate.
I did a brief google on locate, but didn't find a switch to drop the actual
file name from the result.

Can it be done, or if not what should I use to get the desired result?


Regards,

Martin S

[-- Attachment #2: Type: text/html, Size: 531 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-05-12 19:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11 12:34 [gentoo-user] locate Martin S
2007-05-11 12:48 ` Neil Bothwick
2007-05-11 13:29   ` Martin S
2007-05-11 13:43     ` Neil Bothwick
2007-05-11 13:53       ` Martin S
2007-05-11 14:09         ` Neil Bothwick
2007-05-12 16:05           ` Bo Ørsted Andresen
2007-05-12 17:04             ` [gentoo-user] locate Alexander Skwar
2007-05-12 19:38             ` [gentoo-user] locate Neil Bothwick
2007-05-11 14:36         ` Alex Schuster
2007-05-11 16:35     ` Uwe Thiem
2007-05-11 13:18 ` Etaoin Shrdlu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox