Unix Commands Interview Questions
Questions Answers Views Company eMail

What are file permissions in Unix, and how are they represented?

2 438

How do you change file permissions and ownership in Unix?

2 469

What are Unix processes, and how do you manage them?

1 524

What is a Unix signal, and how do you handle them?

2 572

How do you find files in Unix?

2 535

What is the difference between a hard link and a soft link in Unix?

1 535

How do you create a directory in UNIX?

1 446

How do you remove a directory?

1 498

How do you move or rename a file or directory?

1 388

How can you copy files or directories?

1 420

How would you find the size of a file or directory?

1 492

How can you create a symbolic link to a file or directory?

1 494

How are UNIX file permissions represented?

1 417

How do you change file permissions?

1 481

How can you change the owner or group of a file?

1 426


Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

Is command prompt unix?

798


Why is it called grep?

756


What difference between cmp and diff commands?

962


What does grep v do?

767


What is the command to view process running?

810


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:

1976


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

888


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

898


What does this command do? Cat food 1 > kitty

1240


How does shebang work?

808


Which command is used to kill the last background job?

1016


How do I run a whois command?

840


Which command is used to delete all files in the current directory and all its sub-directories?

953


What is ‘ps’ command for?

858


What are file commands?

865