Re: Find file



On Fri, Aug 29, 2008 at 07:55:12AM -0700, buters wrote:
I'm trying to find a file in my system with "sudo find / -name file", but I
can not. This is location of a database. With my database client I can
access this database. How can I find, where it is located? I need it to db
restart.

Assuming that "can not" means that the find command successfully runs,
but doesn't show the location of the file, there are options, including:

sudo find / -name '*file*' # In case of an extension or other guff.

or

sudo updatedb
locate -i file

Try just the "locate" command. updatedb may have been run automatically
since the file was added.

Good luck,

Erik

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages