How To Get A Confirmation Prompt Before You Delete Copy Or Move Files Linux Command
- Forums
- Linux Hosting
- How To Get A Confirmation Prompt Before You Delete Copy Or Move Files Linux Command
This Page Contains information about How To Get A Confirmation Prompt Before You Delete Copy Or Move Files Linux Command By linux in category Linux Hosting with 0 Replies. [428], Last Updated: Sat May 18, 2024
linux
Thu May 03, 2007
0 Comments
782 Visits
ok, lets say you want to move copy or rename a file and you want to get a confrimation message from the shell command that you really want to make the changes delete or renaming for a particular file. well you can do that with linux. lets say i have a file called myusers and i want to delete it, but i want to get a confirmation prompt before its deleted, so this is the command i would run to do just that:
rm -i myusers
all i am adding is the -i option to the command