How to group the commands in shell scripting?
Answer Posted / 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 |
Post New Answer View All Answers
What does echo mean in scripting?
What is bash eval?
What is a program shell?
Why is it called a shell?
What is a scripting language simple definition?
What are types of shells?
How to redirect both standard output and standard error to the same location?
What is path variable bash?
State the advantages of shell scripting?
Write down the syntax for all the loops in shell scripting.
Explain about the exit command?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
Explain about debugging?
What does sh mean?
What exactly is a shell?