Download PDF
Free download in PDF Linux Multiple Choice Questions(MCQs) & Answers. These objective questions on Linux are very useful for NIELIT, BCA, B.Sc. MCA, M.Sc. B.Tech, M.Tech, BE, ME students an interview for various positions like Web Developer, System Analyst etc.
(1)
wtmp and utmp files contain:
[A]
Temporary system data
[B]
User login-logout log
[C]
The user’s command execution log
[D]
The user’s su and sudo attempts
(2)
Which is the core of the operating system?
[A]
Shell
[B]
Kernel
[C]
Commands
[D]
Script
(3)
ILP32 stands for
[A]
32 bit Integer, Long & Pointer
[B]
32 bit Integrated Long & Pointer
[C]
32 bit Intelligent Long & Pointer
[D]
32 bit Long & Pointer
(4)
Single Unix Specification Version 2 provides enhanced support for
[A]
16 bit Unix
[B]
32 bit Unix
[C]
64 bit Unix
[D]
8 bit Unix
(5)
Under UNIX the key board is the default input device and the monitor is the default output device
[A]
True
[B]
False
[C]
not true or false
[D]
Can't be determined
(6)
Which among the following interacts directly with system hardware?
[A]
Shell
[B]
Commands
[C]
Kernel
[D]
Applications
(7)
Applications communicate with kernel by using:
[A]
System Calls
[B]
C Programs
[C]
Shell Script
[D]
Shell
(8)
The dmesg command
[A]
Shows user login logoff attempts
[B]
Shows the syslog file for info messages
[C]
kernel log messages
[D]
Shows the daemon log messages
(9)
The command “mknod myfifo b 4 16”
[A]
Will create a block device if user is root
[B]
Will create a block device for all users
[C]
Will create a FIFO if user is not root
[D]
None of the above
(10)
Which command is used to set terminal IO characteristic?
[A]
tty
[B]
ctty
[C]
ptty
[D]
stty
(11)
Which command is used to record a user login session in a file
[A]
macro
[B]
read
[C]
script
[D]
none of the above
(12)
Which command is used to display the operating system name
[A]
os
[B]
Unix
[C]
kernel
[D]
uname
(13)
Which command is used to display the unix version
[A]
uname -r
[B]
uname -n
[C]
uname -t
[D]
kernel
(14)
Which command is used to print a file
[A]
print
[B]
ptr
[C]
lpr
[D]
none of the above
(15)
Using which command you find resource limits to the session?
[A]
rlimit
[B]
ulimit
[C]
setrlimit
[D]
getrlimit
(16)
Which option of ls command used to view file inode number
[A]
–l
[B]
-o
[C]
–a
[D]
–i
(17)
find / -name ‘*’ will
[A]
List all files and directories recursively starting from /
[B]
List all files and directories recursively starting from /
[C]
List all files in / directory
[D]
List all files and directories in / directory
(18)
Which command is used to display the octal value of the text
[A]
octal
[B]
text_oct
[C]
oct
[D]
od
(19)
Which command is used to view compressed text file contents
[A]
cat
[B]
type
[C]
zcat
[D]
print
(20)
Which command changes a file’s group owner
[A]
cgrp
[B]
chgrp
[C]
change
[D]
group