Questions
Questions

IWBS001 Quiz Seven | LA010- Requires Respondus LockDown Browser

Single choice

The purpose of code "#! /bin/sh" at the beginning of a Unix script is

Options
A.To tell the system that the script will be running on BASH shell.
B.To tell the system that the script will be running on Unix Bin shell.
C.it is a comments line, as it starts with an "#".
D.To tell the system that it is a Unix shell script.
View Explanation

View Explanation

Verified Answer
Please login to view
Step-by-Step Analysis
The question asks about the purpose of the line "#! /bin/sh" at the start of a Unix script. Option 1: "To tell the system that the script will be running on BASH shell." This is not accurate because /bin/sh designates the system’s default shell, which may be dash, bash, or another shell, but it does not guarantee BASH specifically. The directive uses the interpreter path, not a specific shell name like ......Login to view full explanation

Log in for full answers

We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!