What are the different kinds of loops available in shell
script?

Answers were Sorted based on User's Feedback



What are the different kinds of loops available in shell script?..

Answer / swaroopa

Broadly categorised in 3
for
while
until

if and case are not loops but rather control structures

Is This Answer Correct ?    9 Yes 1 No

What are the different kinds of loops available in shell script?..

Answer / guest

for
while
until

Is This Answer Correct ?    5 Yes 1 No

What are the different kinds of loops available in shell script?..

Answer / seshadri sethi

for, if, while, case

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Shell Script Interview Questions

What is the use of "test" command?

2 Answers  


Print the 10th line without using tail and head command.

0 Answers  


What are the different kinds of loops available in shell script?

3 Answers  


What does echo $0 do?

0 Answers  


What is an inode block?

0 Answers  






How do we create command aliases in a shell?

0 Answers  


What is the use of break command?

0 Answers  


What is the default ubuntu terminal?

0 Answers  


RAM one table colums a1,a2,a3,a4 respective values 2,4,7,8 KRISH one table colums a1,a2,a3,a4 respective values 3,4,6,9 IN RAM & KRISH a4 column if comparing values RAM A4 - KRISH A4 ( 8-9 =1 THEN print 5 or (RAM) a4 value 10 KRISH a4 values 2 then 10 -2 =8 print 5*8=40 or diff 5 print same

1 Answers   Tech Mahindra,


Explain about non-login shell files?

0 Answers  


what is the difference between sh & bash shell?

1 Answers  


How to take input values from the user?

4 Answers  


Categories