What are file commands?
What command will change your prompt to myprompt?
What is the command to check ports active in UNIX?
What is the difference between udp and tcp?
What is awk used for?
Give the command to display space usage on the UNIX file system.
Briefly, how do you install Oracle software on 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 the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......
What is the command to find hidden files in the current directory?
How do I run a whois command?
Who invented grep?
How to find the files that are accessed before 10 minutes?