Name the various commands that are used for the user information in unix.
No Answer is Posted For this Question
Be the First to Post Answer
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 file permissions in Unix, and how are they represented?
their is a file1,file2 and i want to append file1 data to file2?
Why is it called a shebang?
What is the difference between udp and tcp?
What is grep r?
How to see unused port number in Solaris?
What is the difference between cat and more command?
What happens when we execute a unix command?
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
What do know about tee command?
the difference between a soft link and a hard link?