How to add content of one file into another file at the beginning
Answer Posted / boss
cat file1 file2 > tmp && mv tmp file2
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does 'mkdir' command do in UNIX?
What is grep command in unix with examples?
What does #!/ Bin sh do?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the command to compare two files in unix?
What is the search command in unix?
What are awk commands?
What are bash commands?
Which command is used to find whether the system is 32 bit or 64 bit?
How does shebang work?
How do I open a port?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the behavioural difference between cmp and diff commands?
Using unix command how to display no of records in oracle?
How do I clear my terminal history?