Interesting :)
drwxrwxr-x 3 edp edp 4096 Jan 7 15:19 . drwx------ 7 edp edp 4096 Jan 7 15:18 .. -rw-rw-r-- 1 edp edp 1963 Jan 7 13:03 bios.txt -rw-rw-r-- 1 edp edp 4268 Nov 15 2001 -rvf drwxrwxr-x 2 edp edp 4096 Jan 7 15:19 test [edp@edp0 test]$ rm *
rm * will be expanded by shell to "rm bios.txt -rvf test" after removing bios.txt the command will become "rm -rvf test" , which is valid for directory removal.
always use -- while issuing rm command
Richard