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


Please Help Members By Posting Answers For Below Questions

How to check if the previous command was run successfully?

587


Write a shell script to get current date, time, user name and current working directory.

627


What is meant by $1 in shell script?

546


What is a shell script? Can you name some of its advantages?

525


What is the significance of $#?

584






How do I save a powershell script?

553


Why is the use of shell script?

541


What are the advantages of shell scripting?

580


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

3601


What is shell application?

567


What is the first line in every perl script called?

551


How will you connect to a database server from linux?

553


How are shells born?

548


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

509


Can shell script run on windows?

562