How to add content of one file into another file at the beginning
Answer Posted / dick
concatenate file1 and file2, in the below command file1 content will be insert in front of that in file2, and then combined content will be redirected to file3
cat file1 file2 > file3
Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What is the comma to show the space allocation of files?
What does this command do,"$more readme.txt“?
Which command can you use to find the currently running process in unix server?
What does the command ' $who | sort –logfile > newfile' do?
What is the first character of the output in ls l command?
What does the command '$ls | wc –l > file1' do?
What is the significance of the 'tee' command?
What is command substitution?
Which command is used to find whether the system is 32 bit or 64 bit?
What is the general format of unix command syntax?
What is s and g in sed command?
How can we use grep command in unix?
What is the nmap command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Which unix command to make a new directory?