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 is awk good for?
How do I delete files from command prompt?
What does the md command do?
What does awk stand for?
Which command will print your home directory on screen?
Enumerate some of the most commonly used network commands in unix?
What do chown command do?
How do you repeat a command in terminal?
What does the command '$ls | wc –l > file1' do?
Which command can you use to find the currently running process in unix server?
how to sort the content of the file based on numeric values
How do I run a bash script?
What is in grep command?
Which command is used to restrict incoming messages?
Enlist some filename manipulation commands in unix.