[ILUG] count of files in a directory

Stephane Dudzinski stephane at antefacto.com
Mon Jul 30 12:07:29 IST 2001


2 ways :

- Check if they do not contain any hidden file .xxxxxx by : ls -la test

- rm -rf <dirname> will wipe out everything, careful with this one.

Steph

On 30 Jul 2001 12:02:01 +0100, hrishy wrote:
>  Hello
> 
> 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
> 
> regards
> hrishy
> 
> 
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> 
> -- 
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
-- 
__________________________________________
Stephane Dudzinski   Systems Administrator
a n t e f a c t o     t: +353 1 8586009
www.antefacto.com     f: +353 1 8586014





More information about the ILUG mailing list