Find file
Erik Christiansen
dvalin at internode.on.net
Sun Aug 31 07:46:43 UTC 2008
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
More information about the ubuntu-users
mailing list