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

c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

6359


How do I run a .sh file on mac?

1111


How do I read a .sh file?

1054


How to find all the files modified in less than 3 days and save the record in a text file?

1022


What is awk in shell scripting?

994


How will you print the login names of all users on a system?

929


How do I start a shell script?

1151


Why do we use shell scripting?

953


What is a file basename?

1010


Explain about echo command?

1065


What is the way to do multilevel if-else's in shell scripting?

1254


What command needs to be used to take the backup?

957


What does $1 mean in bash?

1049


How to check if the previous command was run successfully?

1004


What does $$ mean in shell script?

1009