Shell Scripting Question:
Download Questions PDF

How do you write a for loop in shell?

Answer:

for {variable name} in {list} do {statement} done

Download Shell Scripting Interview Questions And Answers PDF

Previous QuestionNext Question
What’s a way to do multilevel if-else’s in shell scripting?How do you find out the current directory you’re in?