Interview questions

Unix interview questions – page 6

373 questions. Tap “Show answer” to check yourself.

  1. What is the main advantage of creating links to a fileinstead of copies of the file?

  2. How many prompts are available in a UNIX system?

  3. How to find free space in Unix/Linux?

  4. ACL in UNIX refers to A. Acces Control List B. Action Control List C. Application Command Language D. Advanced C lanuage

  5. Where is kernel located in unix?

  6. What is an inode?

  7. How to open a Database using Unix Command Please Do Reply

  8. Explain the following commands.

  9. What are shell variables?

  10. Distinguish between multi-tasking,multi-user,multi-processing and time sharing?

  11. What is difference between system call and system program?

  12. What is relative path and absolute path.

  13. On a system with paging, a process cannot access memory that it does not own; why? How could the operating system allow access to other memory? Why should it or should it not?

  14. What is PRC ?

  15. What is the working set of a process?

  16. How are the wait/signal operations for monitor different from those for semaphores?

  17. What is the command to get the list of files in a directoryin unix?

  18. What is the use of "fg" command ?

  19. What is the main component of operating system

  20. What are some useful Unix or C books?

  21. What is the unix command used for giving or changing the permissions for files and folders?

  22. How to find the files that are accessed before 10 minutes?

  23. What happened to the pronunciation list that used to be part of this document?

  24. How do I {set an environment variable, change directory} inside a program or shell script and have that change affect my current shell?

  25. What are the daemons will run when the system is booting?

  26. There are two threads, one produces even number and other produces odd number, how will you print the consecutive numbers.

  27. How you will uncompress the file?

  28. Using sed print last 10 lines from a file

  29. If one wants the output of one command( command1) to be printed inthe printer as well as to be added to another file (outfile) which one of the following is a correct command he can give? (a) $command1 >>outfile|tee lpr (b)...

  30. Dd is mainly used for A. dealing with raw, unformated data, whatever the source B. dealing with data dictionary C. deleting a directory D. none of the above

Companies that ask Unix questions