Am Montag, 4. Februar 2002 14:57 schrieb Ulli Kuhnle:
* Helga Fischer
[020204 14:18]: Wo denn? Wenn das bei SuSE/RH/... so vorkonfiguriert ist, dann gehoert dem dafuer Verantwortlichen eine gehoerige Standpauke verabreicht, z.B. indem man das alias entfernt, und den kerl dann mal ein 'rm -rf /' eingeben laesst...
Stimmt. Deswegen wird dieses alias bei mir auch schnellstens entsorgt.
Ich arbeite jetzt schon relativ lange mit SuSE. Und da war noch nie ein alias von rm auf rm -i. Gab's das wirklich bei dir?
Hallo Ulli
Stimmt tatsächlich (7.3) Ein rm --help gibt bei mir folgendes aus:
thorsten@daisy:~> rm --help
Usage: rm [OPTION]... FILE...
Remove (unlink) the FILE(s).
-d, --directory unlink directory, even if non-empty
(super-user only)
-f, --force ignore nonexistent files, never prompt
-i, --interactive prompt before any removal
-r, -R, --recursive remove the contents of directories
recursively
-v, --verbose explain what is being done
--help display this help and exit
--version output version information and exit
To remove a file whose name starts with a `-', for example `-foo',
use one of these commands:
rm -- -foo
rm ./-foo
Note that if you use rm to remove a file, it is usually possible to
recover
the contents of that file. If you want more assurance that the
contents are
truly unrecoverable, consider using shred.
Report bugs to