[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Finding Files



Andrew <ajb@xxxxxxxxxxx> wrote:
> when I setup an domain it shows a default user page - I have found out
> where this is but it gives a ref to file:///.cobalt/help/ftpSite.html and i
> have looked all over and cannot find where this is as I like to change a
> few things - Also I have not found the defaut location of all the images
> file:///cobalt-images/p_nav_dots.gif for example

You can use the "find" command and traverse the entire drive or use the handy
"locate" command which searches a list of files stored in a file and updated once per
day (on my RaQ2s the file is "/var/lib/locatedb").  "man find" and "man locate" will
give you documentation.  And if you don't want to wait til tomorrow for the files
"locate" access to update go to the commandline and enter "updatedb &".  updatedb
updates the locatedb file and the "&" tells the command to run in the background so
you can go about your business.

FYI,

[root@ns perldbi]# locate ftpSite
/usr/admserv/html/.cobalt/help/ftpSite.html

Steven Werby {steven-lists@xxxxxxxxxxxx}