****************************************
* LUG meet on 12 Jan. 2003 @ VJTI
****************************************

Dear friends
May be you all noticed this thing
'rm' command is taking the file name as commandline options
see the listing of test directory having a file name called 
'-rvf'

[edp@edp0 test]$ ls -al
total 24
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 *
removing `bios.txt'
removing all entries of directory `test'
removing the directory itself: `test'
[edp@edp0 test]$

its removed the directory itself by taking the option '-rvf'. 
except file '-rvf'.

regards
Benoy


-- 
_______________________________________________

http://mm.ilug-bom.org.in/mailman/listinfo/linuxers



Reply via email to