Why is it called a shebang?
No Answer is Posted For this Question
Be the First to Post Answer
in UNIX,what is the command to remove directory with files?
What is the use of find command in unix?
what does the 'tee' command do?
Are you in or at the office?
which command is used to change group?
describe the escaping sequence characteres in unix
How to get a particular string as your prompt ? Give syntax of that command?
How to create hardlinks and softlinks on files?
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<stdlib.h> # include <stdio.h> 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:
What are the dos commands?
How to check the flavor of UNIX?
What is the use of pipes?