Linux Questions and Answers

Practice Mode
Showing 10 of 51 questions
Q11
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
Answer: Option D
Q12
What file specifies the order in which to use specified name services?
  • A /etc/services
  • B /etc/nsorder
  • C /etc/nsswitch.conf
  • D /etc/hosts
Answer: Option C
Q13
 How many primary partitions can exist on one drive?
  • A 16
  • B 4
  • C 2
  • D 1
Answer: Option B
Q14
In which directory can you store system user default files used for creating user directories?
  • A /usr/tmp
  • B /etc/default
  • C /etc/skel
  • D /etc/users
Answer: Option C
Q15
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
Answer: Option C
Q16
What does FSF stand for?
  • A Free Software File
  • B File Server First
  • C First Serve First
  • D Free Software Foundation
Answer: Option D
Q17
Which of the following is a valid format for mounting a CD-ROM drive?
  • A mount -t iso9660 /dev/cdrom / mnt/cdrom
  • B mount /dev/cdrom
  • C mount /mnt/cdrom
  • D All of the above
Answer: Option D
Q18
What command do you use to create Linux file systems?
  • A fdisk
  • B mkfs
  • C fsck
  • D mount
Answer: Option B
Q19
Which of the following command can you execute to count the number of lines in a file?
  • A lc
  • B wc - 1
  • C cl
  • D count
Answer: Option B
Q20
Which of the following is not a communication command?
  • A grep
  • B mail
  • C mesg
  • D write
Answer: Option A
Questions and Answers for Competitive Exams Various Entrance Test