their is a file1,file2 and i want to append file1 data to
file2?

Answers were Sorted based on User's Feedback



their is a file1,file2 and i want to append file1 data to file2?..

Answer / roshni

cat file1 >> file2

Is This Answer Correct ?    54 Yes 1 No

their is a file1,file2 and i want to append file1 data to file2?..

Answer / kirus

cat file1>>file2

Is This Answer Correct ?    13 Yes 0 No

their is a file1,file2 and i want to append file1 data to file2?..

Answer / dimpi

cat file1 >> file2

Is This Answer Correct ?    12 Yes 1 No

their is a file1,file2 and i want to append file1 data to file2?..

Answer / guest

cat command can be used

Is This Answer Correct ?    4 Yes 1 No

their is a file1,file2 and i want to append file1 data to file2?..

Answer / siri

cat file1>>file2

Is This Answer Correct ?    1 Yes 0 No

their is a file1,file2 and i want to append file1 data to file2?..

Answer / jumjum

rat command can't be used.

Is This Answer Correct ?    0 Yes 5 No

their is a file1,file2 and i want to append file1 data to file2?..

Answer / sruthi

say your file1 name is demo.txt & ur file2 name is demo2.txt

if u wann to append data of demo.txt to demo1.txt
then open demo1.txt in vi mode
then in exe mode give :r demo.txt
then the data will be appended

Is This Answer Correct ?    4 Yes 11 No

their is a file1,file2 and i want to append file1 data to file2?..

Answer / sunil

cat file1 > file2

Is This Answer Correct ?    8 Yes 15 No

their is a file1,file2 and i want to append file1 data to file2?..

Answer / praveen

cat file1 > file2

Is This Answer Correct ?    2 Yes 16 No

Post New Answer

More Unix Commands Interview Questions

what are the different operating systems available?

3 Answers  


How to get the operating system's information in unix?

6 Answers   IBM, TCS,


What Command will remove a Directory in UNIX?

8 Answers   IBM,


Write a command to find all of the files which have been accessed within the last 30 days.

5 Answers   Google, IBM, Satyam,


Write a command to display a file’s contents in various formats?

0 Answers  






What is s and g in sed command?

0 Answers  


what is the difference between npar and vpar in HP-UX?

1 Answers   CSC,


What does the “echo” command do?

0 Answers  


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


How do I delete files from command prompt?

0 Answers  


In Unix file permissions what does the second field denotes?

3 Answers  


What is "type" command in unix?what is the functionality??

2 Answers  


Categories