How To Get A Confirmation Prompt Before You Delete Copy Or Move Files Linux Command

Welcome Login | Register

How To Get A Confirmation Prompt Before You Delete Copy Or Move Files Linux Command
  Forums Index
      » Linux Hosting Forums
        » » 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
Post Description:
Post Tags: how, to, get, a, confirmation, prompt, before, you, delete, copy, or, move, files, linux, command, linux hosting, troubleshoot, help, support advise, questions, answers
This Post Has Been Viewed 349 Times Since Thu May 03, 2007 3:54 pm Posted By linux with 0 replies
Next Post »» how to remove or delete several files at once with just one command in linux shell
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


Leave Your Comments






Share
HTML Link:
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites



Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums





Comments and replies About How To Get A Confirmation Prompt Before You Delete Copy Or Move Files Linux Command




(0) Comments