LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] count of files in a directory

[ILUG] count of files in a directory

Colm Buckley colm at tuatha.org
Mon Jul 30 12:06:25 IST 2001


On Monday 30 July 2001 12:02, hrishy wrote:

> I have 2 folders called test and testd which are empty
> i wann adelete them but unable to do so as it is sayin
> that the folders are not empty whereas actually they
> are.if a create a dir called hrishy i am able to
> delete.i have root aceses to the system

'find test testd -ls' will show you what's in them.

'rm -rf test testd' will delete them and anything which is in them.

The manual pages would have told you this.

           Colm

-- 
Colm Buckley : Systems Architect @ NewWorld Commerce
Business: +353 1 4334334  / colm at nwcgroup.com / http://www.nwcgroup.com/
Personal: +353 87 2469146 / colm at tuatha.org / http://www.tuatha.org/~colm/
Some days you're the dog, and some days you're the lamppost.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell