Bird
0
0

What does the command chmod 700 script.sh do to the file permissions?

easy📝 Conceptual Q1 of 15
Linux CLI - File Permissions and Ownership
What does the command chmod 700 script.sh do to the file permissions?
AGives execute permission to group and others only
BGives read and write permissions to everyone
CGives read, write, and execute permissions to the owner only
DRemoves all permissions from the owner
Step-by-Step Solution
Solution:
  1. Step 1: Understand numeric permission 700

    The first digit '7' means owner has read(4), write(2), and execute(1) permissions combined (4+2+1=7).
  2. Step 2: Check group and others permissions

    The next two digits are '0' and '0', meaning group and others have no permissions.
  3. Final Answer:

    Gives read, write, and execute permissions to the owner only -> Option C
  4. Quick Check:

    chmod 700 = owner rwx only [OK]
Quick Trick: 700 means full owner rights, no one else gets any [OK]
Common Mistakes:
MISTAKES
  • Confusing digits with letters
  • Assuming group or others get permissions
  • Thinking 700 means read-only

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes