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
How to use grep command to list find the records of a file containing 10 different strings?
What is the first character of the output in ls l command?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the use of the tee command?
What is unix command line?
What is $0 bash?
Name the general commands in using unix os for a beginner?
Differentiate cat command from more command.
What is the functionality of a top command?
What is updatedb?
What is the general format of unix command syntax?
What are bash commands?
What does #!/ Bin sh do?
What is the use of cut command in unix?
What is grep and how do you use it?