Name the unix command to find how many days the server has been up.
No Answer is Posted For this Question
Be the First to Post Answer
Why we are using UNIX OS when we are doing the testing in our application?
How to get the last ten lines of a file using awk utility?
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 is grep in bash?
fork in unix ?
What Is the command to change a file's creation time. means one file is created at the time 15:19 then time should br changed to 14:14
How do I clear my terminal history?
What is grep and sed command?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What command will change your prompt to myprompt?
How do I delete files from command prompt?
What does #!/ Bin sh do?