Q. Which argument with locate command helps us to ignore the case while searching the file in the Linux system?

  • (A) -c
  • (B) -i
  • (C) -a
  • (D) -x
πŸ’¬ Discuss
βœ… Correct Answer: (B) -i

Q. Which is the correct command syntax to locate a file containing the words "hello" and "this"?

  • (A) locate -i *hello*this
  • (B) locate -i **hello**this
  • (C) locate -i *hello*this*
  • (D) locate -i **hello**this**
πŸ’¬ Discuss
βœ… Correct Answer: (A) locate -i *hello*this

Q. Which Linux command is used to display the content of a file?

  • (A) display
  • (B) show
  • (C) echo
  • (D) cat
πŸ’¬ Discuss
βœ… Correct Answer: (D) cat

Q. If you want any command to be done with administrative or root privileges, you can use the ___ command.

  • (A) sud
  • (B) sudo
  • (C) super
  • (D) superuser
πŸ’¬ Discuss
βœ… Correct Answer: (B) sudo

Q. The "sudo" command stands for ___.

  • (A) su
  • (B) superuser does
  • (C) superuser do
  • (D) super do
πŸ’¬ Discuss
βœ… Correct Answer: (C) superuser do

Q. Which Linux command is used to see the available disk space in each of the partitions in your system?

  • (A) disk
  • (B) diskspace
  • (C) available
  • (D) df
πŸ’¬ Discuss
βœ… Correct Answer: (D) df

Q. Which Linux command is used to check the computer's hostname?

  • (A) hostname
  • (B) host
  • (C) comph
  • (D) hname
πŸ’¬ Discuss
βœ… Correct Answer: (A) hostname

Q. The ___ command gives you your IP address in your network.

  • (A) hostname
  • (B) hostname -I
  • (C) host -I
  • (D) hostname -i
πŸ’¬ Discuss
βœ… Correct Answer: (B) hostname -I

Q. Which Linux command is used to check your connection to a server?

  • (A) connection
  • (B) isconnect
  • (C) check
  • (D) ping
πŸ’¬ Discuss
βœ… Correct Answer: (D) ping

Q. Which Linux command is used to clear the terminal if it gets filled up with too many commands?

  • (A) clear
  • (B) clean
  • (C) cls
  • (D) clr
πŸ’¬ Discuss
βœ… Correct Answer: (A) clear