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
dig
C
gzip
D
tshark
Question 2

Which Linux command shows files in the current directory?

A
rm
B
df
C
ss
D
dir
Question 3

How to find the location of abc quickly in Linux?

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

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

A
displaymsg
B
bufmes
C
showmsg
D
dmesg
Question 5

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

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

With which linux command can we view file abc?

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

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

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

Which LINUX command used for simple DNS lookup?

A
curl
B
dig
C
dir
D
dstat
Question 9

Which Linux command kills all processes named abc?

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

Which Linux command compresses abc file using gzip?

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

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 12

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

A
interface
B
ethtool
C
arpwatch
D
filters
Question 13

Which Linux command is used for path tracking?

A
ethtools
B
ping
C
iptables
D
tracepath
Question 14

Which Linux Command shows who you are logged in as?

A
whoami
B
df
C
pwd
D
who
Question 15

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

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

How to delete user Angela in Linux?

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

How to encrypts file abc in Linux?

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

How to create group xyz in Linux?

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

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

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

Which Linux command is used for secure connection?

A
ssh
B
iptables
C
ss
D
ethtools
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.