When i execute rm -f $1 via a script file named rmf, it is not deleting all the files, say starting with "sec". i have execute rmf for many times to remove all the occurrences...
$rmf sec* - this should delete all files starting with sec, but not.
The rm -f sec* is working fine. kindly help me to crate a script file for this command.
is replaced by all the files in the directory you are standing.
so your scripts gets $1 as the first file, and $2 as the second and and and
maybe you could use getops for that