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 lifespan of a variable inside a shell script?

0 Answers  


What is the first line in every perl script called?

0 Answers  


What is the syntax of "nested if statement" in shell scripting?

0 Answers  


I want to upload a file to remote server through ftp daily.Can anyone suggest how to make a shell script for that.I hv credentials for that ftp

1 Answers  


How do I run a powershell script?

0 Answers  


Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

0 Answers  


Explain about return code?

0 Answers  


What is the meaning of $1 in shell script?

0 Answers  


Why should we use shell scripts?

0 Answers  


What is a command line shell?

0 Answers  


what are command line arguments? what is the need of those?

1 Answers   Flipkart,


Write a shell program to test whether a given number is even or odd?

8 Answers  


Categories