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 will you print the login names of all users on a system?
How to get script name inside a script?
Is scripting and coding the same thing?
What does $0 mean in shell script?
How do I edit a .sh file?
What is in a script?
How does ls command work?
write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.
How will you connect to a database server from linux?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
What is gui scripting?
Why is a script important?
Why are there shells on the beach?
Is shell scripting difficult?
how will you find the total disk space used by a specific user?