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 |
Where are cowrie shells found?
What is computer cli?
Is cmd a shell?
How to add some content in any file at some desired location without using VI or some other editor in UNIX
What is inside a seashell?
Explain about login shell?
What is meant by dos operating system?
How to know that your remote server is ruing smoothly or not in unix?
What is ms powershell?
Is shell script a programming language?
What is the use of break command?
What is in a script?