Can you explain a little bit about command substitution?
No Answer is Posted For this Question
Be the First to Post Answer
which script will invoke first ,when /etc/init.d starts
what are the different operating systems available?
How to install scsi driver in unix? give me explanation clearly?
What does this command do,"$more readme.txt“?
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 the difference between Touch & cat command
What is the behavioural difference between cmp and diff commands?
How do you know about running processes of a particular user?
What is s and g in sed command?
How many unix commands are there?
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:
How can you see the command line history?