Question: Assume you are writing a shell script in linux/UNIX using the bash shell syntax. Which of the following are true regarding comments? A. The #

Assume you are writing a shell script in linux/UNIX using the bash shell syntax. Which of the following are true regarding comments?
A. The # character starts a comment.

B. Anythingonalineafterthe#characterwillbeignored

C. Comments are started using /* and ended by */

D. Comments are started using # and ended by #

E. Comments must be the only thing on a line

F. None of the above

Step by Step Solution

3.55 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

A The character starts a comment E Comments must be the only thing on a line The correct ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!