Write down the syntax for all the loops in shell scripting.
Answer / Sarika Chaudhari
In shell scripting, there are three types of loops: 1) for loop: `for variable in listn do commandsndone`, 2) while loop: `while conditionndo commandsndone`, and 3) until loop: `until conditionndo commandsndone`.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about non-login shell files?
how to get part of string variable with echo command only?
How will you emulate wc –l using awk?
What is the difference between a 'thread' and a 'process'?
How to enable the shell to know what program should be run to interpret the script?
what does "kill -9" and "kill -1" do
What is a shell made of?
What is gui scripting?
How do I run a script from command prompt?
how do you write sql queries using shell script for eg:- we have databae table like EMPNO,ENAME,SAL,DEPTNO columns in EMP table how you display EMPNO,SAL FIELDS from emp in SHELL SCRIPT please explain with an example
Which shell is the best?
What is egrep?