find a file

subramani subramani95 at
Mon Aug 6 19:51:07 UTC 2007

On 8/6/07, norman <norman at> 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.

Use this to find the *.lck files and delete them.

find / -name "*.lck" -exec rm {} \;

--- R * Subramani
My Log File :

More information about the ubuntu-users mailing list