The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to remove user from a group using command line civic2005 SUN Solaris 2 09-18-2008 11:05 AM
question on find and remove command arunkumar_mca UNIX for Dummies Questions & Answers 1 12-10-2007 10:54 PM
sh, ksh: command to remove front spaces from a string? pseudocoder Shell Programming and Scripting 3 09-22-2007 04:57 AM
command to remove last record on file mheinen UNIX for Dummies Questions & Answers 4 01-09-2007 01:39 PM
search and remove command jasonr UNIX for Dummies Questions & Answers 3 09-05-2003 12:15 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 12-21-2007
Registered User
 

Join Date: Dec 2007
Posts: 42
Quote:
Originally Posted by jambesh View Post
I have directory IXNPG7 under which i have seen file ads[1].c , ads[1].gif ,
ads[1].js and lots more with extension .html

I tried to remove the Entire Directory with rm -Rf IXNPG7
but it is saying -- Directory Not empty can't remove

Secondly i tried removing all the files first

using rm *.* inside that directory all files get removed except ads[1].c

i tried to remove using rm -fr ads[1].c --after issuing the command the
rm is silent with out any error,but not able to delete this file ?

1 -- Can you please tell me why the directory is not removed recursively
2-- Why this FILE is not removing ?
3- Some time this directory contains a file whose name more then 1 line of characters and denied removing saying too long file name ?

Please tell me what could be the reason ?

Thanks
try the command /bin/rm -rf [directory name]
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0