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

What is bash command used for?

659


What is shell variable?

604


What can you do with powershell?

699


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

1866


What are "c" and "b" permission fields of a file?

645






What is basename in shell script?

676


How can you get the value of pi till a 100 decimal places?

632


What is the significance of $#?

676


How to print pid of the current shell?

673


How can we find the process name from its process id?

785


How will you connect to a database server from linux?

628


How do I open a jshell in cmd?

714


What is the difference between grep and egrep?

688


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

3667


What command needs to be used to take the backup?

622