File remove command?

Philip Peake philip at cetia.fr
Wed Jun 19 17:17:45 AEST 1991


In article <3431 at crdos1.crd.ge.COM> davidsen at crdos1.crd.ge.com (bill davidsen) writes:
>Has anyone written a remove command which will unlink all links to a
>file inode when the command is issued on any one name? Yes I know it's
>dangerous, but there are times when I want certain data unconditionally
>off my system.

Depending on what system you have, you may or may not have "clri"
(usually in /etc).

This thing just zeros an inode. You should only use it in single user mode,
and then fsck the filesystem afterwards.

Philip



More information about the Comp.unix.shell mailing list