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 packet analyze?

A
tracepath
B
tshark
C
dig
D
gzip
Question 2

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

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

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

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

Which Linux command shows files in the current directory?

A
dir
B
ss
C
rm
D
df
Question 5

Which Linux command kills all processes named abc?

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

Which Linux Command shows who you are logged in as?

A
whoami
B
df
C
who
D
pwd
Question 7

How to find the location of abc quickly in Linux?

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

Which Linux command is used for secure connection?

A
iptables
B
ethtools
C
ss
D
ssh
Question 9

How to delete user Angela in Linux?

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

How to encrypts file abc in Linux?

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

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

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

Which Linux command compresses abc file using gzip?

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

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

A
bufmes
B
dmesg
C
showmsg
D
displaymsg
Question 14

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

A
arpwatch
B
interface
C
filters
D
ethtool
Question 15

Which LINUX command used for simple DNS lookup?

A
dir
B
dig
C
dstat
D
curl
Question 16

How to create group xyz in Linux?

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

With which linux command can we view file abc?

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

Which Linux command is used for path tracking?

A
ping
B
iptables
C
tracepath
D
ethtools
Question 19

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

A
head abc
B
ls abc
C
touch abc
D
tail abc
Question 20

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

A
fg x
B
ss x
C
bg x
D
df x
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