Unix
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state

Unix questions with answers

97 multiple-choice questions. Open any question for its answer and explanation.

  1. Which of the following commands is used to display the directory attributes rather than its contents?
  2. Which of the following files will displayed by this command cat *ch*
  3. The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is
  4. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use
  5. Which of the following is not a communication command.
  6. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is
  7. Which command is used to remove a file?
  8. Which symbol is used to separate more than one command in the same command line?
  9. The agency that sits between the user and the UNIX system is called the
  10. Which command is used to count just the number of characters in a file?
  11. Which of the following commands is used to list contents of directories?
  12. Which command is used to display a file contents in octal form?
  13. In vi editor, forward search is performed using the command.
  14. Which of the following special shell variables is used to process number of the last background job?
  15. Which option will be used with ps command to slow the entire command line of the process being run?
  16. Which of the following command addresses all users who are currently hooked on?
  17. Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it
  18. Which of the following directories contain all the Alias created by a user, including his login directory?
  19. Which of the following commands is used to obtain a list of all files by modification time?
  20. The % key allows you
  21. Which command is used to display the characteristics of a process?
  22. The field separator in cut command is specified with
  23. Which of the following options will be used to display number of blocks used by a file?
  24. Which option will be used with touch command to change the access time? A. -a B. -b C. -t D. -h E. None of the above
  25. Which command is used to make all files and sub-directories in the directory (progs) executable by all users?