This Post Has Been Viewed 24 Times Since Mon Apr 28, 2008 5:38 pm Posted By Webune with 0 replies
POST# 1350
Posted On: Mon Apr 28, 2008 5:38 pm
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