File remove command?

Wm E Davidsen Jr davidsen at crdos1.crd.ge.COM
Sat Jun 15 02:49:11 AEST 1991


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.

Example:
  $ mkdir foo
  $ cd foo
  $ date >x1
  $ ln x1 x2
  $ remove x1	# this is the one
  $ ls
  $
-- 
bill davidsen	(davidsen at crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
        "Most of the VAX instructions are in microcode,
         but halt and no-op are in hardware for efficiency"



More information about the Comp.unix.shell mailing list