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



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. I want to get SCJP!
View Tutorial          By: Johny at 2009-08-24 22:48:56

2. sir needed help i am compiler dev c++ which shown
View Tutorial          By: shahab at 2010-05-05 13:17:53

3. this article is excellent....solve all my doubt re
View Tutorial          By: pramodk at 2011-07-18 14:22:18

4. i am confused with importing a package.is it equiv
View Tutorial          By: amit at 2011-07-04 04:16:04

5. to know
View Tutorial          By: Parthasarathi.N at 2010-02-19 05:59:51

6. Nice example. Thank you very much.
View Tutorial          By: vinod at 2012-06-19 11:19:53

7. i am looking for c programs in written
View Tutorial          By: ziyauddin at 2011-02-13 06:21:09

8. @Prab, no its 7 since it starts the counting at 0
View Tutorial          By: Shadowfaux at 2009-11-21 15:22:49

9. why the code had error in status???
View Tutorial          By: matuz at 2011-11-13 11:35:34

10. HI.KEEP ME ON WORK I HAVE MASTER PROGRAMMING C++ <
View Tutorial          By: NINHNGUYEN at 2011-06-19 12:54:20