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

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

A
bufmes
B
dmesg
C
displaymsg
D
showmsg
Question 2

Which LINUX command used for simple DNS lookup?

A
dig
B
dstat
C
curl
D
dir
Question 3

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

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

Which Linux command is used for path tracking?

A
ping
B
iptables
C
tracepath
D
ethtools
Question 5

How to delete user Angela in Linux?

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

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

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

Which Linux command kills all processes named abc?

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

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

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

Which Linux Command shows who you are logged in as?

A
who
B
whoami
C
pwd
D
df
Question 10

With which linux command can we view file abc?

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

Which Linux command is used for secure connection?

A
ssh
B
ss
C
iptables
D
ethtools
Question 12

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

A
ethtool
B
interface
C
arpwatch
D
filters
Question 13

How to find the location of abc quickly in Linux?

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

How to encrypts file abc in Linux?

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

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

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

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

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

Which Linux command compresses abc file using gzip?

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

Which Linux command shows files in the current directory?

A
dir
B
ss
C
rm
D
df
Question 19

How to create group xyz in Linux?

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

Which Linux command is used for packet analyze?

A
dig
B
tshark
C
gzip
D
tracepath
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.