Home
MCQS
Unix/Lunux MCQ Quiz Hub
Linux MCQ Unit 2
Choose a topic to test your knowledge and improve your Unix/Lunux skills
1. What type of editing is possible by Ed editor?
One command
One file
One line
One page
2. ___ command clears the screen.
Clear
Cls
Clear all
Clean screen
3. Which of the following is called as the redirection operator for output?
=
<<
<
>
4. The complete path name of a file or directory is
Root name
Tree name
Relative path name
Absolute path name
5. For what based of PC’s, Linux was specifically designed?
Intel
HCL
Wipro
IBM
6. From where did the file system can be used to unambiguously identified and referenced?
Tree structure
Folders
Home directory
Home directory
7. Which feature is used to prevent overwriting an existing file the redirection operation?
Mkfs
Man
Cat
Noclobber
8. When we want replace a file system we have to ____ the present file system.
Cancel
Remove
Unmount
Mount
9. A record consists of
Files
Folders
Fields
Datas
10. In Linux, if all the members of the group share their files, they are called as
File owner
Other users
File users
Group users
11. When you are in the command mode, what takes you to the line editing mode?
Cursor
colon
Esc
Enter
12. Who can change his/her password with the password command?
Shell
The worker
Guest user
A user
13. Which command copies the contents of the source file after creating the destination file?
mv
cp
cat
rm
14. Which command allows you to delete a word?
cc
dd
cw
dw
15. Which shell provides many of the tools found in C language?
Minix
Xenix
Linux
Unix
16. Which was widely distributed over the Internet?
Linux
Unix
Minix
Xenix
17. Which was the operating system was created mainly by the efforts of Ken Thomson?
Unix
Linux
Minix
Xenix
18. Which command displays the contents of a file?
cat
T pipe
Is
tee
19. How will you see the system date?
$ dd
$ dy
$ date
$dt
20. The location where the user enter user name is called as
Login location
Login user
Login prompt
Login name
21. What is mainly used for creating, deleting and editing the files?
Editors
Compilers
Interpreter
Word processors
22. All the users of the system who are not members of a project group are referred to as
Group users
File owner
Group owner
Other users
23. The file name should not duplicate
Command names
Primary name
First names
System name
24. We should be careful about the lower case and upper case letters when the system is
Case sensitive
Case caful
Case destinictive
Case respective
25. Which command is used to evaluate arithmetic expression?
cat
expre
expr
lets
26. Is command with the -a option will display
sorted files
all files including hidden fields
al files
sub directories
27. Which symbol allows you to search the pattern, backward in the text?
plus (+)
question mark (?)
astrisk (*)
slash (/)
28. Which keys are substituted for the cut facility?
nyy
nkk
ndd
nhh
29. Which Directory is assigned to the user when he/she enters into the system for the first time, by the System Administrator (SA)?
user
home
bin
usr
30. Which command creates a new shell?
ah
oh
ch
sh
31. The cd command stands for
complete directory
created directory
change directory
current directory
32. This command formats a floppy _____
mkfs
mkf
mks
man
33. Which key should be pressed to save a file in line editing mode?
x
s
n
w
34. Hard disk partition is prefixed by
hd
hda
hda2
dha
35. Which command allows you to change a word?
co
dd
dw
cw
36. A directory under a directory is called as
root directory
parent directory
sub directory
child directory
37. Which command will undo the last modification?
o
n
u
w
38. Double dot (..) with cd refers to (A) (B) (C) (D)
created directory
current directory
parent directory
change directory
39. Which version can run on any machine available now?
suitable Unix
suitable Linux
suitable Xenix
suitable Minix
40. Which version can run on any machine available now?
suitable Unix
suitable Linux
suitable Xenix
suitable Minix
41. Which of the following command is used for prompting?
man
echo
Is
pwd
42. Which key open a new line and places the cursor in the beginning of that new line?
P
p
O
o
43. Command Option starts with
* astricks
/ slash
– minus
+ plus
44. Who developed an effective PC version of Unix for Minix users?
Dennis Ritchie
Ken Thomson
Prof. Andrew S. Tannenbaum
Linus Torvalds
45. Which command allows you to change a single character where the cursor is currently on?
o
O
r
R
46. How will you go to a particular line number in Vi editor?
line number R
line number G
line number B
line number N
47. What is the key used to quit Vi editor?
q
q
:a!
qi
48. Which sign is a substitute for our home directory?
($) dollar
(#) hash
(*) astrisks
(~) tilde
49. What is the reference of the second partition on the first hard drive?
hd
hda2
hda
dha
50. Which command allows you to overwrite text?
r
R
O
o
51. Which key places you in input mode in Vi editor after the character where the cursor is currently on?
n
i
a
s
52. The pwd stands for
path work device
present work device
parent working directory
print working directory
53. The file owner can change the access permission by _____ command.
chmod
ahmod
enmod
ehmod
54. What command removes the entire line that the cursor is presently on?
cc
ll
xx
dd
55. Which symbol is used to refer the contents of a variable?
*
""
$
#
56. Establishing the connection between a file system on a storage device and our main directory tree is called as
sharing
changing
mounting
unmounting
57. Which command takes the input from standard input and copies into a file?
cat
T pipe
more
tee
58. Which command allows you to change the entire contents of a line?
cc
nn
cw
dw
59. In File Access Permission, what command gives the owner of the file the execute permission?
s + x
u + x
o + x
a + x
Submit