- 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: Mon Jun 24, 2024
Webune
Mon Apr 28, 2008
0 Comments
459 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