1.
Which of the following command is used to count the total number of lines, words, and
characters contained in a file?
wc
wcount
countw
None of the above
Hide
Correct Answer
Answer - A) wc is used to count the total number of lines, words, and characters contained in a
file.
2.
Identify the command which is used to remove files.
delete
rm
dm
erase
Hide
Correct Answer
Answer - b) rm is used to remove files.
3.
Identify the hardware structure which is not supported by Red Hat?
IBM-compatible
Alpha
SPARC
Macintosh
Hide
Correct Answer
Answer - d) Macintosh is not supported by Red Hat.
4.
Among the following command which is used with vi editors to delete a single character?
a
x
y
z
Hide
Correct Answer
Answer - B) x is used with vi editors to delete a single character.
5.
Choose the TCP/IP Protocol which is used for remote terminal connection service?
FTP
UDP
RARP
TELNET
Hide
Correct Answer
Answer - D) TELNET is used for remote terminal connection service.
6.
Identify the service which is used to translate a domain name to IP address.
NIS
DNS
SMB
NFS
Hide
Correct Answer
Answer - B) DNS is used to translate a domain name to IP address.
7.
Which of the following command is used to add a new user to the system?
Using Linuxconf
Using adduser
Using useradd
All of the above
Hide
Correct Answer
Answer - D) All of the above is used to add a new is a to the system
8.
Total primary partitions that can exist on one drive is_____________
1
2
16
4
Hide
Correct Answer
Answer - D) A total of 4 primary partitions that can exist on one drive.
9.
FSF stands for __________
File server first
Free software file
Free software Foundation
First server first
Hide
Correct Answer
Answer - C) FSF stands for Free software Foundation.
10.
Identify the command which is used to remove files.
rd
remove
rmdir
rdir
Hide
Correct Answer
Answer - C) rmdir is used to remove files.
11.
Identify the command which is used to create Linux File systems.
fsck
mkfs
fdisk
mount
Hide
Correct Answer
Answer - B) mkfs is used to create Linux File systems.
12.
Identify the one which is not a communication command
mail
mesg
grep
write
Hide
Correct Answer
Answer - C) grep is not a communication command.
13.
Which of the following is used to back up over typing errors in vi?
$
#
@
!
Hide
Correct Answer
Answer - B) # is used to backup over typing errors in vi.
14.
Identify the command used to add printing jobs to the queue.
lpd
lpq
lpc
lpr
Hide
Correct Answer
Answer - D) lpr is used to add printing jobs to the queue
15.
Choose the server which is used with the BIND package?
shttp
dns
named
httpd
Hide
Correct Answer
Answer - C) named is used with the BIND package.
16.
By default, which port does squid listen to?
4322
3128
7334
2314
Hide
Correct Answer
Answer - B) Squid listens by default port 3128
17.
Which of the following commands is used to display the octal value of the text?
od
oct
octal
text_oct
Hide
Correct Answer
Answer - A) od command is used to display the octal value of the text.
18.
GNU stands for ___________.
Greek Needed Unix
General Unix
GNU’s Not Unix
General Noble Unix
Hide
Correct Answer
Answer - C) GNU stands for GNU’s not Unix.
19.
What is the core of the Linux operating system?
Terminal
Kernel
Command
Terminal
Hide
Correct Answer
Answer - B) The core of the Linux operating system is a kernel
20.
In which of the following directory does the configuration files are present?
/bin/
/root/
/etc/
/dev/
Hide
Correct Answer
Answer - C) /etc/ contains the configuration files in Linux.
21.
Choose whether the following statement is true or false: The maximum file size in Linux is 255
bytes.
True
False
Hide
Correct Answer
Answer - A) True. The maximum file size in Linux is 255 bytes.
22.
Identify the OS which is not based on Linux.
Ubuntu
BSD
CentOS
Red Hat
Hide
Correct Answer
Answer - B) BSD is not based on Linux.
23.
Identify the command which is used to record sessions in Linux
script
session
Both a and b
None of the above
Hide
Correct Answer
Answer - C) Both a and b are used to record session in Linux.
24.
Where is the user password stored?
/etc/passwd
/root/password
/etc/password
/root/passwd
Hide
Correct Answer
Answer - A) User password is stored in /etc/passwd.
25.
Identify the default file system type of Linux
ext3
ext2
ext
mimix
Hide
Correct Answer
Answer - A) ext3 is the default file system type of Linux.
26.
Which command is used to display the operating system name
wc
uname
countw
os
Hide
Correct Answer
Answer - B) uname is used to display the operating system name.
27.
Which command is used to print a file
wc
pg
lp
print
Hide
Correct Answer
Answer - C) lp command is used to print a file.
28.
Which option of ls command used to view file inode number
-l
-i
-o
-a
Hide
Correct Answer
Answer - B) -i command used to view file inode number.
29.
Using which of the following command can hidden files be viewed?
ls -h
ls -a
ls -l
ls -k
Hide
Correct Answer
Answer - B) ls -a is used to view hidden files.
30.
Which of the following sign is used to represent the user home directory?
/
.
~
..
Hide
Correct Answer
Answer - C) ~ is used to represent the user home directory
31.
Identify the command which is used to set terminal IO characteristics.
ctty
stty
tty
None of the above
Hide
Correct Answer
Answer - B) stty is used to set terminal IO characteristics.
32.
Identify the command which is used to display the unix version.
uname -t
uname -r
uname -n
kernel
Hide
Correct Answer
Answer - B) uname -r is used to display the UNIX version.
33.
Choose the following statement is true or false: Directory is a type of file.
True
False
Hide
Correct Answer
Answer - A) True. The directory is a type of file.
34.
Which of the following is used to represent the top-level directory?
*
$
#
/
Hide
Correct Answer
Answer - D) / .is used to represent the top-level directory.
35.
The dialogue control and token management are responsible for?
Session layers
Datalink layer
Transport layer
Network layer
Hide
Correct Answer
Answer - D) The dialogue control and token management are responsible for Network layer.
36.
The main Apache configuration file is?
/etc/httpd/[Link]
/etc/[Link]
/etc/httpd/conf/[Link]
/etc/[Link]
Hide
Correct Answer
Answer - C) /etc/httpd/conf/[Link] is the main Apache configuration file.
37.
Which of the following command is used to see the services running in the NFS server?
serverinfo
rpcinfo
infserv
NFSinfo
Hide
Correct Answer
Answer - A) serverinfo is used to see the services running in NFS server.
38.
Which of the following command is used to sort the lines of data in a file in alphabetical order?
sh
sort -r
sort
st
Hide
Correct Answer
Answer - C) sort is used to sort the lines of data in a file in alphabetical order.
39.
Routing is performed by which of the following layers
Transport layer
data link layer
network layer
session layer
Hide
Correct Answer
Answer - D) Routing is performed by session layer.
40.
What type of installations requires a special boot disk?
FTP
NFS
PCMCIA
All of the above
Hide
Correct Answer
Answer - D) All of the above require a special boot disk.
41.
RPM ________
assigns a dynamic IP address
is used to keep track of the users
stands for Red Hat Package Manager
None of the above
Hide
Correct Answer
Answer - C) RMP stands for Red Hat Package Manager.
42.
Identify this script which is run for setting a global defaults for users
/etc/.log
/etc/.bashrc
/etc/.profile
/etc/profile
Hide
Correct Answer
Answer - D) /etc/profile is run for setting global defaults for users.
43.
Linux Kernel was founded by?
Richard Stallman
Linus Torvalds
Bill Gates
Ben Thomas
Hide
Correct Answer
Answer - B) Linus Torvalds founded Linux kernel
44.
Which of the following command can force all buffers to disk?
save
flush
edbuff
sync
Hide
Correct Answer
Answer - D) sync can force all buffers to disk.
45.
To create a swap partition by using fdisk, which partition’s system ID type should be used?
1
82
5
83
Hide
Correct Answer
Answer - B) Partition’s system ID type 82 must be used.
46.
Which of the following command is used to change the working directory?
changed
chdr
dr
cd
Hide
Correct Answer
Answer - D) cd command is used to change the working directory.
47.
LILO stands for _____________-
Linux Leveraging Order
Linux loader
Linux Low Order
None of the above
Hide
Correct Answer
Answer - B) LILO stands for Linux loader.
48.
NIS
is a simple directory service whose main purpose is to allow remote authentication of systems on
local network systems
allows configuration-such as password and group files
is Network Information Service
was formerly known as yellow page
Hide
Correct Answer
Answer - C) NIS is Network Information Service.
49.
OSS stands for _____________
Original Source Software
Open System Software
Original System Server
Open Source Software
Hide
Correct Answer
Answer - D) OSS stands for Open Source Software.
50.
Which of the following commands is used to display and create files?
cat
lyrix
vi
ed
Hide
Correct Answer
Answer - A) cat is used to display and create files