Computer Science - Linux

Computer Science - Linux
11. How can you add Amit, a new user, to your system?
  • Using useradd
  • Using adduser
  • Using linuxconf
  • All of the above
Show Answer
12. What file specifies the order in which to use specified name services?
  • /etc/services
  • /etc/nsorder
  • /etc/nsswitch.conf
  • /etc/hosts
Show Answer
13.  How many primary partitions can exist on one drive?
  • 16
  • 4
  • 2
  • 1
Show Answer
14. In which directory can you store system user default files used for creating user directories?
  • /usr/tmp
  • /etc/default
  • /etc/skel
  • /etc/users
Show Answer
15. How could you install the file ipchains-1.3.9-5.i386.rpm?
  • rpm -qip ipchains
  • rpm -Uvh ipchains
  • rpm -i ipchains* .i386.rpm
  • rpm -e ipchains-1.3.9-5.i386.rpm
Show Answer
16. What does FSF stand for?
  • Free Software File
  • File Server First
  • First Serve First
  • Free Software Foundation
Show Answer
17. Which of the following is a valid format for mounting a CD-ROM drive?
  • mount -t iso9660 /dev/cdrom / mnt/cdrom
  • mount /dev/cdrom
  • mount /mnt/cdrom
  • All of the above
Show Answer
18. What command do you use to create Linux file systems?
  • fdisk
  • mkfs
  • fsck
  • mount
Show Answer
19. Which of the following command can you execute to count the number of lines in a file?
  • lc
  • wc - 1
  • cl
  • count
Show Answer
20. Which of the following is not a communication command?
  • grep
  • mail
  • mesg
  • write
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test