How to Delete file using Shell Script
488135May 22 2007 — edited May 23 2007Hi All,
I want to delete the file by passing as a parameter in the particular directory(/usr/bin) using shell script.
My requirement is suppose If I pass 'example.txt' as a parameter then it needs
to be searched in the above directory , if it exists then i need to delete that file(example.txt).
Can any one please suggest me?