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

Post New Answer

More Unix Commands Interview Questions

Why we are using UNIX OS when we are doing the testing in our application?

5 Answers   IBM,


How to get the last ten lines of a file using awk utility?

1 Answers   Infosys,


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:

0 Answers  


What is grep in bash?

0 Answers  


fork in unix ?

4 Answers   BFL,






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

8 Answers   3i Infotech, IBM,


How do I clear my terminal history?

0 Answers  


What is grep and sed command?

1 Answers  


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

0 Answers  


What command will change your prompt to myprompt?

0 Answers  


How do I delete files from command prompt?

0 Answers  


What does #!/ Bin sh do?

0 Answers  


Categories