I don't know is it a
bug?
[root@lismail jac]# ll
total 324080
drwxr-xr-x 2 root root 4096 5月 20 23:04 73/
-rw-r--r-- 1 root root 331505780 5月 20 15:52 Image.nrg
drwx------ 2 jac mail 4096 5月 21 08:05 mail/
drwxr--r-- 2 jac jac 4096 5月 19 21:43 public_html/
drwx------ 2 jac jac 4096 5月 17 22:24 tmp/
[root@lismail jac]# rm Image.nrg
rm: remove write-protected file `Image.nrg'? y
rm: cannot unlink `Image.nrg': Read-only file system
[root@lismail jac]# rm Image.nrg -rf
rm: cannot unlink `Image.nrg': Read-only file system
[root@lismail jac]# rm -v
rm: too few arguments
Try `rm --help' for more information.
[root@lismail jac]# rm --help
Usage: rm [OPTION]... FILE...
Remove (unlink) the FILE(s).
total 324080
drwxr-xr-x 2 root root 4096 5月 20 23:04 73/
-rw-r--r-- 1 root root 331505780 5月 20 15:52 Image.nrg
drwx------ 2 jac mail 4096 5月 21 08:05 mail/
drwxr--r-- 2 jac jac 4096 5月 19 21:43 public_html/
drwx------ 2 jac jac 4096 5月 17 22:24 tmp/
[root@lismail jac]# rm Image.nrg
rm: remove write-protected file `Image.nrg'? y
rm: cannot unlink `Image.nrg': Read-only file system
[root@lismail jac]# rm Image.nrg -rf
rm: cannot unlink `Image.nrg': Read-only file system
[root@lismail jac]# rm -v
rm: too few arguments
Try `rm --help' for more information.
[root@lismail jac]# 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
-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
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.
the contents of that file. If you want more assurance that the contents are
truly unrecoverable, consider using shred.
Report bugs to <[EMAIL PROTECTED]>.
[root@lismail jac]#
[root@lismail jac]#