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. thats good. but not for the begineers. because in
View Tutorial          By: jaywant topno at 2009-10-31 10:05:43

2. class Factorial
{
int fact(int

View Tutorial          By: soph at 2013-02-06 06:49:07

3. Excelent sample, I'm disagree with Anon, the sampl
View Tutorial          By: Gerardo Saldívar at 2009-09-21 15:25:01

4. good
View Tutorial          By: Devil vampire at 2009-03-23 12:20:03

5. very nice
View Tutorial          By: subbu at 2011-12-03 13:49:32

6. hi....!
This program is working well in co

View Tutorial          By: param at 2014-10-15 07:02:49

7. output is not specified there.., it must should be
View Tutorial          By: yash at 2014-09-17 16:35:52

8. it is really best site for the information.many ti
View Tutorial          By: panchanan ruata at 2013-05-22 09:36:37

9. this is the one of the best site to search java pr
View Tutorial          By: gautam gorai at 2009-01-13 06:44:15

10. Nice one.your example proves that if you are apply
View Tutorial          By: Nisarg pathak at 2015-09-30 17:23:37