A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Which of the following shell scripts will produce the output “my first script” ?
a. for i in my first script { echo –i $i}
b. for my first script; do echo –n; done
c. for i in my first script; do echo –i $i; done
d. for n in my first script; do echo –i $i; done
Answer:for i in my first script; do echo –i $i; done
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here