What are file commands?
No Answer is Posted For this Question
Be the First to Post Answer
Write a command to find all of the files which have been accessed within the last 30 days.
What is sed awk grep?
how many types of file in unix?
34 Answers MNC, TCS,
Why is grep called grep?
Does cp command overwrite files?
what do you understand bythe term 'de-mountable volumes'?
How to remove a crontab file?
Explain mount and unmount command.
In UNIX, what is the command to kill a process?
What is the basic difference between unix and windows operating systems?
43 Answers Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,
If we want to see first 35 lines of a file which command we have to use?
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: