Unix Programming Interview Questions

  1. What does fork () do?
  2. Explain the unix file system?
  3. Explain about kill command?
  4. Describe about awk and sed?
  5. Explain about trap command?
  6. Explain about sort command?
  7. How do you debug a core dump?
  8. Explain about the case statement?
  9. Explain about yacc parser generator?
  10. Explain about the shell variable IFS?
  11. Explain the basic forms of each loop?
  12. Who helped you put this list together?
  13. How are devices represented in UNIX?
  14. How do u open a read only file in Unix?
  15. Explain about the command overwrite?
  16. What are some useful Unix or C books?
  17. How do I find the creation time of a file?
  18. What type of scheduling is used in Unix?
  19. How do I get a recursive directory listing?
  20. How do I tell inside .cshrc if I’m a login shell?
  21. Explain difference between IPC mechanisms?
  22. What is CVS? List some useful CVS commands?
  23. What is the major advantage of a hash table?
  24. Brief about the directory representation in UNIX?
  25. What’s the difference between fork () and vfork ()?
  26. How do I get the current directory into my prompt?
  27. How do I ring the terminal bell during a shell script?
  28. How would you create shared and dynamic libraries?
  29. How do I redirect stdout and stderr separately in csh?
  30. How can a process detect if it’s running in the background?
  31. Why use _exit rather than exit in the child branch of a fork?
  32. What are the steps to take files from unix server to windows?
  33. What are the differences between Shared and Dynamic libraries?
  34. Give examples of how memory leaks can occur with c programs?
  35. What are the techniques that you use to handle the collisions in hash tables?
  36. What happened to the pronunciation list that used to be part of this document?
  37. How do I construct a shell glob-pattern that matches all files except “.” and “..??
  38. If you want to migrate a 32 bit application to a 64 bit os, what all would you check?
  39. How would you remove a semaphore / shared memory whose owner processes have died?
  40. Explain about the rules used in overwrite to preserve the arguments to the users command?