Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8686781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:57:04+00:00 2026-06-12T22:57:04+00:00

I am trying to figure out what the following command would do. I extracted

  • 0

I am trying to figure out what the following command would do. I extracted it from a Linux shell script and when I enter it goes to a prompt (>). But I cannot figure out what to enter in this prompt.

    find ~/dev/tools/flex-4.5.0.20967 -type d -exec chmod o+rx '{}' \

I know the purpose of the find command here. It is searching for the specified directory, checking whether it is indeed a directory and executing the chmod command on that directory. What I cannot figure out is the format of the chmod command here.

I checked man page of chmod but cannot determine the functionality of the above chmod format.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:57:06+00:00Added an answer on June 12, 2026 at 10:57 pm

    Check the man page for find. the {} \; is specific to the -exec flag for find

    The > prompt appeared because you missed a ‘;’ at the end of ‘\;’

    find ~/dev/tools/flex-4.5.0.20967 -type d -exec chmod o+rx '{}' \;
    

    The command finds all sub-directories under ~/dev/tools/flex-4.5.0.20967. without the -type d it will also include files under the folder.

    The -exec my_command my_args1 my_args2 '{}' \; part specifies for each matched result by find , execute the command my_command as :

    my_command my_args1 my_args2 matched_result
    

    The {} is replaced with the matched result , in this case a directory, the \; is to indicate the termination of arguments for my_command

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently trying to figure out why a shell script fails at concurrent
I'm trying to figure out how to run Python programs with the Command Prompt
I'm trying to figure out the following issue related to BigIntegers in Java 7
I am going a bit nuts trying to figure out why the following won't
Trying to figure out this pseudo code. The following is assumed.... I can only
I'm trying to figure out how to add the following data to my json
I am trying to figure out how to accomplish the following task: Create a
I am trying to figure out how to do the following: 1) After a
I am trying to figure out how to make my layout have the following
i'm trying to figure out the best way to spilt the following url string:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.