The information of the two files should be redirect to
Third file in such a way that, the third file contain the
information like this.
1st line in third file should be from 1st file
2nd line in Third file should be from 2nd file
3rd line in Third file should be from 1st file
4th line in Third file should be from 2nd file
-
- so on
Answer Posted / karthik c n
paste -d"\n" file1 file2 > file3
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
Explain about shebang?
What is ms powershell?
Differentiate between ‘ and ” quotes.
Is shell scripting easy to learn?
How to find duplicate record in file using shell script?
How can you find out how long the system has been running?
Is shell a scripting language?
What are the various stages of a linux process it passes through?
How do I open the shell prompt?
How to pass an argument to a script?
Explain about gui scripting?
What is shell variable?
Why is the use of shell script?
How will you find the 99th line of a file using only tail and head command?