find a file

John L Fjellstad john-ubuntu at fjellstad.org
Tue Aug 7 04:01:16 UTC 2007


subramani <subramani95 at gmail.com> writes:

> Use this to find the *.lck files and delete them.
>
> find / -name "*.lck" -exec rm {} \;

I would add -i to the rm command.  Never know what find will find.

-- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes





More information about the ubuntu-users mailing list