|
|
| linux Multiple Choice Question Material | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [1] What command is used to remove files? | ||||||||||||||
| (A) => dm | ||||||||||||||
| (B) => rm | ||||||||||||||
| (C) => delete | ||||||||||||||
| Answer =>> rm | ||||||||||||||
| [2] What command is used to remove the directory? | ||||||||||||||
| (A) => rdir | ||||||||||||||
| (B) => remove | ||||||||||||||
| (C) => rmdir | ||||||||||||||
| Answer =>> rmdir | ||||||||||||||
| [3] What command is used with vi editor to delete a single character? | ||||||||||||||
| (A) => x | ||||||||||||||
| (B) => y | ||||||||||||||
| (C) => a | ||||||||||||||
| Answer =>> x | ||||||||||||||
| [4] What hardware architectures are not supported by Red Hat? | ||||||||||||||
| (A) => SPARC | ||||||||||||||
| (B) => IBM-compatible | ||||||||||||||
| (C) => Macintosh | ||||||||||||||
| Answer =>> Macintosh | ||||||||||||||
| [5] The physical layer of a network | ||||||||||||||
| (A) => constructs packets of data and sends them across the network | ||||||||||||||
| (B) => controls error detection and correction | ||||||||||||||
| (C) => All of the above | ||||||||||||||
| Answer =>> All of the above | ||||||||||||||
| [6] What TCP/IP protocol is used for remote terminal connection service? | ||||||||||||||
| (A) => UDP | ||||||||||||||
| (B) => RARP | ||||||||||||||
| (C) => TELNET | ||||||||||||||
| Answer =>> TELNET | ||||||||||||||
| [7] How many networks and nodes per network, are allowed by the Class B network? | ||||||||||||||
| (A) => 127 networks and 16,777,216 nodes per network | ||||||||||||||
| (B) => 16,384 networks and 65,534 nodes per network | ||||||||||||||
| (C) => 2,097,152 networks and 254 nodes per network | ||||||||||||||
| Answer =>> 16,384 networks and 65,534 nodes per network | ||||||||||||||
| [8] What service is used to translate domain names to IP addresses? | ||||||||||||||
| (A) => NFS | ||||||||||||||
| (B) => NIS | ||||||||||||||
| (C) => DNS | ||||||||||||||
| Answer =>> DNS | ||||||||||||||
| [9] Which of the following command is used to create a Linux installation hoot floppy? | ||||||||||||||
| (A) => mkboot disk | ||||||||||||||
| (B) => bootfp disk | ||||||||||||||
| (C) => dd and rawrite | ||||||||||||||
| Answer =>> dd and rawrite | ||||||||||||||
| [10] How can you add Amit, a new user, to your system? | ||||||||||||||
| (A) => Using useradd | ||||||||||||||
| (B) => Using adduser | ||||||||||||||
| (C) => All of the above | ||||||||||||||
| Answer =>> All of the above | ||||||||||||||
| [11] What file specifies the order in which to use specified name services? | ||||||||||||||
| (A) => /etc/services | ||||||||||||||
| (B) => /etc/nsorder | ||||||||||||||
| (C) => /etc/nsswitch.conf | ||||||||||||||
| Answer =>> /etc/nsswitch.conf | ||||||||||||||
| [12] How many primary partitions can exist on one drive? | ||||||||||||||
| (A) => 16 | ||||||||||||||
| (B) => 4 | ||||||||||||||
| (C) => 2 | ||||||||||||||
| Answer =>> 4 | ||||||||||||||
| [13] In which directory can you store system user default files used for creating user directories? | ||||||||||||||
| (A) => /usr/tmp | ||||||||||||||
| (B) => /etc/default | ||||||||||||||
| (C) => /etc/skel | ||||||||||||||
| Answer =>> /etc/skel | ||||||||||||||
| [14] 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 | ||||||||||||||
| Answer =>> rpm -i ipchains* .i386.rpm | ||||||||||||||
| [15] What does FSF stand for? | ||||||||||||||
| (A) => Free Software File | ||||||||||||||
| (B) => File Server First | ||||||||||||||
| (C) => Free Software Foundation | ||||||||||||||
| Answer =>> Free Software Foundation | ||||||||||||||
| [16] Which of the following is a valid format for mounting a CD-ROM drive? | ||||||||||||||
| (A) => mount /dev/cdrom | ||||||||||||||
| (B) => mount /mnt/cdrom | ||||||||||||||
| (C) => All of the above | ||||||||||||||
| Answer =>> All of the above | ||||||||||||||
| [17] What command do you use to create Linux file systems? | ||||||||||||||
| (A) => fdisk | ||||||||||||||
| (B) => mkfs | ||||||||||||||
| (C) => fsck | ||||||||||||||
| Answer =>> mkfs | ||||||||||||||
| [18] Which of the following command can you execute to count the number of lines in a file? | ||||||||||||||
| (A) => lc | ||||||||||||||
| (B) => wc - l | ||||||||||||||
| (C) => cl | ||||||||||||||
| Answer =>> wc - l | ||||||||||||||
| [19] Which of the following is not a communication command? | ||||||||||||||
| (A) => grep | ||||||||||||||
| (B) => mail | ||||||||||||||
| (C) => mesg | ||||||||||||||
| Answer =>> grep | ||||||||||||||
| [20] What command is used to display the characteristics of a process? | ||||||||||||||
| (A) => au | ||||||||||||||
| (B) => ps | ||||||||||||||
| (C) => du | ||||||||||||||
| Answer =>> ps | ||||||||||||||
| [21] What command is used to list the files chap0l, chap02 and chap04? | ||||||||||||||
| (A) => ls chap* | ||||||||||||||
| (B) => ls chap[124] | ||||||||||||||
| (C) => ls - x chap0[124] | ||||||||||||||
| Answer =>> ls - x chap0[124] | ||||||||||||||
| [22] What command is used with vi editor to replace text from cursor to right | ||||||||||||||
| (A) => S | ||||||||||||||
| (B) => s | ||||||||||||||
| (C) => R | ||||||||||||||
| Answer =>> R | ||||||||||||||
| [23] What sign is used to back up over typing errors in vi? | ||||||||||||||
| (A) => ! | ||||||||||||||
| (B) => $ | ||||||||||||||
| (C) => # | ||||||||||||||
| Answer =>> # | ||||||||||||||
| [24] What sign is used 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) => @ | ||||||||||||||
| Answer =>> @ | ||||||||||||||
| [25] What command is used to sort the lines of data in a file in alphabetical order? | ||||||||||||||
| (A) => sort - r | ||||||||||||||
| (B) => st | ||||||||||||||
| (C) => sort | ||||||||||||||
| Answer =>> sort | ||||||||||||||
| [26] What command is used with vi editor to save file and remain in the editing mode? | ||||||||||||||
| (A) => x | ||||||||||||||
| (B) => :w | ||||||||||||||
| (C) => :q | ||||||||||||||
| Answer =>> :w | ||||||||||||||
| [27] What command is used with vi editor to move back to the beginning of a word? | ||||||||||||||
| (A) => e | ||||||||||||||
| (B) => a | ||||||||||||||
| (C) => b | ||||||||||||||
| Answer =>> b | ||||||||||||||
| [28] What command is used with vi editor to search a pattern in the forward direction? | ||||||||||||||
| (A) => ?? | ||||||||||||||
| (B) => // | ||||||||||||||
| (C) => / | ||||||||||||||
| Answer =>> / | ||||||||||||||
| [29] What command is used to add printing jobs to the queue? | ||||||||||||||
| (A) => lpd | ||||||||||||||
| (B) => lpr | ||||||||||||||
| (C) => lpq | ||||||||||||||
| Answer =>> lpr | ||||||||||||||
| [30] What protocol(s) is(are) allowed a user to retrieve her/his mail from the mail server to her/his mail reader? | ||||||||||||||
| (A) => POP3 | ||||||||||||||
| (B) => FTP | ||||||||||||||
| (C) => MAP | ||||||||||||||
| Answer =>> POP3 | ||||||||||||||
| [31] What project is currently developing X server support? | ||||||||||||||
| (A) => XFree86 Project, Inc. | ||||||||||||||
| (B) => RHAD Labs | ||||||||||||||
| (C) => GNOME Project | ||||||||||||||
| Answer =>> XFree86 Project, Inc. | ||||||||||||||
| [32] What X-based tool is available for configuring the X Window system? | ||||||||||||||
| (A) => XConfigurator | ||||||||||||||
| (B) => XF86Setup | ||||||||||||||
| (C) => xf86config | ||||||||||||||
| Answer =>> XF86Setup | ||||||||||||||
| [33] Which of the following server is used with the BIND package? | ||||||||||||||
| (A) => httpd | ||||||||||||||
| (B) => shttp | ||||||||||||||
| (C) => named | ||||||||||||||
| Answer =>> named | ||||||||||||||
| [34] What port does squid listen, by default? | ||||||||||||||
| (A) => 4322 | ||||||||||||||
| (B) => 2314 | ||||||||||||||
| (C) => 3128 | ||||||||||||||
| Answer =>> 3128 | ||||||||||||||
| [35] 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 | ||||||||||||||
| Answer =>> /etc/httpd/conf/httpd.conf | ||||||||||||||
| [36] Which of the following command is used to access an SMB share on a Linux system? | ||||||||||||||
| (A) => NFS | ||||||||||||||
| (B) => SMD | ||||||||||||||
| (C) => smbclient | ||||||||||||||
| Answer =>> smbclient | ||||||||||||||
| [37] Which of the following command is used to see the services running in NFS server? | ||||||||||||||
| (A) => rcpinfo | ||||||||||||||
| (B) => serverinfo | ||||||||||||||
| (C) => NFSinfo | ||||||||||||||
| Answer =>> rcpinfo | ||||||||||||||
| [38] 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 | ||||||||||||||
| Answer =>> /etc/hosts.allow | ||||||||||||||
| [39] What does GNU stand for? | ||||||||||||||
| (A) => GNU's not Unix | ||||||||||||||
| (B) => Greek Needed Unix | ||||||||||||||
| (C) => General Unix | ||||||||||||||
| Answer =>> GNU's not Unix | ||||||||||||||
| [40] What shell's wild-card is used to match any number of characters including none? | ||||||||||||||
| (A) => * | ||||||||||||||
| (B) => ? | ||||||||||||||
| (C) => None of the above | ||||||||||||||
| Answer =>> * | ||||||||||||||
| [41] What command is used to list contents of directories? | ||||||||||||||
| (A) => tar | ||||||||||||||
| (B) => dir | ||||||||||||||
| (C) => ls | ||||||||||||||
| Answer =>> ls | ||||||||||||||
| [42] What command is used with vi editor to append text at end of line? | ||||||||||||||
| (A) => I | ||||||||||||||
| (B) => i | ||||||||||||||
| (C) => A | ||||||||||||||
| Answer =>> A | ||||||||||||||
| [43] What command is used to copy directory structures in and out? | ||||||||||||||
| (A) => copy | ||||||||||||||
| (B) => cp - p | ||||||||||||||
| (C) => cpio | ||||||||||||||
| Answer =>> cpio | ||||||||||||||
| [44] In OSI network architecture, the dialogue control and token management are responsible of | ||||||||||||||
| (A) => transport layer | ||||||||||||||
| (B) => network layer | ||||||||||||||
| (C) => session layer | ||||||||||||||
| Answer =>> session layer | ||||||||||||||
| [45] Layer one of the OSI model is | ||||||||||||||
| (A) => network layer | ||||||||||||||
| (B) => physical layer | ||||||||||||||
| (C) => link layer | ||||||||||||||
| Answer =>> physical layer | ||||||||||||||
| [46] What layer of OSI determines the interface of the system with the user? | ||||||||||||||
| (A) => Application | ||||||||||||||
| (B) => Data-link | ||||||||||||||
| (C) => Session | ||||||||||||||
| Answer =>> Application | ||||||||||||||
| [47] What command is used to remove jobs from the print queue? | ||||||||||||||
| (A) => lprm | ||||||||||||||
| (B) => lpr | ||||||||||||||
| (C) => lpq | ||||||||||||||
| Answer =>> lprm | ||||||||||||||
| [48] How can you navigate around virtual consoles? | ||||||||||||||
| (A) => Alt+Function Key | ||||||||||||||
| (B) => Ctrl+Function Key | ||||||||||||||
| (C) => Ctrl+Alt+Del | ||||||||||||||
| Answer =>> Alt+Function Key | ||||||||||||||
| [49] Which of the following NIS clients, finds and stores information about an NIS domain and server? | ||||||||||||||
| (A) => ypwhich | ||||||||||||||
| (B) => ypbind | ||||||||||||||
| (C) => ypcat | ||||||||||||||
| Answer =>> ypbind | ||||||||||||||
| [50] What command is used to save the standard output in a file, as well as display it on the terminal? | ||||||||||||||
| (A) => tee | ||||||||||||||
| (B) => grep | ||||||||||||||
| (C) => cat | ||||||||||||||
| Answer =>> tee | ||||||||||||||
| [51] What command is used to count just the number of lines contained in a file? | ||||||||||||||
| (A) => wc - r | ||||||||||||||
| (B) => wc - w | ||||||||||||||
| (C) => wc - l | ||||||||||||||
| Answer =>> wc - l | ||||||||||||||
| [52] In OSI network architecture, the routing is performed by | ||||||||||||||
| (A) => session layer | ||||||||||||||
| (B) => transport layer | ||||||||||||||
| (C) => network layer | ||||||||||||||
| Answer =>> network layer | ||||||||||||||
| [53] The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as | ||||||||||||||
| (A) => 128.10.2.30 | ||||||||||||||
| (B) => 210.20.2.64 | ||||||||||||||
| (C) => 164.100.9.61 | ||||||||||||||
| Answer =>> 128.10.2.30 | ||||||||||||||
| [54] Which class network is used for a collection of a small number of networks with a large number of nodes? | ||||||||||||||
| (A) => Class A | ||||||||||||||
| (B) => Class B | ||||||||||||||
| (C) => Class C | ||||||||||||||
| Answer =>> Class A | ||||||||||||||
| [55] What type of addressing format is used by Class A network. | ||||||||||||||
| (A) => Net.Node.Node.Node | ||||||||||||||
| (B) => Net.Node.Node.Node | ||||||||||||||
| (C) => Net.Node.Net.Node | ||||||||||||||
| Answer =>> Net.Node.Node.Node | ||||||||||||||
| [56] What types of installations require a special boot disk? | ||||||||||||||
| (A) => NFS | ||||||||||||||
| (B) => FTP | ||||||||||||||
| (C) => All of the above | ||||||||||||||
| Answer =>> All of the above | ||||||||||||||
| [57] 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 | ||||||||||||||
| Answer =>> stands for Red Hat Package Manager | ||||||||||||||
| [58] What command is used to query for a specific package with RPM? | ||||||||||||||
| (A) => rpm -q | ||||||||||||||
| (B) => rpm -a | ||||||||||||||
| (C) => rpm -d | ||||||||||||||
| Answer =>> rpm -q | ||||||||||||||
| [59] What script is run for setting bash global defaults for all users? | ||||||||||||||
| (A) => /etc/.profile | ||||||||||||||
| (B) => /etc/.bashrc | ||||||||||||||
| (C) => /etc/profile | ||||||||||||||
| Answer =>> /etc/profile | ||||||||||||||
| [60] Who founded the Linux Kernel? | ||||||||||||||
| (A) => Linus Torvalds | ||||||||||||||
| (B) => Bill Gates | ||||||||||||||
| (C) => Ben Thomas | ||||||||||||||
| Answer =>> Linus Torvalds | ||||||||||||||
| [61] Which of the following is not a part of default Red Hat Linux email system? | ||||||||||||||
| (A) => Pine | ||||||||||||||
| (B) => The MTA | ||||||||||||||
| (C) => The MUA | ||||||||||||||
| Answer =>> Pine | ||||||||||||||
| [62] _____ tool allows you to change your default X Window desktop. | ||||||||||||||
| (A) => utilinux | ||||||||||||||
| (B) => cempre | ||||||||||||||
| (C) => switchdesk | ||||||||||||||
| Answer =>> switchdesk | ||||||||||||||
| [63] In what file can you specify which users are not allowed to access a system via FTP? | ||||||||||||||
| (A) => /etc/ftpusers | ||||||||||||||
| (B) => /etc/hosts.deny | ||||||||||||||
| (C) => /etc/ftpaccess | ||||||||||||||
| Answer =>> /etc/ftpusers | ||||||||||||||
| [64] Which program is used to schedule particular jobs or programs at particular times on the system? | ||||||||||||||
| (A) => vi | ||||||||||||||
| (B) => Outlook | ||||||||||||||
| (C) => cron | ||||||||||||||
| Answer =>> cron | ||||||||||||||
| [65] Which command can force all buffers to disk? | ||||||||||||||
| (A) => save | ||||||||||||||
| (B) => sync | ||||||||||||||
| (C) => edbuff | ||||||||||||||
| Answer =>> sync | ||||||||||||||
| [66] How many extended partitions can exist on one drive? | ||||||||||||||
| (A) => 1 | ||||||||||||||
| (B) => 2 | ||||||||||||||
| (C) => 4 | ||||||||||||||
| Answer =>> 1 | ||||||||||||||
| [67] For you to create a swap partition by using fdisk, what must the partition's system ID type be? | ||||||||||||||
| (A) => 81 | ||||||||||||||
| (B) => 82 | ||||||||||||||
| (C) => 83 | ||||||||||||||
| Answer =>> 82 | ||||||||||||||
| [68] What file contains the list of port numbers (and associated names) monitored by inetd? | ||||||||||||||
| (A) => /etc/services | ||||||||||||||
| (B) => /etc/nsorder | ||||||||||||||
| (C) => /etc/nsswitch.conf/ | ||||||||||||||
| Answer =>> /etc/services | ||||||||||||||
| [69] The location of some system configuration and system administrator executable files, is: | ||||||||||||||
| (A) => /home | ||||||||||||||
| (B) => /proc | ||||||||||||||
| (C) => /sbin | ||||||||||||||
| Answer =>> /sbin | ||||||||||||||
| [70] The location for subdirectories for local programs and executables for user and administrative commands, is: | ||||||||||||||
| (A) => /usr | ||||||||||||||
| (B) => /tmp | ||||||||||||||
| (C) => /opt | ||||||||||||||
| Answer =>> /usr | ||||||||||||||
| [71] Which of the following is not a filter command? | ||||||||||||||
| (A) => sort | ||||||||||||||
| (B) => wc | ||||||||||||||
| (C) => cat | ||||||||||||||
| Answer =>> cat | ||||||||||||||
| [72] What command is used to display a file contents in octal form? | ||||||||||||||
| (A) => oct | ||||||||||||||
| (B) => of | ||||||||||||||
| (C) => od | ||||||||||||||
| Answer =>> od | ||||||||||||||
| [73] What command is used 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 | ||||||||||||||
| Answer =>> chmod ugo + x report | ||||||||||||||
| [74] What command is used to change the working directory? | ||||||||||||||
| (A) => cd | ||||||||||||||
| (B) => changedir | ||||||||||||||
| (C) => chdir | ||||||||||||||
| Answer =>> cd | ||||||||||||||
| [75] What command is used to count the number of files in the current directory by using pipes? | ||||||||||||||
| (A) => ls | ws - c | ||||||||||||||
| (B) => ls | wc - w | ||||||||||||||
| (C) => ls | wc - 1 | ||||||||||||||
| Answer =>> ls | wc - 1 | ||||||||||||||
| [76] What command is used to count just the number of characters in a file? | ||||||||||||||
| (A) => wc - c | ||||||||||||||
| (B) => wc - w | ||||||||||||||
| (C) => wc - r | ||||||||||||||
| Answer =>> wc - c | ||||||||||||||
| [77] How many class A, B and C network IDs can exist? | ||||||||||||||
| (A) => 2,113,658 | ||||||||||||||
| (B) => 16,382 | ||||||||||||||
| (C) => 128 | ||||||||||||||
| Answer =>> 2,113,658 | ||||||||||||||
| [78] LILO | ||||||||||||||
| (A) => stands for Linux loader | ||||||||||||||
| (B) => is the Linux boot loader | ||||||||||||||
| (C) => All of the above | ||||||||||||||
| Answer =>> All of the above | ||||||||||||||
| [79] How can you rebuild the RPM file to include the new patches? | ||||||||||||||
| (A) => - - recompile | ||||||||||||||
| (B) => - - rebuild | ||||||||||||||
| (C) => - - generate | ||||||||||||||
| Answer =>> - - recompile | ||||||||||||||
| [80] What command is used to set user and group quotas? | ||||||||||||||
| (A) => /sbin/usrquota | ||||||||||||||
| (B) => /sbin/edquota | ||||||||||||||
| (C) => /sbin/quotaon | ||||||||||||||
| Answer =>> /sbin/edquota | ||||||||||||||
| [81] NIS | ||||||||||||||
| (A) => is Network Information Service | ||||||||||||||
| (B) => is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems | ||||||||||||||
| (C) => was formerly known as yellow pages | ||||||||||||||
| Answer =>> is Network Information Service | ||||||||||||||
| [82] In order to increase the amount of memory available for a system, what is the maximum size of a swap partition (with kernel version 2.2.x)? | ||||||||||||||
| (A) => 2GB | ||||||||||||||
| (B) => 128MB | ||||||||||||||
| (C) => 64MB | ||||||||||||||
| Answer =>> 2GB | ||||||||||||||
| [83] Which file is used to configure which filesystems are mounted? | ||||||||||||||
| (A) => /etc/fstab | ||||||||||||||
| (B) => /etc/sysconfig | ||||||||||||||
| (C) => /etc/filesys | ||||||||||||||
| Answer =>> /etc/fstab | ||||||||||||||
| [84] Who has developed the Linux? | ||||||||||||||
| (A) => Linus Torvalds | ||||||||||||||
| (B) => Richard Stallman | ||||||||||||||
| (C) => Mark Eving | ||||||||||||||
| Answer =>> Linus Torvalds | ||||||||||||||
| [85] What does OSS stand for? | ||||||||||||||
| (A) => Open System Software | ||||||||||||||
| (B) => Open Source Software | ||||||||||||||
| (C) => Original Source Software | ||||||||||||||
| Answer =>> Open Source Software | ||||||||||||||
| [86] Which of the following subdirectory(ies) contains the device files? | ||||||||||||||
| (A) => /dev | ||||||||||||||
| (B) => /bin | ||||||||||||||
| (C) => /etc | ||||||||||||||
| Answer =>> /dev | ||||||||||||||
| [87] Which of the following subdirectory(ies) contains the system boot scripts. | ||||||||||||||
| (A) => /dev | ||||||||||||||
| (B) => /bin | ||||||||||||||
| (C) => /etc | ||||||||||||||
| Answer =>> /etc | ||||||||||||||
| [88] What of the following tool is used to check and repair Linux file systems? | ||||||||||||||
| (A) => fsck | ||||||||||||||
| (B) => fdisk | ||||||||||||||
| (C) => mkfs | ||||||||||||||
| Answer =>> fsck | ||||||||||||||
| [89] Which of the following tool is used to partition your hard drive? | ||||||||||||||
| (A) => mkfs | ||||||||||||||
| (B) => fdisk | ||||||||||||||
| (C) => fsck | ||||||||||||||
| Answer =>> fdisk | ||||||||||||||
| [90] Where can system and mail logs be found in Ret Hat Linux? | ||||||||||||||
| (A) => /var/log | ||||||||||||||
| (B) => /etc/log | ||||||||||||||
| (C) => /mail | ||||||||||||||
| Answer =>> /var/log | ||||||||||||||
| [91] What command is used to display and create files? | ||||||||||||||
| (A) => lyrix | ||||||||||||||
| (B) => ed | ||||||||||||||
| (C) => cat | ||||||||||||||
| Answer =>> cat | ||||||||||||||
| [92] Which of the following command can be used to rename a file in UNIX? | ||||||||||||||
| (A) => ren | ||||||||||||||
| (B) => mv | ||||||||||||||
| (C) => remove | ||||||||||||||
| Answer =>> mv | ||||||||||||||
| [93] What command is used to remove a file? | ||||||||||||||
| (A) => del | ||||||||||||||
| (B) => rm | ||||||||||||||
| (C) => mv | ||||||||||||||
| Answer =>> rm | ||||||||||||||
| [94] What command is used to display the top of the file? | ||||||||||||||
| (A) => head | ||||||||||||||
| (B) => more | ||||||||||||||
| (C) => grep | ||||||||||||||
| Answer =>> head | ||||||||||||||
| [95] What command can be used to get information about yourself? | ||||||||||||||
| (A) => which | ||||||||||||||
| (B) => i /4 | ||||||||||||||
| (C) => who am i | ||||||||||||||
| Answer =>> who am i | ||||||||||||||
| [96] What layer protocol is responsible for user and the application programme support such as passwords, resource sharing, file transfer and network management? | ||||||||||||||
| (A) => Layer 4 protocols | ||||||||||||||
| (B) => Layer 5 protocols | ||||||||||||||
| (C) => Layer 7 protocols | ||||||||||||||
| Answer =>> Layer 7 protocols | ||||||||||||||
| [97] What package group will you select during the custom configuration to enable the machine to communicate with Windows clients? | ||||||||||||||
| (A) => SMB (Samba) Connectivity | ||||||||||||||
| (B) => IPX/NetWare Connectivity | ||||||||||||||
| (C) => Dial-up Workstation | ||||||||||||||
| Answer =>> SMB (Samba) Connectivity | ||||||||||||||
| [98] Which of the following tool allows you to change your default X Window desktop? | ||||||||||||||
| (A) => switchdesk | ||||||||||||||
| (B) => intrc | ||||||||||||||
| (C) => xinitre | ||||||||||||||
| Answer =>> switchdesk | ||||||||||||||
| [99] Which of the following is the main Apache configuration file? | ||||||||||||||
| (A) => httpd.conf | ||||||||||||||
| (B) => apache.con | ||||||||||||||
| (C) => /etc/profile | ||||||||||||||
| Answer =>> httpd.conf | ||||||||||||||
| [100] What command is used to sort the lines of data in a file in reverse order? | ||||||||||||||
| (A) => sort - r | ||||||||||||||
| (B) => st | ||||||||||||||
| (C) => sh | ||||||||||||||
| Answer =>> sort - r | ||||||||||||||
| [101] What command is used to print a file? | ||||||||||||||
| (A) => lp | ||||||||||||||
| (B) => pg | ||||||||||||||
| (C) => prn | ||||||||||||||
| Answer =>> lp | ||||||||||||||
| [102] The command chmod 761 letter is equivalent to | ||||||||||||||
| (A) => chmod 4=7, g = 6, o = 1 letter | ||||||||||||||
| (B) => chmo a = 761 letter | ||||||||||||||
| (C) => schmod u = rwx, g = rw, o = x letter | ||||||||||||||
| Answer =>> schmod u = rwx, g = rw, o = x letter | ||||||||||||||
| [103] What command is used with vi editor to move forward to the end of a word? | ||||||||||||||
| (A) => c | ||||||||||||||
| (B) => d | ||||||||||||||
| (C) => b | ||||||||||||||
| Answer =>> b | ||||||||||||||
| [104] The IP address are based on | ||||||||||||||
| (A) => 16-bit addresses | ||||||||||||||
| (B) => 32-bit addresses | ||||||||||||||
| (C) => 64-bit addresses | ||||||||||||||
| Answer =>> 32-bit addresses | ||||||||||||||
| [105] What TCP/IP protocol is used for file transfer with minimal capability and minimal overhead? | ||||||||||||||
| (A) => TELNET | ||||||||||||||
| (B) => TFTP | ||||||||||||||
| (C) => FTP | ||||||||||||||
| Answer =>> TFTP | ||||||||||||||
| [106] What TCP/IP protocol is used for transferring electronic mail messages from one machine to another? | ||||||||||||||
| (A) => FTP | ||||||||||||||
| (B) => SNMP | ||||||||||||||
| (C) => SMTP | ||||||||||||||
| Answer =>> SMTP | ||||||||||||||
| [107] What command is used to halt a Linux system? | ||||||||||||||
| (A) => init 0 | ||||||||||||||
| (B) => Shutdown -t | ||||||||||||||
| (C) => Shutdown -g -y0 | ||||||||||||||
| Answer =>> init 0 | ||||||||||||||
| [108] Which daemon is used for the Apache server? | ||||||||||||||
| (A) => apached | ||||||||||||||
| (B) => httpd | ||||||||||||||
| (C) => html | ||||||||||||||
| Answer =>> httpd | ||||||||||||||
| [109] GNOME is based on | ||||||||||||||
| (A) => CORBA toolkit | ||||||||||||||
| (B) => COM/DCOM toolkit | ||||||||||||||
| (C) => ORE toolkit | ||||||||||||||
| Answer =>> CORBA toolkit | ||||||||||||||
| [110] What can he used to set up a firewall on a Linux system? | ||||||||||||||
| (A) => netstat | ||||||||||||||
| (B) => trace | ||||||||||||||
| (C) => ipchains | ||||||||||||||
| Answer =>> ipchains | ||||||||||||||
| [111] Which program is used to automatically install Red Mat Linux on identical hardware? | ||||||||||||||
| (A) => bzimage.img | ||||||||||||||
| (B) => mkkickstart | ||||||||||||||
| (C) => tar | ||||||||||||||
| Answer =>> mkkickstart | ||||||||||||||
| [112] What service is not monitored by inetd ? | ||||||||||||||
| (A) => SSH | ||||||||||||||
| (B) => time | ||||||||||||||
| (C) => ntalk | ||||||||||||||
| Answer =>> SSH | ||||||||||||||
| [113] Who founded the FSF? | ||||||||||||||
| (A) => Linus Torvalds | ||||||||||||||
| (B) => Richard Stallman | ||||||||||||||
| (C) => Bob Young | ||||||||||||||
| Answer =>> Richard Stallman | ||||||||||||||
| [114] What shell's wild-card is used to match a single character? | ||||||||||||||
| (A) => [ijk] | ||||||||||||||
| (B) => ? | ||||||||||||||
| (C) => None of the above | ||||||||||||||
| Answer =>> ? | ||||||||||||||
| [115] What command is used to copy a file? | ||||||||||||||
| (A) => cp | ||||||||||||||
| (B) => cpio | ||||||||||||||
| (C) => tar | ||||||||||||||
| Answer =>> cp | ||||||||||||||
| [116] What command is used to display your current working directory? | ||||||||||||||
| (A) => path | ||||||||||||||
| (B) => pwd | ||||||||||||||
| (C) => prompt $p$g | ||||||||||||||
| Answer =>> prompt $p$g | ||||||||||||||
| [117] What command is used with vi editor to move the cursor to the left? | ||||||||||||||
| (A) => h | ||||||||||||||
| (B) => k | ||||||||||||||
| (C) => j | ||||||||||||||
| Answer =>> h | ||||||||||||||
| [118] What command do you use to add routes to a Linux router? | ||||||||||||||
| (A) => addroute | ||||||||||||||
| (B) => route | ||||||||||||||
| (C) => netstat | ||||||||||||||
| Answer =>> route | ||||||||||||||
| [119] Which of the following command is used to mount NFS filesystems? | ||||||||||||||
| (A) => mount | ||||||||||||||
| (B) => knfsd | ||||||||||||||
| (C) => nfsmount | ||||||||||||||
| Answer =>> mount | ||||||||||||||
| [120] To build a modularized kernel, the kernel-headers and kernel-source packages must first be installed. Where will you find the kernel-headers and kernel-source? | ||||||||||||||
| (A) => /usr/local | ||||||||||||||
| (B) => /usr/src/linux | ||||||||||||||
| (C) => /usr/sre/redhat | ||||||||||||||
| Answer =>> /usr/src/linux | ||||||||||||||
| [121] 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/lilo.conf | ||||||||||||||
| Answer =>> /etc/lilo.conf | ||||||||||||||
| [122] To create an installation boot floppy disk from Linux (or another Unix) machine, what command could you use? | ||||||||||||||
| (A) => fdisk | ||||||||||||||
| (B) => fsck | ||||||||||||||
| (C) => dd | ||||||||||||||
| Answer =>> dd | ||||||||||||||
| [123] You just added a new user, kara, to the system. What group is kara added to by default? | ||||||||||||||
| (A) => root | ||||||||||||||
| (B) => kara | ||||||||||||||
| (C) => group | ||||||||||||||
| Answer =>> kara | ||||||||||||||
| [124] What are the appropriate Hex codes for setting Linux swap and Linux native partition types in fdisk? | ||||||||||||||
| (A) => 82 and 83 | ||||||||||||||
| (B) => 92 and 93 | ||||||||||||||
| (C) => 63 and 64 | ||||||||||||||
| Answer =>> 82 and 83 | ||||||||||||||
| [125] What command do you use to delete a file? | ||||||||||||||
| (A) => rename | ||||||||||||||
| (B) => rm | ||||||||||||||
| (C) => delete | ||||||||||||||
| Answer =>> rm | ||||||||||||||
| [126] Which of the following command lists the last 10 lines of a file? | ||||||||||||||
| (A) => grep | ||||||||||||||
| (B) => tail | ||||||||||||||
| (C) => head | ||||||||||||||
| Answer =>> tail | ||||||||||||||
| [127] What command is used to terminate a process? | ||||||||||||||
| (A) => kill | ||||||||||||||
| (B) => cancel | ||||||||||||||
| (C) => haltsys | ||||||||||||||
| Answer =>> kill | ||||||||||||||
| [128] What command is used with vi editor to delete three words? | ||||||||||||||
| (A) => 3$d | ||||||||||||||
| (B) => 3 dw | ||||||||||||||
| (C) => 3 x | ||||||||||||||
| Answer =>> 3 dw | ||||||||||||||
| [129] What command is used 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 | ||||||||||||||
| Answer =>> chmod ugo = r letter | ||||||||||||||
| [130] What command is used with file named 'letter' to remove the executable permission from the user and assign read permission to the group and others? | ||||||||||||||
| (A) => chmod go + x, u - x letter | ||||||||||||||
| (B) => chmod g - x, uo + r letter | ||||||||||||||
| (C) => chmod u - x, go + r letter | ||||||||||||||
| Answer =>> chmod u - x, go + r letter | ||||||||||||||
| [131] What command is used to assign executable permission to the owner of the file named "letter"? | ||||||||||||||
| (A) => chmod ugo + x letter | ||||||||||||||
| (B) => chmod u + x letter | ||||||||||||||
| (C) => chmod u + w letter | ||||||||||||||
| Answer =>> chmod u + x letter | ||||||||||||||
| [132] What command is used to compare the files? | ||||||||||||||
| (A) => ccp | ||||||||||||||
| (B) => du | ||||||||||||||
| (C) => cmp | ||||||||||||||
| Answer =>> cmp | ||||||||||||||
| [133] What command is used to summarize the disk usage? | ||||||||||||||
| (A) => disk | ||||||||||||||
| (B) => du | ||||||||||||||
| (C) => fdisk | ||||||||||||||
| Answer =>> du | ||||||||||||||
| [134] What command is used to list the jobs currently in print queues? | ||||||||||||||
| (A) => lpq | ||||||||||||||
| (B) => lpr | ||||||||||||||
| (C) => lprm | ||||||||||||||
| Answer =>> lpq | ||||||||||||||
| [135] Which of the following format of partition tables does Linux use? | ||||||||||||||
| (A) => Linux | ||||||||||||||
| (B) => DOS | ||||||||||||||
| (C) => UnixWare | ||||||||||||||
| Answer =>> DOS | ||||||||||||||
| [136] Which of the following NIS clients returns the name of the NIS server used by the NIS client? | ||||||||||||||
| (A) => ypwhich | ||||||||||||||
| (B) => ypbind | ||||||||||||||
| (C) => ypcat | ||||||||||||||
| Answer =>> ypwhich | ||||||||||||||