Technology

Thursday, 1 January 2015

Simple for / while loop in shell

#!/bin/sh a=0
while [ $a -lt 10 ]
do
echo $a
a=`expr $a + 1`
done
Posted by Unknown at 23:17:00
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2015 (22)
    • ►  November (2)
    • ►  August (5)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  February (1)
    • ▼  January (11)
      • How to downgrade a OBI RPD Version ?
      • How to start stop an Business Works Archive archiv...
      • How to find the space occupied by indexes of a tab...
      • How to install Tibco i-Process Palattes on Busines...
      • Configuring IAP JMS
      • Simple for / while loop in shell
      • Tibco client Installation order
      • How to execute a SQL in Shell Script
      • How to search a file/folder in unix ?
      • Show all arguments of a Process in Unix
      • How to copy (Merge and Overwrite in destination) a...
Simple theme. Powered by Blogger.