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
How do I edit a .sh file?
What are script files?
What will happen to my current process when I execute a command using exec?
Given a file find the count of lines containing the word "abc".
Suppose you execute a command using exec, what will be the status of your current process in the shell?
What are the different types of commonly used shells on a typical linux system?
What is meant by dos operating system?
Why are there shells on the beach?
What language is bash written in?
What is bash command used for?
What makes c shell a more preferable option than the bourne shell?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
What is bash used for?
What is the best scripting language?
Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.