Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the syntax of "expr" command?

Answer Posted / swaroopa

while [ $num -gt 0 ]
do
i=`expr $i \* 10 + $num % 10`
num=`expr $num / 10`
done

Is This Answer Correct ?    35 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is shell and terminal the same?

1107


How to get script name inside a script?

1060


How to find duplicate record in file using shell script?

1444


What is scripting used for?

1087


What is the use of "$?" Sign in shell script?

1213


What is sudo command?

1102


How to print pid of the current shell?

1038


How to use arguments in a script?

1155


What does egrep mean?

1024


Is shell script a programming language?

1065


How can I set the default rwx permission to all users on every file which is created in the current shell?

1469


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

1207


What is the lifespan of a variable inside a shell script?

1698


What is the conditional statement in shell scripting?

1281


How will you connect to a database server from linux?

1099