What is s and g in sed command?
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:
Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.
what is kernel?
their is a file1,file2 and i want to append file1 data to file2?
What is updatedb?
What is Unix, and how does it differ from other operating systems?
How to view the hidden files in /etc directory?
Which command is used to kill the last background job?
Give command that will make the file "run.sh" executable?
why unix commands can be divided into internal and external commands?
How to delete a directory containing files and folders?
What is the unix command to confirm a remote host is alive or not?