How do I remove a stubborn file?
Braham Levy
pha21 at seq1.keele.ac.uk
Thu Apr 25 23:07:55 AEST 1991
In article <1991Apr24.141633.26512 at ucunx1.san.uc.edu>, brenner at ucunx1.san.uc.edu (David L. Brenner) writes:
> I need to know how to remove a file from my account. Some background,
> I had dialed in from home, and while saving a file, some linenoise came
anyone tried this recently ??
ls -li ..... get inode number for file in question
find . -inum <inode number> -exec -rm {} \;
this has worked for me for years... don't forget the "\;" they're needed.
this saves having to junk a complete directory.
braham
j braham levy | UDSP Lab, EE
JANET: brahamlevy at uk.ac.keele | Physics Department,
USENET: brahamlevy at keele.ac.uk | University of Keele , Keele,
UUCP: ...ukc!keele.ac.uk!brahamlevy | Staffordshire, ST5 5BG, UK.
| +44-782-621111 ext 3943
More information about the Comp.unix.questions
mailing list