How to add content of one file into another file at the beginning
Answer Posted / rakesh kumar ray
cat > file1
rakesh
kumar
ray
cntrl + d
cat > file2
rintu
rohan
rocky
cntrl +d
cat < file1 > file2
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is ctrl d?
What is the difference between awk and grep?
What is the difference between cat command and more command?
What does pipe () return?
How do I use grep to search for a file?
Which command can you use to find the currently running process in unix server?
How do I find previous commands in unix?
What is pipe command in unix?
Can you explain a little bit about command substitution?
Describe the usage and functionality of the command rm –r * in unix?
What is the use of the tee command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the general format of unix command syntax?
How do I search for a file in unix command?
Are you in or at the office?