> On Mon, 2007-08-06 at 13:39 +0200, Nils Kassube wrote:
> > norman wrote:
> > > Although I have used Ubuntu for quite some time I have never been
> > > sure how to go about finding named files. I am not a Linux person
> > > although, I can use a terminal if needed. For example I needed to
> > > find any files with .lck as the extension and remove them otherwise
> > > I would be unable to burn DVDs using Mthtv. So, I went to Places ->
> > > Search for files, entered *.lck and the report was no files found.
> > > Yet there had to be at least one file which was causing me the
> > > problem. Eventually, after much research I found two files in a
> > > folder on my desktop.
> > >
> > > Surely, Search for places should have found these or am I not using
> > > the utility correctly?
> > In a terminal use the command:
> > find -name "*.lck"
> > This will display any files with extension .lck in the current
> > directory or any subdirectories.
> Thank you. I assume then, that if I am in my home directory, the search
> would include the desktop as a sub-directory.
> However, if the file I
> want is any other directory such as var or usr then I would need to
> search each of these separately. Is that correct?
You can use this to search in /var and /usr:
find /var /usr -name "*.lck"
ubuntu-users mailing list
Modify settings or unsubscribe at: