1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 37183
/ 1 Year ago, thu, january 19, 2023, 3:13:11
I am new to shell scripting so I am curious about using While Loops in Shell Script form.
I know how to declare a variable and use a while loop in java
int num = 0;
while(num <= 10)
{
System.out.println(num)
num = num + 1
}
But I don't know how to declare variables and use them in a while loop in a Shell Script.
More From » command-line