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
How to check if the previous command was run successfully?
Write a shell script to get current date, time, user name and current working directory.
What is meant by $1 in shell script?
What is a shell script? Can you name some of its advantages?
What is the significance of $#?
How do I save a powershell script?
Why is the use of shell script?
What are the advantages of shell scripting?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
What is shell application?
What is the first line in every perl script called?
How will you connect to a database server from linux?
How are shells born?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
Can shell script run on windows?