LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2006, 05:34 PM   #1
sancho1980
Member
 
Registered: May 2006
Location: Leipzig, Germany
Distribution: Kanotix 64
Posts: 45

Rep: Reputation: 15
Question switching off confirmation prompt


hi

when i want to clear a directory using rm -r * i'm constantly prompted to confirm every single file deletion and directory descend; i'm pretty sure there must be a way to switch that off; it's pretty much bothering me as / has many subdirectories (yes that's a joke)

thanx,

martin
 
Old 05-14-2006, 06:04 PM   #2
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Always read the manpage before asking questions like this.
Code:
rm -rf *
Be very careful when using this command!
 
Old 05-14-2006, 06:04 PM   #3
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
The -f flag will override the -i flag (which is what asks for confirmation).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Asking for confirmation when switching init level wimnat Linux - General 3 02-24-2006 11:58 PM
Newbie... confirmation Bu3Nix Programming 5 09-15-2005 08:00 PM
Google asking for visual confirmation now? vharishankar General 8 08-17-2005 08:07 PM
Ctrl+C Confirmation pjpeter Linux - Newbie 2 09-25-2004 05:49 PM
what's with all the confirmation screens? andredude LQ Suggestions & Feedback 1 05-07-2004 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration