Linux Commands Quiz 2

LINUX QUIZ 2

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

Which Linux command is used for path tracking?

A
ping
B
tracepath
C
ethtools
D
iptables
Question 2

Which Linux Command shows who you are logged in as?

A
whoami
B
pwd
C
who
D
df
Question 3

How to create group xyz in Linux?

A
create xyz
B
groupadd xyz
C
touch xyz
D
grp xyz
Question 4

... command displays messages in kernel ring buffer in Linux.

A
showmsg
B
bufmes
C
dmesg
D
displaymsg
Question 5

With which linux command can we view file abc?

A
view abc
B
display abc
C
ls abc
D
cat abc
Question 6

Which Linux command is used for secure connection?

A
ss
B
iptables
C
ssh
D
ethtools
Question 7

How to encrypts file abc in Linux?

A
encry -o abc
B
touch abc
C
gpg -c abc
D
tail abc
Question 8

Which Linux command shows files in the current directory?

A
rm
B
df
C
ss
D
dir
Question 9

In Linux, .... command shows free and used space on mounted file systems.

A
bg
B
df -h
C
ls -a
D
free
Question 10

How to delete user Angela in Linux?

A
move Angela
B
userdel Angela
C
del Angela
D
remove Angela
Question 11

Which Linux command is used for packet analyze?

A
tracepath
B
dig
C
tshark
D
gzip
Question 12

With which Linux command, can we upload file ‘abc’ from local to remote device?

A
up abc
B
head abc
C
get abc
D
put abc
Question 13

Which ls option provide comma-­sep­arated output in Linux?

A
-s
B
-c
C
-m
D
-a
Question 14

Which LINUX command used for simple DNS lookup?

A
dig
B
dir
C
curl
D
dstat
Question 15

Which Linux command displays ethernet activity and Ethernet/ip pairings?

A
interface
B
arpwatch
C
filters
D
ethtool
Question 16

Which Linux command kills all processes named abc?

A
pkill abc
B
kill abc
C
killall abc
D
killall
Question 17

Which Linux command compresses abc file using gzip?

A
df abc
B
pwd gzip abc
C
tail abc
D
gzip abc
Question 18

In Linux, .... command brings job x to the foreground.

A
ss x
B
bg x
C
fg x
D
df x
Question 19

How to find the location of abc quickly in Linux?

A
move abc
B
grep abc
C
locate abc
D
find abc
Question 20

With which command can we display first 10 lines of file abc?

A
tail abc
B
head abc
C
ls abc
D
touch abc
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