Comment on Tutorial - for loop in Linux Shell Script By Dorris



Comment Added by : ashish

Comment Added at : 2011-03-25 07:46:09

Comment on Tutorial : for loop in Linux Shell Script By Dorris
#!/bin/bash

echo "Enter number for table :"
read x


for i in 1 2 3 4 5 6 7 8 9 10
do
c=$(( $x * $i ))
echo "$x * $i = $c"
done


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. It is nice...
View Tutorial          By: Bunty at 2011-02-20 23:43:53

2. thanks! it helped!
View Tutorial          By: shgy at 2015-03-17 07:42:40

3. I am to learn J2ME
View Tutorial          By: ravi kumar at 2011-06-20 05:50:20

4. I am not found a J2ME file for playing a audio pla
View Tutorial          By: S.M. ASHIQUER RAHMAN at 2008-11-22 22:33:43

5. Muy buen ejemplo, aunque como idea general podr&ia
View Tutorial          By: Ligator at 2013-07-26 05:57:47

6. You should consider using different threads that a
View Tutorial          By: Jeremy at 2010-01-13 23:02:11

7. Your explanation and example for toString() is gre
View Tutorial          By: Dinesh at 2012-10-19 08:29:13

8. sir, i want if,if else,nested if..... concept in o
View Tutorial          By: krishna at 2015-08-14 08:58:01

9. the 2 not required lines
1) #include

View Tutorial          By: saurabh at 2012-02-20 06:33:57

10. Hi, I am getting following exception while running
View Tutorial          By: Vasundhra at 2008-06-24 07:04:42