Which of the following shell scripts will produce the output “my first script” ?

Question:
	
Which of the following shell scripts will produce the output “my first script” ?

1.for i in my first script { echo –i $i}

2.for my first script; do echo –n; done

3.for i in my first script; do echo –i $i; done

4.for n in my first script; do echo –i $i; done

Posted Date:-2022-06-03 21:05:27


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!