Unix Commands Interview Questions
Questions Answers Views Company eMail

How do I use grep to find a file?

573

What is awk used for?

611

What does grep v do?

553

What is grep and how do you use it?

567

What is the difference between grep and grep?

563

Why is awk called awk?

573

What does pipe () return?

585

Why is grep called grep?

771

What is grep short for?

547

What are grep patterns?

571

Are you in or at the office?

607

How do you grep recursively?

545

What is grep r?

582

How do I open a port?

581

What does #!/ Bin sh do?

580


Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

Give the command for finding the current date.

573


What is .sh file?

611


What will the following command do?

607


What command will change your prompt to myprompt?

692


Is command prompt unix?

570






What is awk command used for?

596


Are you in or at the office?

607


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 # include 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:

1752


What is the command to find maximum memory taking process on the server?

662


Explain the steps that a shell follows while processing a command.

678


What is the significance of the 'tee' command?

591


What are bash commands?

586


How do I use grep to find a file?

573


What is awk used for?

611


how to sort the content of the file based on numeric values

1240