How To Remove Files With Confirmation Ask Linux Command

RegisterLogin
How To Remove Files With Confirmation Ask Linux Command
Post Description: How To Remove Files With Confirmation Ask Linux Command
Tags: How, To, Remove, Files, With, Confirmation, Ask, Linux, Command
This Post Was Posted On Apr 28, 2008 By Webune #2231
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
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Mon Dec 19, 2011 1:08 am
Powered by: Webune Forums V3