How do I run a bash script?
No Answer is Posted For this Question
Be the First to Post Answer
If JFS file system is 100% full how we can increase the file system ?
what is the default signal kill in unix?
in a growing log file how will you see the 1st 99 lines?
Name the various commands that are used for the user information in unix.
Can you write a command to erase all files in the current directory including all its sub-directories?
How do you know about running processes of a particular user?
write grep commands to select the lines that have exactly two characters
How can you copy files or directories?
What do chmod command do?
what is the command to list all files in a directory, including the hidden files in UNIX ?
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 command in unix with examples?