How to add content of one file into another file at the beginning
Answer Posted / dick
concatenate file1 and file2, in the below command file1 content will be insert in front of that in file2, and then combined content will be redirected to file3
cat file1 file2 > file3
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What is .sh file?
What is the search command in unix?
Which unix command to make a new directory?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do you grep recursively?
What is the comma to show the space allocation of files?
What are some command words?
Why is grep called grep?
What is s and g in sed command?
What command is used to switching between users in unix?
Which command is used to delete all files in the current directory and all its sub-directories?
What is nr in awk command?
Explain ‘library functions’ with respect to unix commands?
What is the function of grep command in unix?
Is ‘du’ a command? If so, what is its use?