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...

How to declare functions in unix shell script?

Answer Posted / prakash

function Dissplay () {

echo "This is how we define function"

}


Display # Invoking Function

## Function should be defined before we invoke it

Is This Answer Correct ?    67 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the 3rd element/column from each line from a file?

1140


What is the fastest scripting language?

936


Explain about the slow execution speed of shells?

1159


Why is a script important?

985


Explain about non-login shell files?

1132


What does $$ mean in shell script?

990


What is bash shell command?

956


How to check if the previous command was run successfully?

985


Write a shell script to get current date, time, user name and current working directory.

1028


What is the default shell of solaris?

999


What does chmod do?

1066


How can you find out how long the system has been running?

844


Is shell scripting easy to learn?

957


What is sed in shell script?

977


What is shell and shell script?

1054