Suppose run_me.sh is a script file. Which command is used to make it executable?

Suppose run_me.sh is a script file. Which command is used to make it executable?
A. chmod +e run_me.sh
B. chmod +a run_me.sh
C. chmod +y run_me.sh
D. chmod +x run_me.sh
 
Answer: d
Explanation: The command ‘chmod +x file_name’ makes a script file executable. mysql supports reading from a script file and executing queries from it. Before a script is run, it is necessary for it to be made executable.
 

Tìm kiếm

Back
Top