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
How do I use grep to search for a file?
How do you grep recursively?
Explain ‘system calls’ with respect to unix commands?
Can you enlist some commonly used network commands?
Can you explain a little bit about command substitution?
Which command is used to copy files?
Which command can you use to find the currently running process in unix server?
Which command is used to find whether the system is 32 bit or 64 bit?
What is the use of the tee command?
What is the size of time_t?
What does the command ' $who | sort –logfile > newfile' do?
Name the unix command to find how many days the server has been up.
What does sed command do in unix?
What is “chmod” command?
What is the use of tee command?