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 group the commands in shell scripting?

Answer Posted / tony

The command separator is ;

So, just run:

$ echo Let me wait some time ; sleep 10 ; echo Yes, that is OK

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

902


What language is shell scripting?

1028


What is bash command used for?

1066


What does $1 mean in bash?

1096


How to redirect both standard output and standard error to the same location?

1166


How does shell scripting work?

1108


What is sh in shell script?

1027


What does the sh command do?

1077


Explore about environment variables?

1036


What is awk in shell script?

1228


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

1155


How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?

1099


How do you debug a script?

1068


What is a shell script in windows?

1089


What is meant by $1 in shell script?

951