Unix/Lunux MCQ Quiz Hub

Unix MCQS Set 4

Choose a topic to test your knowledge and improve your Unix/Lunux skills

1. The File that contains a set of instructions which are performed when a user logs in, is




2. The octal representation 652 indicates




3. Which of the following command is used to count just the number of lines contained in a file?




4. Which of the following command is used to go to home directory?




5. Which command is used to move all files to the bin sub-directory of the parent directory?




6. Which command is used to save the standard output in a file, as well as display it on the terminal?




7. The command that can be used to restrict incoming messages to a user is




8. Which of the following commands is used to copy directory structures in and out




9. Which of following commands is used for an automatic reminder service?




10. Which command allows you to view your file 24 lines at a




11. Which of the following special shell variables is used to process number of the current shell?




12. Which command is used with vi editor scroll half page backward?




13. Which command is used with vi editor to move cursor forward to first occurrence of character 'ch' in the current line?




14. Which of the following keys is used to delete the character beneath the cursor?




15. Which command is used to assign only read permission to all three categories of the file 'note'?




16. Which command will be used with vi editor to append text at end of line?




17. The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has




18. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?




19. Which of the following shell's wildcards are used to match any number of characters including none?




20. The command used to remove the directory is;




21. Which symbol will be used with grep command to match the pattern pat at the end of a line?




22. Which command is used to display all the lines with the string 'sales' from the file empl.lst?




23. Which of the following commands is not the vi Input mode command?




24. Which of the following commands is used to remove files?




25. Which command is used with vi editor to save file and remain in the editing mode?




26. You can append to a file instead of overwriting by using the




27. The [line number G] key allows you




28. Which of the following commands is used to have a two-way communication with any person who is currently logged in?




29. Which command is used with vi editor to move the cursor to the left?




30. Which of command is used to copy a file?




31. The special shell variable $* is used




32. The cat command is used to




33. The UNIX file system stores a data in physical blocks of




34. Which command is used to terminate all processes in your own system except the login shell?




35. Which operator will be used with chmod command to assign absolute permission?




36. Which command is used to link the files?




37. Which of the following signs is used to back up over typing errors in vi?




38. Which of are following internal commands is used in mail to forward mail to user in user-list?




39. Which of are following internal commands is used in mail to forward mail to user in user-list?




40. Which of the following commands is used to display the filenames in multiple columns?




41. Which command is used with file named 'note' to remove the executable permission from the user and assign read permission to the group and others?