- Forums
- Linux
- How To Remove Files With Confirmation Ask Linux Command
This Page Contains information about How To Remove Files With Confirmation Ask Linux Command By Webune in category Linux with 0 Replies. [3197], Last Updated: Sun Jul 05, 2020
Webune
Mon Apr 28, 2008
0 Comments
370 Visits
If you ever wanted to delete a file, but get a confirmation prompt before deleting the file? Then do this command:
This will remove the file trash.txt with a confirmation. The -i is there to tell the rm utility you want to display a confirmation before deleting the file.
Code/Command:
rm -i trash.txt