Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can we use cat command as an editor ..???

Answer Posted / manjunatha

yes

Is This Answer Correct ?    20 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is used to type command?

1040


Explain the steps that a shell follows while processing a command.

1201


What is the unix command to confirm a remote host is alive or not?

1175


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1186


Explain ‘system calls’ with respect to unix commands?

1070


Which command is used to find whether the system is 32 bit or 64 bit?

1102


Name the general commands in using unix os for a beginner?

1119


What is grep and how do you use it?

1084


Write a command to display a file’s contents in various formats?

1173


What is grep in bash?

1030


What are the general commands in using unix os for a beginner?

1138


Differentiate cat command from more command.

1113


What is .sh file?

1142


Who invented grep?

1140


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:

2232