Unix Commands Interview Questions

  1. What are shell variables?
  2. Explain about lpr filename?
  3. Brief about finger username?
  4. Explain about gzip filename?
  5. Explain about lprm job number?
  6. Explain about the command lynx?
  7. Brief about the command kill PID?
  8. Explain about document formatting?
  9. What is a pipe and give an example?
  10. What will the following command do?
  11. Explain about chmod options filename?
  12. Explain about system and user utilities?
  13. State and explain about features of UNIX?
  14. Is it possible to restrict incoming message?
  15. Difference between Grep and Find command?
  16. Create a read-only file in your home directory?
  17. How do you see command line history in UNIX?
  18. Explain about communication features in UNIX?
  19. What does the command? $ls | wc? l > file1? do?
  20. What is the significance of the? Tee? Command?
  21. Write a command to kill the last background job?
  22. Is it possible to create new a file system in UNIX?
  23. What difference between cmp and diff commands?
  24. Write command to list all the links from a directory?
  25. How many prompts are available in a UNIX system?
  26. What is the difference between Swapping and Paging?
  27. How to switch to a super user status to gain privileges?
  28. What is the difference between cat and more command?
  29. How do you find which process is taking how much CPU?
  30. What are all UNIX commands we are using in informatica?
  31. Name the data structure used to maintain file identification?
  32. Is it possible to count number char, line in a file; if so, How?
  33. Write a command to display a file?s contents in various formats?
  34. How does the kernel differentiate device files and ordinary files?
  35. How will you find which operating system your system is running on in UNIX?
  36. How to terminate a process which is running and the specialty on command kill 0?
  37. Which command is used to delete all files in the current directory and all its sub-directories?
  38. How is the command?$cat file2? Different from? $cat >file2 and >> redirection operators?
  39. In UNIX 50 records are there, I want to retrieve the 20-30 records & i want 23 record which commands we are using?
  40. Using the commands ps, cut, TR and kill, along with pipes, write a command that will find all sleep processes running on the system and kill them?