Solved

rm -r directory

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 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.:

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now