How to add content of one file into another file at the beginning

Answer Posted / durgesh srivastava

if file1 conation go on file2 .............
cat file1 >> file2

Is This Answer Correct ?    6 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1070


What does the metacharacter mean?

692


How do I open a port?

666


Why is shebang used?

687


What does this command do,"$more readme.txt“?

776






What is awk used for?

701


What does the command ' $who | sort –logfile > newfile' do?

892


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1851


Is ‘du’ a command? If so, what is its use?

719


What is the command to view process running?

676


Is it inbetween or in between?

660


What command is used to switching between users in unix?

656


Describe the usage and functionality of the command rm –r * in unix?

921


What does find command return in unix?

695


Who wrote grep?

660