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
What will the following command do?
What is the nmap command?
What is the first character of the output in ls l command?
What is the command to compare two files in unix?
Enlist some filename manipulation commands in unix.
Is command prompt unix?
How do I clear my terminal history?
What is the function of grep command in unix?
What do chown command do?
Write a command to display a file’s contents in various formats?
Is ‘du’ a command? If so, what is its use?
What is the use of tee command?
How do I run a whois command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is grep short for?