"Deependra B. Tandukar" wrote:

> Dear All,
>
> I know, it can be done but forgot.
>
> I have a folder with many subfolders and files. I want to give all the files
> chmod 755 and all the folders 777. Can any one help?

files:
    find . -type f -exec chmod 755 {} \;

folders:

    find . -type d -exec chmod 777 {} \;

>
> regards
> DT
> ----- Original Message -----
> From: Matthew Melvin <[EMAIL PROTECTED]>
> To: Dan Horth <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, November 01, 2000 9:01 AM
> Subject: Re: OT: Help with a REGEXP please!
>
> >
> > Try....
> >
> > grep -E "192\.168\.2\.(6[4-9]|[7,8][0-9]|9[0-5])"
> >
> > M.
> >
> >
> > On Wed, 1 Nov 2000, Dan Horth wrote:
> >
> > > hiya - I'm trying to make a regexp string to match the following IP
> range:
> > >
> > > 192.168.2.64/27
> > >
> > > ie I want to match 192.168.2.64 through 192.168.2.95 inclusive, but
> > > do not want to match things like 192.168.2.60 or 192.168.2.99
> > >
> > > I'm kinda close with:
> > >
> > > grep "192\.168\.2\.[6-9][0-9]"
> > >
> > > except it's basically matching 192.168.2.60 - 192.168.2.99 inclusive...
> > >
> > > I really want to make the match with just one REGEXP - is this
> > > possible or am I being deluded?
> > >
> > >
> > > TIA _ dan.
> > >
> > > ps. thanks for all those who sent in stuff about my NetWare vs Linux
> > > conundrums... will be posting a follow-up on that after lunch...
> > >
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to