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
Describe the zip/unzip command using gzip.
What is the pipe command?
What is the use of the tee command?
Which command is used to restrict incoming messages?
What does the md command do?
What is unix command line?
How do I open a port?
What's a command word?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Who command in unix operating system?
What is the size of time_t?
Why is shebang used?
How do I find previous commands in unix?
What command is used to check the current users?
What do chmod, chown, chgrp commands do?