my question is
create a shell script called DELSTAR which will accept input, and then check if the input is a directory file and is readable and writable. If so, then all the ordinary files under the diirectory should be listed out one by one.For each ordinary file that is writeable, the user should be ask if the file is to be deleted or not. If yes, theb the deletion should be done, else the next file processed.
At the end of the execution, the script should display the following message:
_________ordinary files deleted from the directory
_________ordinary files remaining in the directory