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

Answer Posted / shilpi gupta

cat file1 file2 >>file3|mv file3 file2

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences among a system call, a library function, and a unix command?

789


How do you grep recursively?

764


Using unix command how to display no of records in oracle?

823


What does this command do? Cat food 1 > kitty

1220


What do chmod command do?

803


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:

1961


What will the following command do?

803


Which command can you use to find the currently running process in unix server?

774


Who command in unix operating system?

850


How do I search for text in vi?

757


What is the use of tee command?

753


Name the various commands that are used for the user information in unix.

765


How to use grep command to list find the records of a file containing 10 different strings?

832


why metadb requires a seperate slice to create Solaris volume manager

2766


What are awk commands?

791