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 displays ethernet activity and Ethernet/ip pairings?

A
filters
B
interface
C
arpwatch
D
ethtool
Question 2

Which Linux Command shows who you are logged in as?

A
df
B
pwd
C
who
D
whoami
Question 3

Which LINUX command used for simple DNS lookup?

A
dstat
B
dir
C
dig
D
curl
Question 4

How to create group xyz in Linux?

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

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

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

Which Linux command compresses abc file using gzip?

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

How to delete user Angela in Linux?

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

Which Linux command is used for secure connection?

A
ssh
B
ethtools
C
iptables
D
ss
Question 9

With which linux command can we view file abc?

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

How to find the location of abc quickly in Linux?

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

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

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

Which Linux command shows files in the current directory?

A
ss
B
dir
C
rm
D
df
Question 13

Which Linux command is used for packet analyze?

A
tshark
B
tracepath
C
dig
D
gzip
Question 14

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

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

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

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

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

A
displaymsg
B
bufmes
C
showmsg
D
dmesg
Question 17

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

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

Which Linux command kills all processes named abc?

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

Which Linux command is used for path tracking?

A
ethtools
B
ping
C
tracepath
D
iptables
Question 20

How to encrypts file abc in Linux?

A
tail abc
B
encry -o abc
C
gpg -c 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.