Q. What command is used to remove the directory?

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

Q. What command is used with vi editor to delete a single character?

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

Q. What hardware architectures are not supported by Red Hat?

  • (A) SPARC
  • (B) IBM-compatible
  • (C) Alpha
  • (D) Macintosh
πŸ’¬ Discuss
βœ… Correct Answer: (D) Macintosh

Q. How can you add Amit, a new user, to your system?

  • (A) Using useradd
  • (B) Using adduser
  • (C) Using linuxconf
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Q. How could you install the file ipchains-1.3.9-5.i386.rpm?

  • (A) rpm -qip ipchains
  • (B) rpm -Uvh ipchains
  • (C) rpm -i ipchains* .i386.rpm
  • (D) rpm -e ipchains-1.3.9-5.i386.rpm
πŸ’¬ Discuss
βœ… Correct Answer: (C) rpm -i ipchains* .i386.rpm

Q. What does FSF stand for?

  • (A) Free Software File
  • (B) File Server First
  • (C) First Serve First
  • (D) Free Software Foundation
πŸ’¬ Discuss
βœ… Correct Answer: (D) Free Software Foundation

Q. What command do you use to create Linux file systems?

  • (A) fdisk
  • (B) mkfs
  • (C) fsck
  • (D) mount
πŸ’¬ Discuss
βœ… Correct Answer: (B) mkfs

Q. Which of the following command can you execute to count the number of lines in a file?

  • (A) lc
  • (B) wc - l
  • (C) cl
  • (D) count
πŸ’¬ Discuss
βœ… Correct Answer: (B) wc - l

Q. What command is used to display the characteristics of a process?

  • (A) au
  • (B) ps
  • (C) du
  • (D) pid
πŸ’¬ Discuss
βœ… Correct Answer: (B) ps

Q. What command is used to list only the files chap0l, chap02 and chap04?

  • (A) ls chap*
  • (B) ls chap[124]
  • (C) ls - x chap0[124]
  • (D) ls chap0[124]
πŸ’¬ Discuss
βœ… Correct Answer: (C) ls - x chap0[124]