trashbag

i want to make a script in which i have to create a trash bag where i can remove files , but the condition is when i put option -a then it will prompt to the user that you are about to delete a file name hello press yes to do it and no to cancel

Could you please rephrase your "question" so that we might understand you. Punctuation and complete sentences go a long way to that.

Second, from what I could read into it, it smells of homework.