UNIX: remove a directory and all its contents

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
UNIX: remove a directory and all its contents

Post by Stevyn » Sat Aug 10, 2013 12:59 pm

Code: Select all

rm -r directoryname
be careful!!!!! it does not ask to confirm

more infos:
http://www.tutorialspoint.com/unix_commands/rm.htm
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply