Categories
Archives
Blog Stats
- 485,467 hits
-
Join 489 other subscribers
You can like us at
Meta
Tag Archives: shell
greatest of three numbers
In today’s post we shall write a code to find biggest of the three numbers.To write the code we need to know the syntax of nested if statements in shell scripting.The syntax of nested if statements is as follows: if … Continue reading
shell script to find given number even or odd
It is simple to find given number is even or odd manually if it is small or less than 1000. If the given number is greater than 1000 it is not so easy to say a number is even or … Continue reading
Posted in Shell scripting
Tagged even or odd, shell, to find even or odd using shell, to find even or odd using shell program, to find even or odd using shell scripting, to find even using shell program, to find even using shell scripting, to find odd using shell, to find odd using shell scripting
Leave a comment
shell scripting for area of square,rectangle,circle
In our childhood many of us used to hate mathematics where we need to calculate the areas of the different shapes.There we need to remember the formulas of each and every shape.Today we shall write the program to find area … Continue reading
shell scripting for simple interest
Today we shall write the script to calculate the simple interest for given amount. We use the same traditional formula which we used in your childhood i.e is ptr/100. To calculate SI we need to need the data about principal … Continue reading
shell scripting for basic arithmetic operations
In our last post we introduced to shell scripting by knowing basic commands of shell scripting. Today we shall how to write a program in shell scripting in shell terminal and perform some basic arithmetic operations. To write a program … Continue reading
Intorduction to shell scripting
In windows we use turbo c or dev c++ for programming in c language or in c++.Simillary for programming in linux we use shell.What is meant by shell? By definition it is stated as, A shell is a program that … Continue reading