LPI
010-150 · Question #10
How is it possible to determine if an executable file is a shell script which is read by Bash?
Sign in or unlock 010-150 to reveal the answer and full explanation for question #10. The question stem and answer options stay visible for context.
Exercise Leadership and Client Education
Question
How is it possible to determine if an executable file is a shell script which is read by Bash?
Options
- AThe r bit is set.
- BThe file must end with .sh.
- CThe first line starts with #!/bin/bash.
- D/bin/bash has to be run in debug mode.
- EScripts are never executable files.
Unlock 010-150 to see the answer
You've previewed enough free 010-150 questions. Unlock 010-150 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#shebang#bash script#executable identification#shell scripting