R4RIN
Articles
Java 8
MCQS
Unix/Lunux MCQ Quiz Hub
Linux Mcqs Questions Set 1
Choose a topic to test your knowledge and improve your Unix/Lunux skills
1. To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called
Pooling
Spooling
Buffer cache
Swapping
2. At start of process execution, STDOUT & STDERR
Point to current terminal device
Are closed
Point to special files on the system
None of the mentioned
3. wtmp and utmp files contain:
Temporary system data
User login-logout log
The users command execution log
The users su and sudo attempts
4. Which is the core of the operating system?
Shell
Kernel
Commands
Script
5. ILP32 stands for
32 bit Integer, Long & Pointer
32 bit Integrated Long & Pointer
32 bit Intelligent Long & Pointer
32 bit Long & Pointer
6. Single Unix Specification Version 2 provides enhanced support for
16 bit Unix
32 bit Unix
64 bit Unix
8 bit Unix
7. Which among the following interacts directly with system hardware?
Shell
Commands
Kernel
Applications
8. Applications communicate with kernel by using:
System Calls
C Programs
Shell Script
Shell
9. Solaris is the name of a flavor of UNIX from
HP
IBM
Digital Equipment Corp
Sun Microsystems
10. Which of the following is NOT a UNIX variant ?
Solaris
AIX
IRIX
AS400
11. The system calls in UNIX is written using which language
C
C++
Assembly Language
Fortran
12. Which of the following enables multi-tasking in UNIX?
Time Sharing
Multi programming
Multi user
Modularity
13. Which of the following is considered as the super daemon in Unix?
sysinit
init
inetd
proc
14. Unix is which kind of Operating System?
Multi User
Multi Processes
Multi Tasking
All of the mentioned
15. SVR4 stands for?
Standard Version Release 4
System Version Release 4
Standard Five Release 4
System Five Release 4
16. Lp0 device file is used to access:
Floppy
Cdrom
Printer
Tape drive
17. Syntax of any Unix command is:
command [options] [arguments].
command options [arguments].
command [options] [arguments].
command options arguments
18. SVR4 was developed by
Sun Microsystems
AT&T
University of Berkeley
Sun and AT&T jointly
19. Which of these is not a Unix Flavor?
BSD
MAC
AIX
IRIX
20. Which of the following statement is FALSE ?
Unix supports multiple users
Linux is an open source operating system and the source code is shared
Shell takes care of inter process communication
Shell provides the feature of I/O Redirection
21. Which of the following UNIX flavor is from IBM?
BSD
Solaris
HP-UX
AIX
22. x86-32 uses which programming model?
IP16
IP32
ILP16
ILP32
23. Which among the following is used to write small programs to control Unix functionalities?
Shell Commands
Shell Script
Filters
C Language
24. What control character signals the end of the input file?
ctrl + a
ctrl + b
ctrl + c
ctrl + d
25. How do you get help about the command cp?
help cp
man cp
cd ?
none of the mentioned
26. The dmesg command
Shows user login logoff attempts
Shows the syslog file for info messages
kernel log messages
Shows the daemon log messages
27. The command mknod myfifo b 4 16
Will create a block device if user is root
Will create a block device for all users
Will create a FIFO if user is not root
None of the mentioned
28. Which command is used to set terminal IO characteristic?
tty
ctty
ptty
stty
29. Which command is used to record a user login session in a file
macro
read
script
none of the mentioned
30. Which command is used to display the operating system name
os
unix
kernel
uname
31. Which command is used to display the unix version
uname -r
uname -n
uname -t
kernel
32. Which command is used to print a file
print
ptr
lpr
none of the mentioned
33. Using which command you find resource limits to the session?
rlimit
ulimit
setrlimit
getrlimit
34. Which option of ls command used to view file inode number
–l
-o
–a
–i
35. Find / -name * will
List all files and directories recursively starting from /
List a file named * in /
List all files in / directory
List all files and directories in / directory
36. Which command is used to display the octal value of the text
octal
text_oct
oct
od
37. Which command is used to view compressed text file contents
cat
type
zcat
print
38. Which command changes a files group owner
cgrp
chgrp
change
group
39. Which command is used to extract intermediate result in a pipeline
tee
extract
exec
none of the mentioned
40. Which command is used to extract a column from a text file
paste
get
cut
tar
41. Which command is used to display disk consumption of a specific directory
du
ds
dd
dds
42. Which command is used to perform backup in unix?
backup
cpio
zip
gzip
43. Which command creates an empty file if file does not exist?
cat
touch
ed
read
44. Which option of rm command is used to remove a directory with all its subdirectories
–b
–o
–p
–r
45. Which command is used to identify file type?
Type
File
Finfo
Info
46. Command used to determine the path of an executable file is
which
where
wexec
what
47. Command used to count number of character in a file is
grep
wc
count
cut
48. Which of these commands could you use to show one page of output at a time?
less
sed
pause
grep
49. Which commands will give you information about how much disk space each file in the current directory uses?
ls -l
Is -la
du
ls -a
50. Which of the following command output contains userid?
ls
help
date
ls –l
Submit