[ILUG] count of files in a directory
[ILUG] count of files in a directory
hrishy
hrishys at yahoo.co.uk
Tue Jul 31 09:31:51 IST 2001
Hi stephane
i am on sunos..output of sundir test is
rmdir test
rmdir: directory "test": Directory not empty
regards
hrishy
--- Stephane Dudzinski <stephane at antefacto.com > wrote:
> The output has no hidden directories, this is what
> you get in an empty
> directory when doing a ls -la
>
> what does return rmdir test
>
> ?
>
> What kind of linux flavour do you use ? Do you
> offenly check your fs ?
>
> On 31 Jul 2001 08:57:18 +0100, hrishy wrote:
> > Hello stephane
> >
> > here is the output of
> > rm -rf test
> > rm: Unable to remove directory test: File exists
> >
> > regards
> > hrishy
> >
> > -- lindenm at rte.ie wrote: > Did you try
> > > rm -rf test
> > >
> > > What happens then??
> > >
> > > Markus
> > >
> > > Quoting hrishy <hrishys at yahoo.co.uk >:
> > >
> > > > 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
> > > >
> > > > --
> > > > 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
> > > >
> > >
> > >
> >
>
*************************************************************
> > > The information in this e-mail is confidential
> and
> > > may be
> > > legally privileged. It is intended solely for
> the
> > > addressee.
> > > Access to this e-mail by anyone else is
> > > unauthorised. If
> > > you are not the intended recipient, any
> disclosure,
> > > copying,
> > > distribution, or any action taken or omitted to
> be
> > > taken in
> > > reliance on it, is prohibited and may be
> unlawful.
> > >
> >
>
*************************************************************
>
> >
> >
>
____________________________________________________________
> > 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
> --
> __________________________________________
> 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
Read this without the formatting .