how to get a confirmation prompt before you delete copy or move files linux command

RegisterLogin
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
Tags: how, to, get, a, confirmation, prompt, before, you, delete, copy, or, move, files, , linux, command
This Post Was Posted On Feb 29, 2008 By linux #834
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
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Tue Dec 27, 2011 11:22 pm
Powered by: Webune Forums V3