[ILUG] count of files in a directory

hrishy hrishys at yahoo.co.uk
Tue Jul 31 05:50:20 IST 2001


Hello

output of ls -la is 
jaquarROOT# cd test
jaquarROOT# ls -la
total 4
drwxrwxrwx   3 root     sys          512 Jul 31 06:37
.
drwxr-xr-x   3 root     other        512 Jul 31 06:44
..

how do i delete test???there two hiden folders . and
..
regards
hrishy


--- Stephane Dudzinski <stephane at antefacto.com> wrote:
> 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
> 
> 
> -- 
> 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 

____________________________________________________________
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




More information about the ILUG mailing list