MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Linux
Quiz 3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Q.1
What file specifies the order in which to use specified name services?
/etc/services
/etc/nsorder
/etc/nsswitch.conf
/etc/hosts
None of the above
Q.2
How many primary partitions can exist on one drive?
16
4
2
1
None of the above
Q.3
In which directory can you store system user default files used for creating user directories?
/usr/tmp
/etc/default
/etc/skel
/etc/users
None of the above
Q.4
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
None of the above
Q.5
What TCP/IP protocol is used for remote terminal connection service?
UDP
RARP
FTP
TELNET
None of the above
Q.6
How many networks and nodes per network, are allowed by the Class B network?
127 networks and 16,777,216 nodes per network
16,384 networks and 65,534 nodes per network
2,097,152 networks and 254 nodes per network
All of the above
None of the above
Q.7
What service is used to translate domain names to IP addresses?
NFS
SMB
NIS
DNS
None of the above
Q.8
What command is used to count the total number of lines, words, and characters contained in a file?
countw
wcount
wc
count p
None of the above
Q.9
Which of the following command is used to create a Linux installation hoot floppy?
mkboot disk
bootfp disk
ww and rawwrite
dd and rawrite
None of the above
Q.10
What command is used to remove files?
dm
rm
delete
erase
None of the above
Q.11
What command is used to remove the directory?
rdir
remove
rd
rmdir
None of the above
Q.12
What command is used with vi editor to delete a single character?
x
y
a
z
None of the above
Q.13
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?
chmod go + x, u - x letter
chmod g - x, uo + r letter
chmod go + r, u + x letter
chmod u - x, go + r letter
None of the above
Q.14
What command is used to assign executable permission to the owner of the file named "letter"?
chmod ugo + x letter
chmod u + x letter
chmod u + w letter
chmod g + x letter
None of the above
Q.15
What hardware architectures are not supported by Red Hat?
SPARC
IBM-compatible
Alpha
Macintosh
None of the above
Q.16
What command is used to compare the files?
ccp
du
cmp
comp
None of the above
Q.17
What command is used to summarize the disk usage?
disk
du
fdisk
chkdsk
None of the above
Q.18
What command do you use to delete a file?
rename
delete
rm
cp
None of the above
Q.19
Which of the following command lists the last 10 lines of a file?
grep
tail
head
cat
None of the above
Q.20
What command is used to terminate a process?
kill
cancel
haltsys
shutdown
None of the above
Q.21
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?
/usr/local
/usr/src/linux
/usr/sre/redhat
/usr/bin
None of the above
Q.22
After you have compiled your kernel, what do you have to edit to boot your new kernel image?
/boot/lilo.conf
/etc/conf.modules
/etc/named.boot
/etc/lilo.conf
None of the above
Q.23
What command is used to list the jobs currently in print queues?
lpq
lpr
lprm
lpc
None of the above
Q.24
What command is used with vi editor to delete three words?
3$d
3 dw
3 x
3 dd
None of the above
Q.25
What command is used to assign only read permission to all three categories of the file'letter'?
chmod u + r, g + r, o - x letter
chmod ugo = r letter
chmod a - rw letter
chmod go + r letter
None of the above
Q.26
To create an installation boot floppy disk from Linux (or another Unix) machine, what command could you use?
fdisk
fsck
dd
rawrite
None of the above
Q.27
You just added a new user, kara, to the system. What group is kara added to by default?
root
kara
group
user
None of the above
Q.28
What command is used to copy a file?
tar
cpio
cp
copy
None of the above
Q.29
What command is used to display your current working directory?
path
pwd
prompt $p$g
dir
None of the above
Q.30
What can he used to set up a firewall on a Linux system?
netstat
route
trace
ipchains
None of the above
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page