nerdexam
CompTIA

XK0-001 · Question #274

A user logs onto the system as root. He attempts to execute the script file a,sh. He is getting the message "Execute permission denied". What command must be used before the file can be executed?

The correct answer is C. chmod. See the full explanation below for the reasoning.

Question

A user logs onto the system as root. He attempts to execute the script file a,sh. He is getting the message "Execute permission denied". What command must be used before the file can be executed?

Options

  • Achgrp
  • Bchown
  • Cchmod
  • Dexecute

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    78% (25)
  • D
    13% (4)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice