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 used for simple DNS lookup?

A
dir
B
dstat
C
dig
D
curl
Question 2

Which Linux command is used for path tracking?

A
ping
B
tracepath
C
ethtools
D
iptables
Question 3

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 4

How to create group xyz in Linux?

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

How to find the location of abc quickly in Linux?

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

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

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

Which Linux Command shows who you are logged in as?

A
who
B
df
C
pwd
D
whoami
Question 8

Which Linux command is used for secure connection?

A
ss
B
ethtools
C
ssh
D
iptables
Question 9

How to encrypts file abc in Linux?

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

Which Linux command shows files in the current directory?

A
dir
B
ss
C
df
D
rm
Question 11

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

A
showmsg
B
bufmes
C
dmesg
D
displaymsg
Question 12

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

A
arpwatch
B
filters
C
ethtool
D
interface
Question 13

Which Linux command is used for packet analyze?

A
tracepath
B
dig
C
gzip
D
tshark
Question 14

Which Linux command compresses abc file using gzip?

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

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

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

With which linux command can we view file abc?

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

How to delete user Angela in Linux?

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

Which Linux command kills all processes named abc?

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

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

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

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

A
-s
B
-a
C
-c
D
-m
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.