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
Who command in unix?
What does #!/ Bin sh do?
How do I use nslookup?
How can you see the command line history?
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 I run a bash script?
What is ctrl d?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Which command is used to kill the last background job?
Who command in unix operating system?
What does this command do,"$more readme.txt“?
What is the significance of the 'tee' command?
What are the differences among a system call, a library function, and a unix command?
What is time_t?
What do chown command do?