Multiple Choice
Joe, a user, creates a short shell script, shortscript.sh , and saves it in his home directory with default permissions and paths. He then attempts to run the script by typing ./shortscript.sh , but the command fails to execute. Which of the following commands would have allowed the script to run?
A) chmod u+x shortscript.sh
B) source ./shortscript.sh
C) chmod 155 ~/shortscript.sh
D) chgrp shortscript.sh Joe
Correct Answer:

Verified
Correct Answer:
Verified
Q242: A Linux administrator is testing a new
Q243: A site reliability engineer updated the latest
Q244: The following represents a partial listing of
Q245: A Linux administrator needs to take stock
Q246: An administrator needs to change the IP
Q247: An administrator needs to change the IP
Q248: A Linux administrator needs to configure a
Q250: An administrator receives a warning about a
Q251: A member of the production group issues
Q252: A systems administrator is troubleshooting an intermittent