LINUX - MCQs > FREE SET - 3

1. Who founded the Linux Kernel?
A Bill Gates
B Ben Thomas
C Richard Stallman
D Linus Torvalds

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

2. LILO
A stands for Linux loader
B is the Linux boot loader
C is a tool used to boot the Kernel on x86 hardware
D All of the above

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

3. Which command can force all buffers to disk?
A save
B sync
C edbuff
D flush

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.

4. What command is used in Linux to change the working directory?
A cdir
B chdir
C changedir
D cd

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

5. How can you rebuild the RPM file to include the new patches?
A - - recompile
B - - rebuild
C - - generate
D - - execute

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

6. What command is used in Linux to display and create files?
A lyrix
B ed
C vi
D cat

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

7. What command is used in Linux with vi editor to move forward to the end of a word?
A c
B d
C b
D e

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

8. Which daemon is used for the Apache server?
A apached
B httpd
C html
D shttp

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.

9. What command do you use to delete a file in Linux?
A rename
B delete
C rm
D cp

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

10. Which of the following command lists the last 10 lines of a file?
A grep
B tail
C head
D cat

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.

11. What command is used in Linux to terminate a process?
A kill
B cancel
C haltsys
D shutdown

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

12. What hardware architectures are not supported by Red Hat?
A SPARC
B IBM-compatible
C Alpha
D Macintosh

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

13. What service is used to translate domain names to IP addresses?
A NFS
B SMB
C NIS
D DNS

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

14. In which directory can you store system user default files used for creating user directories in Linux?
A /usr/tmp
B /etc/default
C /etc/skel
D /etc/users

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

15. Which of the following is not a Linux communication command?
A grep
B mail
C mesg
D write

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

16. What sign is used in Linux to erase or kill an entire line you have typed and start you are on a new line but not display a new prompt?
A !
B $
C #
D @

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

17. What protocol is allowed an user to retrieve her/his mail from the mail server to her/his mail reader?
A POP3
B FTP
C MAP
D All of the above

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

18. Which of the following is the main Apache configuration file?
A /etc/apache.conf
B /etc/httpd/config.ini
C /etc/httpd/conf/httpd.conf
D /etc/srm.conf

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

19. In OSI network architecture, the dialogue control and token management are responsible of
A data link layer
B transport layer
C network layer
D session layer

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

20. What command is used in Linux to save the standard output in a file, as well as display it on the terminal?
A tee
B grep
C cat
D more

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

21. What command is used in Linux with vi editor to delete three words?
A 3$d
B 3 dw
C 3 x
D 3 dd

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.

22. What command is used in Linux to assign only read permission to all three categories of the file 'letter'?
A chmod u + r, g + r, o - x letter
B chmod ugo = r letter
C chmod a - rw letter
D chmod go + r letter

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.

23. What command is used in Linux to count the total number of lines, words, and characters contained in a file?
A countw
B wcount
C wc
D count p

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

24. What command is used in Linux to remove files?
A dm
B rm
C delete
D erase

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.

25. What does FSF stand for?
A Free Software File
B File Server First
C First Serve First
D Free Software Foundation

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

26. Which of the following is a valid format in Linux 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

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

27. What command is used in Linux to sort the lines of data in a file in alphabetical order?
A sort - r
B st
C sh
D sort

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

28. What command is used in Linux with vi editor to save file and remain in the editing mode?
A x
B q!
C :w
D :q

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

29. In which tcp wrappers file can you specify to allow all connections from all hosts?
A /etc/hosts.allow
B /etc/hosts.deny
C /etc/hosts
D /etc/tcp.conf

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

30. What shell's wild-card in Linux is used to match any number of characters including none?
A *
B ?
C [!ijk]
D [ijk]

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

31. RPM
A stands for Red Hat Package Manager
B is used to install, uninstall, and manage packages
C is used to keep track of the users
D assigns a dynamic IP address

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

32. What command is used in Linux to query for a specific package with RPM?
A rpm -q
B rpm -a
C rpm -d
D rpm -1

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

33. What command is used in Linux to display a file contents in octal form?
A oct
B of
C od
D cd

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

34. What command is used in Linux to assign executable permission to all of the files named "report"?
A chmod ugo + x report
B chmod u + x report
C chmod ugo + rw report
D chmod ugo + r report

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

35. What of the following tool is used to check and repair Linux file systems?
A mkfs
B fdisk
C fsck
D mount

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

36. Which of the following tool is used to partition your hard drive in Linux?
A mkfs
B fdisk
C fsck
D mount

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.

37. GNOME is based on
A CORBA toolkit
B COM/DCOM toolkit
C ORE toolkit
D OLE DB toolkit

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

38. What can be used to set up a firewall on a Linux system?
A netstat
B route
C trace
D ipchains

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

39. What shell's wild-card in Linux is used to match a single character?
A [!ijk]
B [ijk]
C ?
D *

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

40. What command is used in Linux to copy a file?
A tar
B cpio
C cp
D copy

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

41. After you have compiled your kernel, what do you have to edit to boot your new kernel image?
A /boot/lilo.conf
B /etc/conf.modules
C /etc/named.boot
D /etc/lilo.conf

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

42. To create an installation boot floppy disk from Linux machine, what command could you use?
A fdisk
B fsck
C dd
D rawrite

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

43. What command is used in Linux to remove the directory?
A rdir
B remove
C rd
D rmdir

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

44. What command is used in Linux with vi editor to delete a single character?
A x
B y
C a
D z

Free MCQs www.sharemcq.com     Answer: Option A
Explanation:
Available Soon.

45. Which of the following command is used to create a Linux installation boot floppy?
A mkboot disk
B bootfp disk
C ww and rawwrite
D dd and rawrite

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

46. How can you add Sumit, a new user, to your system in Linux?
A Using useradd
B Using adduser
C Using linuxconf
D All of the above

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

47. What command is used in Linux to display the characteristics of a process?
A au
B ps
C du
D pid

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.

48. What command is used in Linux to list the files chap0l, chap02 and chap05?
A ls chap*
B ls chap[125]
C ls - x chap0[125]
D ls chap0[125]

Free MCQs www.sharemcq.com     Answer: Option C
Explanation:
Available Soon.

49. What command is used in Linux with vi editor to search a pattern in the forward direction?
A ??
B //
C ?
D /

Free MCQs www.sharemcq.com     Answer: Option D
Explanation:
Available Soon.

50. What command is used in Linux to add printing jobs to the queue?
A lpd
B lpr
C lpq
D lpc

Free MCQs www.sharemcq.com     Answer: Option B
Explanation:
Available Soon.


No comments:

Post a Comment

Your Feedback is hearty Requested to make the MCQs Collection better.

Popular Posts