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
Why is it called a shebang?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
How do you repeat a command in terminal?
How does pipe () work?
What are the unix commands?
What is grep r?
What is the comma to show the space allocation of files?
Give the command for finding the current date.
What is used to type command?
Which command will print your home directory on screen?
What is in grep command?
What is time_t?
Enlist some filename manipulation commands in unix.
How do I use grep to find a file?
Write a command to kill the last background job?