How to use find command to do ...?

Hi, how can I use find command to
1) find out all directory has give write permission to world?
2)find out all files has give write permission to world?
3)find out files that has been modified after a date?

Thanks.
xz02Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobWMartinCommented:
Assuming you want all of those criteria applied to each file/directory:

find /path -daystart -perm +002 -mtime -1

substitute for the specific path of interest; also the -1 means files modified since yesterday; you could say -2 for those modified since day before yesterday; in general, selects files modified since n days ago, not inclusive.

If you want to separate the criteria:

1) find /path -type d -perm +002
2) find /path -type f -perm +002
3) find /path -daystart -mtime -1

respective to your list.

Rob
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.