R4RIN
MCQS
Unix/Lunux MCQ Quiz Hub
Linux MCQ Unit 1
Choose a topic to test your knowledge and improve your Unix/Lunux skills
1. Who developed Linux?
Dennis Ritchie
Linus Torvalds
Ken Thompson
Prof. Andrew S. Tannenbaum
2. In which year Linux was developed?
1989
1990
1991
1992
3. The trial version of Linux is called
Alpha
Beta
Gamma
Stable
4. SA is also known as root user or
Supervisor
Multi user
Single user
Super user
5. Who is primarily responsible for the smooth functioning of the system?
System Advisor
System coordinator
System Manager
System Administrator
6. Which has excellent support for older hardware?
Unix
Linux
Minix
Xenix
7. What is the other name of new shell?
Baby shell
Junior shell
Child shell
Assistant shell
8. In Linux hard disk partition, hda2, a stands for the ___ (A)
first hard drive
first partition
second partition
second hard drive
9. Which is the core of the operating system?
shell
kernel
command
script
10. Which among the following interacts directly with system hardware?
Shell
Commands
Kernel
Applications
11. The system calls in UNIX is written using which language
c c++
Assembly
Language
Fortan
12. Unix is which kind of Operating System?
Multi User
Multi Processes
Multi Tasking
All of the mentioned
13. Which command is used to display the operating system name
os
unix
kernel
uname
14. Which command is used to display the unix version
uname -r
uname -n
uname -t
kernel
15. Which option of ls command used to view file inode number
-l
-o
-a
-i
16. How do you get help about the command “cp”?
help cp
man cp
cd
None of the mentioned
17. Which command is used to display disk consumption of a specific directory
du
ds
dd
dds
18. Which command is used to extract a column from a text file
paste
get
cut
tar
19. Which option of rm command is used to remove a directory with all its sub directories
-b
-o
-p
-r
20. Which option of rm command is used to remove a directory with all its sub directories
-b
-o
-p
-r
21. Command used to count number of character in a file is
grep
wc
count
cut
22. Which command is used to display all the files including hidden files in your current and its subdirectories ?
ls -aR
ls -a
ls -R
ls -l
23. Which of the following commands can be used to change default permissions for files and directories at the time of creation
chmod
chwon
umask
chgrp
24. Which of the following commands will allow the user to search contents of a file for a particular pattern
touch
grep
find
ls
25. The command syntax to display the file ‘sample.txt’ one page at a time is
man sample.txt>more
cat sample.txt<more
cat sample.txt|more
None of the mentioned
26. Which command gives the first byte where the difference is in the file1 & file2?
Diff
cmp
comm
Ls-a
27. When mv f1 f2 is executed which file’s inode is freed?
f1
f2
new inode will be used
no inode is freed
28. Deleting a soft-link
Deletes the destination file
Deletes both the softlink and the destination file
Deletes just the softlink
backup of the destination is automatically created
29. Who is primarily responsible for the smooth functioning of the system?
System Advisor
System coordinator
System Manager
System Administrator
30. Which has excellent support for older hardware?
Unix
Linux
Minix
Xenix
31. What is the other name of new shell?
Baby shell
Junior shell
Child shell
Assistant shell
32. In Linux hard disk partition, hda2, a stands for the ___
first hard drive
first partition
second partition
second hard drive
33. Where do the users arrive after entering exit in Linux system?
Login screen
Internet
Logout screen
Login prompt
34. Single dot (.) with cd refers to ___
Change directory
Created directory
Current directory
Parent directory
35. Which command is called as the end-of-file command?
Ctrl+ V
Ctrl+ B
Ctrl+ D
Ctrl+ C
36. Which of the following is called as the piping symbol?
_
|
~
!
37. What was the first version of Linux?
1.0
0.11
1.01
0.10
38. What should be the minimum length of a password?
5
6
7
8
39. Who can change the password of any user?
Everyone
SA
Supervisor
End-user
40. Which standard of Unix was followed by Linux?
Byte code
ANSI
ASCII
Unicode
41. Linux systems allow many users to work
Simultaneously
Constantly
Separately
None of the above
42. All directories are stored under one main directory called ____
Server
Home
Folder
Root
43. The full name of directory is called as
(A) Physical name
Path name
Primary name
Proper name
44. The prompt of the other users is
@
%
#
$
45. Which program combines Linux commands to solve the given problems?
Compiler
OS
Shell
Kernel
46. What is the syntax for mounting CD-ROMs?
# mount /mnt/cdrw
# mount / mnt/cdrom
# mount/ mnt/cd
# mount/mnt/cdr
47. What is the space between end of the line and end of the screen is called as?
Dead space
White space
Blank space
Empty space
48. The Vi editor, makes the keyboard to play a ___ role.
Single
Multiple
Dual
Solo
49. In what mode of editing, the keyboard behaves as a normal typewriter with the exception?
Input mode
Command mode
Editing mode
Formatting mode
50. End of file is referred by
fd 0
fd 1
fd 2
fd 3
51. Which command takes data from one command to another command?
Cat
Pipe
More
Tee
52. Can the password and the user name be the same?
Sometimes
Yes
No
Not always
53. What is the command that saves the files when the file actually exists?
NN
DD
ZZ
YY
54. We do not have the control over
Command
Constant
Variable
None
55. Collection of files is called as a
Directory
Root
Field
Home
56. How much of memory space is occupied by Linux?
4 MB
6 MB
8 MB
12 MB
57. The file name can be up to ___ character.
253
254
255
256
58. The prompt of the root user is
@
#
%
$
59. Linux default shell is (A) BAH shell (B) SH shell (C) ASH shell (D) BASH shell Linux default shell is
BAH shell
SH shell
ASH shell
BASH shell
60. Help for all commands is available at
Man command
Help command
Join command
Tput command
61. The option is influenced by the ___ preceding it.
File
Folder
Directory
Command
62. Which of the following is used to append the contents of a file?
=
>>
<
>
63. The ___ process does not allow any unauthorized person to access any of our directories or files.
Confirmation
Analyzing
Verification
Substantiation
64. Which indicate you to find the mode you are working?
Indicator on
Beep sound
Status prompt
Prompt
65. Who are placeholders to store values?
Constants
Variables
OS
Shell
Submit