How to add content of one file into another file at the beginning
Answer Posted / preet mala
If we want to add content of file1 at the beginning of file2
then use the following command:-
cat file2 file1 >> file3 | mv file3 file2;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the use of the command 'ls -x chapter[1-5]' ?
What is in grep command?
What difference between cmp and diff commands?
What does grep v grep do?
Explain ‘system calls’ with respect to unix commands?
What does the metacharacter mean?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How does pipe () work?
Name the various commands that are used for the user information in unix.
How do you repeat a command in terminal?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Does cp command overwrite files?
How do I open a port?
How do I search a whole word in vim?
What is unix command?