How to add content of one file into another file at the beginning
Answer Posted / green
(To insert file2 content to file1; then the command is)
vi file1
(in command mode)
:0 r! cat file2 (press enter)
( file2 content is inserted to file1 )
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is command prompt unix?
What is .sh file?
Can you explain a little bit about command substitution?
What does the command '$ls | wc –l > file1' do?
What are the general commands in using unix os for a beginner?
How to use grep command to list find the records of a file containing 10 different strings?
What is the search command in unix?
What are reported commands?
What is the use of the tee command?
How do I run a whois command?
Differentiate cat command from more command.
What is awk command used for?
Who wrote grep?
What do chgrp command do?
What is the nmap command?