How to group the commands in shell scripting?
Answers were Sorted based on User's Feedback
Answer / linuxdemon(vjsujay@gmail.com)
(unix cmd 1; unix cmd2)
eg:
ubuntu@ubuntu:~$ (w > fname ; wc -l fname)
10 fname
ubuntu@ubuntu:~$
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / 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 |
Is shell scripting a programming language?
Is cmd a shell?
how did u debugging in unix/ linux platform ??( project Related)
How to add some content in any file at some desired location without using VI or some other editor in UNIX
What is the command for " how many shell is running in your system or how many shell supported by your system " ?.
What is a command line shell?
In a single command how do you run the previous command in the command prompt.
What are scripts in psychology?
What is difference between shell and bash scripting?
What is the first line of a shell script called?
what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?
What is the syntax of while loop in shell scripting?