How To Get A Confirmation Prompt Before You Delete Copy Or Move Files Linux Command
Post Description: how to get a confirmation prompt before you delete copy or move files linux command
how, to, get, a, confirmation, prompt, before, you, delete, copy, or, move, files, linux, command
This Post Has Been Viewed 270 Times Since Fri Feb 29, 2008 12:01 pm Posted By linux with 0 replies
POST# 224
Posted On: Fri Feb 29, 2008 12:01 pm
Topic: How To Get A Confirmation Prompt Before You Delete Copy Or Move Files Linux Command
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
No Repies