files recovery after rm?
Jonathan I. Kamens
jik at athena.mit.edu
Fri Nov 10 13:46:54 AEST 1989
In article <20551 at unix.cis.pitt.edu> yahoo at unix.cis.pitt.edu (Kenneth L Moore)
writes:
>Nope. You just aren't allowed to rm. So then you unalias rm and
>really remove the file. Then source .tshrc and start over. Or use
>"rm" to defeat the aliasing.
Either "\rm filename" or "/bin/rm filename" will delete a file using
the real rm, even when rm is aliased to something. Unalias'ing rm,
then removing the file using "rm filename", then sourcing .tshrc (I
thought it was .tcshrc?) all over again is killing a fly with a
sledge-hammer.
Jonathan Kamens USnail:
MIT Project Athena 11 Ashford Terrace
jik at Athena.MIT.EDU Allston, MA 02134
Office: 617-253-8495 Home: 617-782-0710
More information about the Comp.unix.questions
mailing list