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. Hi,
I done very simple, just copy the strut

View Tutorial          By: sridhar at 2009-03-01 19:17:10

2. pretty good explanation
View Tutorial          By: Prithwi at 2009-11-26 07:28:33

3. well understood
View Tutorial          By: shanthini at 2014-04-07 17:19:20

4. This is the solution that I also used, however, th
View Tutorial          By: Rob Ingenthron at 2012-07-18 23:06:18

5. awesome. thanks for the info
View Tutorial          By: Darren at 2010-05-09 19:55:22

6. good example
View Tutorial          By: WANT TO KNOW WHY WE USE APPEND at 2011-06-14 00:39:48

7. pls send simple to hard j2me coding
View Tutorial          By: Seenu at 2008-10-29 15:19:03

8. thanks for your explanation, but for desired outpu
View Tutorial          By: bismillah at 2010-09-02 10:16:09

9. How would you use a switch statement to determine
View Tutorial          By: Shivak at 2013-09-27 01:48:41

10. what about strings in J2ME ?
View Tutorial          By: Swapnil at 2012-07-20 09:19:15