Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!ukc!keele!pha21 From: pha21@seq1.keele.ac.uk (Braham Levy) Newsgroups: comp.unix.questions Subject: Re: How do I remove a stubborn file? Summary: why not use find ?? Message-ID: <1111@keele.keele.ac.uk> Date: 25 Apr 91 13:07:55 GMT References: <1991Apr24.141633.26512@ucunx1.san.uc.edu> Organization: University of Keele, England Lines: 20 In article <1991Apr24.141633.26512@ucunx1.san.uc.edu>, brenner@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 -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@uk.ac.keele | Physics Department, USENET: brahamlevy@keele.ac.uk | University of Keele , Keele, UUCP: ...ukc!keele.ac.uk!brahamlevy | Staffordshire, ST5 5BG, UK. | +44-782-621111 ext 3943