Q. Which of the following directory contains configuration files in Linux?

  • (A) /dev/
  • (B) /etc/
  • (C) /bin/
  • (D) /root/
πŸ’¬ Discuss
βœ… Correct Answer: (B) /etc/

Q. The maximum filename size in Linux in bytes is 255.

  • (A) True
  • (B) False
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) True

Q. Which command is used to remove files?

  • (A) rm
  • (B) dm
  • (C) erase
  • (D) delete
πŸ’¬ Discuss
βœ… Correct Answer: (A) rm

Q. ____________ command is used to remove the directory.

  • (A) rdir
  • (B) rd
  • (C) rmdir
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) rmdir

Q. How many primary partitions can exist on one drive?

  • (A) 16
  • (B) 1
  • (C) 2
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (D) 4

Q. ___________is not a communication command.

  • (A) mail
  • (B) mesg
  • (C) grep
  • (D) write
πŸ’¬ Discuss
βœ… Correct Answer: (C) grep

Q. Which of the following combination of keys is used to exit from terminal?

  • (A) Ctrl + z
  • (B) Ctrl + t
  • (C) Ctrl + d
  • (D) Ctrl + e
πŸ’¬ Discuss
βœ… Correct Answer: (C) Ctrl + d

Q. The OS which is not based on Linux is

  • (A) BSD
  • (B) Ubuntu
  • (C) CentOs
  • (D) Redhat
πŸ’¬ Discuss
βœ… Correct Answer: (A) BSD

Q. ___________command is used to record session in Linux.

  • (A) session
  • (B) script
  • (C) both A and B
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) both A and B

Q. mv command can be used for

  • (A) Renaming a file
  • (B) Move the file to different directory.
  • (C) Both A and B
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both A and B