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

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

A
ds
B
ls
C
df
D
w
Question 2

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

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

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

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

Which system call is used to create a new process?

A
run()
B
exec()
C
wait()
D
fork()
E
exit()
Question 5

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

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

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

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

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

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

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

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

Which one saves current work and exist in vi editor?

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

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

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

Which regular expression used in Linux is False?

A
^ - Match the beginning of the String
B
? - Match exactly one more characters
C
none of them
D
* - Match zero or more characters
E
$ - Match the end of the String
Question 12

With which command can you change permissions in Linux?

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

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

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

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

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

What are the filenames that are preceded by a dot?

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

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

A
none of them
B
exc -r abc.txt
C
vi -R abc.txt
D
vim -R abc.txt
E
show -r abc.txt
Question 17
What is the space that holds running programs when RAM does not have enough space?
A
System Space
B
Idle Space
C
RAM Space
D
Swap Space
E
Buffer Space
Question 18

What is the appreviation command for print working directory?

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

How to identify which shell you are using in Linux?

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

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

A
/dev/lp
B
/usr/local
C
none of them
D
/device/usb
E
/sys/dvc
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.
gokhan-kosem-instructor-ipcisco

Gokhan Kosem is a Network Engineer, Instructor and the Founder of IPCisco.com with 15+ years of experience in Cisco, Nokia, Huawei, Juniper, Linux, Service Provider Networks, Routing and Switching technologies.

He has worked on the backbone networks of major service providers and network vendors including Nortel, Alcatel-Lucent (Nokia) and has extensive hands-on experience with Cisco, Huawei, Juniper and Nokia networking technologies.

He has trained thousands of networking students worldwide through IPCisco.com, Udemy, books, labs, quizzes, and educational content across multiple social media platforms.

IPCisco.com | Best Route to Your Dreams