How to add content of one file into another file at the beginning

Answer Posted / durgesh srivastava

if file1 conation go on file2 .............
cat file1 >> file2

Is This Answer Correct ?    6 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is awk command used for?

602


Explain command to display different lines that are found when compare two files?

678


What command is used to switching between users in unix?

564


What's a command word?

591


How do I search a whole word in vim?

693






Explain ‘library functions’ with respect to unix commands?

604


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

591


What is awk used for?

624


What does the command '$ls | wc –l > file1' do?

684


What does grep v grep do?

556


Does cp command overwrite files?

626


What are the dos commands?

652


What is s and g in sed command?

561


How to use grep command to list find the records of a file containing 10 different strings?

647


What is sed awk grep?

609