Solved

rm -r directory

Posted on 2001-08-10
4
360 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

777 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