What is .sh file?
No Answer is Posted For this Question
Be the First to Post Answer
What Command will remove a Directory 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:
How to display a file name which has zero bytes in size.
what is shell?
How to delete a directory containing files and folders?
How would you change all occurrences of a value using VI?
What is the command to compare two files in unix?
how to sort the content of the file based on numeric values
Describe the usage and functionality of the command rm –r * in unix?
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
What does sed command do in unix?
what is the difference between Touch & cat command