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
Explain about the exit command?
What are the four fundamental components of every file system on linux?
What is shell environment?
Explain about echo command?
What are the different types of shell scripting?
What is the first line in a shell script?
How to open a read-only file in the shell?
How will you copy a file from one machine to other?
What is a file basename?
Explain about shebang?
What does .sh file contain?
What makes c shell a more preferable option than the bourne shell?
How do I debug a shell script?
Which is better perl or shell scripting?
What is bourne shell scripting?