Solved

rm -r directory

Posted on 2001-08-10
4
364 Views
Last Modified: 2010-04-21
Hi,
i want to get rid of a directory, sub directories and all contents so i sue the rm -r directory name, but how do i get rid of the annoying propmts?

regards
Peewee
0
Comment
Question by:Peewee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
griessh earned 10 total points
ID: 6372590
rm -fr

=====
Werner
0
 
LVL 4

Expert Comment

by:prashant_n_mhatre
ID: 6373125
'rmdir' is also a command available on some flavours of Unix for this purpose.
I don't know how it works.
0
 
LVL 5

Author Comment

by:Peewee
ID: 6373485
many thanks
peewee
0
 
LVL 11

Expert Comment

by:griessh
ID: 6373530
Hi Peewee, usually a 'man <command>' helps solving these issues much faster :-)

======
Werner
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question