Removing Linux Files With Confirmation Ask Command


Removing Linux Files With Confirmation Ask Command
  Forums Index
      » Linux Forums
        » » Removing Linux Files With Confirmation Ask Command



Removing Linux Files With Confirmation Ask Command
Post Description:
Post Tags: removing, linux, files, with, confirmation, ask, command, linux, linux support, linux questions, linux server, programming, assistance, questions, answers, tech, it, unix
This Post Has Been Viewed 623 Times Since Sat Aug 26, 2006 12:35 am Posted By unix with 0 replies
Next Post »» Command To Remove Delete Several Files at Once
Removing Linux Files With Confirmation Ask Command
Have you ever deleted a file in linux using the shell, but was never asked or confirm to delete it. If you are deleting files and want to get a confirmation prompt, do this command:

This will remove the file junk_file.txt with a confirmation. The -i is there to tell the rm utility you want to display a confirmation before deleting the file.


     Code:
rm -i junk_file.txt

Leave Your Comments
* Your Name

  * Your Email Address (Will Not Be Published)

* Your Comments


Add Picture To Comments
Yes No             upload
Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

     




Comments and replies About Removing Linux Files With Confirmation Ask Command






(0) Comments