Linux Commands Quiz 5

LINUX QUIZ 5

  CONGRATULATIONS! YOU HAVE COMPLETED LINUX QUIZ 5. YOU HAVE %%SCORE%% TRUE ANSWERS OUT OF %%TOTAL%% QUESTIONS. YOUR SCORE IS %%PERCENTAGE%%. %%RATING%%
Your answers are highlighted below.
Question 1

Which ones are modes of vi editor? (Select three)

A
monitor mode
B
insert mode
C
command mode
D
owner mode
E
ex mode
Question 2

How can we schedule a task in Linux? (Select Two)

A
calender
B
set
C
cron
D
at
E
sch
Question 3

How can we open file abc.txt in read-only mode using vim editor?

A
none of them
B
show -r abc.txt
C
vi -R abc.txt
D
vim -R abc.txt
E
exc -r abc.txt
Question 4

How do you refer to the parallel port that our printer is connected?

A
/sys/dvc
B
/device/usb
C
/usr/local
D
/dev/lp
E
none of them
Question 5

Which one is used to see how much memory is being used? (Select Three)

A
top
B
chmod
C
ethtools
D
vmstat
E
free
Question 6

Which one saves current work and exist in vi editor?

A
:wq!
B
:wq
C
:q!
D
:q
E
:w!
Question 7

Which command do we use, to look at the content of compressed file, abc.z?

A
zip abc.z
B
cat abc.z
C
none of them
D
vi abc.z
E
zcat abc.z
Question 8

What are the filenames that are preceded by a dot?

A
Draft Files
B
Run Files
C
Critical Files
D
Hidden Files
E
System Files
Question 9

Comments are created by typing the ... symbol before the actual command.

A
&
B
*
C
#
D
-
E
/
Question 10

How to identify which shell you are using in Linux?

A
echo $SHELL
B
pwd $SHELL
C
cat $SHELL
D
show $SHELL
E
vi $SHELL
Question 11

To terminate all processes, we use ... in Linux.

A
stop 0
B
end 0
C
terminate 0
D
kill 0
E
dead 0
Question 12

Which Linux command combines ping and track path into a single command?

A
mtr
B
traceroute
C
pintrc
D
traceping
E
ping
Question 13

What is the appreviation command for print working directory?

A
pow
B
dir
C
pwd
D
prt
E
print
Question 14

Which one gives read, write, and execute to owner while read to group and everyone?

A
744
B
655
C
754
D
755
E
544
Question 15

With which command can you change permissions in Linux?

A
chmod
B
dstat
C
du
D
pwd
E
mkdir
Question 16

How do you check how much space left in current drive ?

A
ls
B
df
C
ds
D
w
Question 17

Which regular expression used in Linux is False?

A
none of them
B
? - Match exactly one more characters
C
* - Match zero or more characters
D
^ - Match the beginning of the String
E
$ - Match the end of the String
Question 18
What is the space that holds running programs when RAM does not have enough space?
A
Swap Space
B
Buffer Space
C
System Space
D
RAM Space
E
Idle Space
Question 19

Which one is the permission number used for r – x?

A
7
B
4
C
3
D
5
E
1
Question 20

Which system call is used to create a new process?

A
run()
B
wait()
C
fork()
D
exec()
E
exit()
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 20 questions to complete.