List of questions
Related questions
Question 230 - XK0-005 discussion
A user created the following script file:
# ! /bin/bash
# FILENAME: /home/user/ script . sh
echo 'hello world'
exit 1
However, when the user tried to run the script file using the command 'script . sh, an error returned indicating permission was denied. Which of the follow-ing should the user execute in order for the script to run properly?
A.
chmod u+x /home/user/script . sh
B.
chmod 600 /home/user/script . sh
C.
chmod /home/user/script . sh
D.
chmod 0+r /horne/user/script. sh
Your answer:
0 comments
Sorted by
Leave a comment first