EnderUNIX Team.

EnderUNIX tips

Mail to My Friend , Home Page

[ Shell Scripting ]

"RM STAR" - Ülkü SAYILAN - (2003-12-10 13:22:24)   [4277]


To prevent accidental removal
of files in a directory you
can create a file called "-i"
this is done from a bourne
shell by typing:

> -i

this will be the first file in
the directory so if you type:

rm *

The rm command assumes you have typed:

rm -i *

Mail to My Friend , Home Page