Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 15
Question switching off confirmation prompt


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)


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

Rep: Reputation: 31
Always read the manpage before asking questions like this.
rm -rf *
Be very careful when using this command!
Old 05-14-2006, 07:04 PM   #3
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).


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-25-2006 12:58 AM
Newbie... confirmation Bu3Nix Programming 5 09-15-2005 09:00 PM
Google asking for visual confirmation now? vharishankar General 8 08-17-2005 09:07 PM
Ctrl+C Confirmation pjpeter Linux - Newbie 2 09-25-2004 06:49 PM
what's with all the confirmation screens? andredude LQ Suggestions & Feedback 1 05-07-2004 04:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:58 PM.

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