Imutable bit

peak na kerberos.troja.mff.cuni.cz peak na kerberos.troja.mff.cuni.cz
Pátek Srpen 1 11:52:36 CEST 1997


On Fri, 1 Aug 1997, Matus Uhlar wrote:

> -> Ano, ale mnohem lepsi je alias rm='rm -i' porad v bourne again shellu :-)
> 
> fuj ze sa nehanbite, takyto alias ma niekedy privadza do zufalstva...
> najradsej by som niekedy prekompiloval 'rm' bez parametra -i ?
parametr -f ho prebije
nebo staci dat unalias rm :)

mimochodem, videli jste tuhle pasaz v rm(1)?

       -d, --directory
              Remove  directories  with   `unlink'   instead   of
              `rmdir',  and don't require a directory to be empty
              before trying to unlink it.   Only  works  for  the
              super-user.   Because  unlinking a directory causes
              any files in the deleted directory to become unref-
              erenced,  it  is  wise to fsck the filesystem after
              doing this.

--Pavel Kankovsky aka Peak (troja.mff.cuni.cz network administration)



Další informace o konferenci Linux