Explain the steps that a shell follows while processing a command.
No Answer is Posted For this Question
Be the First to Post Answer
What is unix command?
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:
if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.
How do you list the files in an UNIX directory while also showing hidden files?
Which unix command lists files/folders in alphabetical order?
Can you explain a little bit about command substitution?
in UNIX ,What is the command to view contents of a large error log file?
How to setup Disk space as well as memory in solaris10?
How to display no of records in oracle using unix command?
Why is awk called awk?
How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.
3 Answers Amazon, MBA, Syntel, TCS, Unisys,
How can we use grep command in unix?