Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

rm -r directory

Posted on 2001-08-10
4
Medium Priority
?
371 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 40 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

824 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