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
curl
B
dir
C
dstat
D
dig
Question 2

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

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

Which Linux command compresses abc file using gzip?

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

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

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

Which Linux command is used for packet analyze?

A
tracepath
B
tshark
C
dig
D
gzip
Question 6

How to find the location of abc quickly in Linux?

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

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

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

How to delete user Angela in Linux?

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

Which Linux command kills all processes named abc?

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

How to encrypts file abc in Linux?

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

Which Linux Command shows who you are logged in as?

A
who
B
df
C
whoami
D
pwd
Question 12

How to create group xyz in Linux?

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

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

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

Which Linux command is used for secure connection?

A
iptables
B
ss
C
ssh
D
ethtools
Question 15

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

A
bufmes
B
displaymsg
C
dmesg
D
showmsg
Question 16

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

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

With which linux command can we view file abc?

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

Which Linux command shows files in the current directory?

A
dir
B
ss
C
rm
D
df
Question 19

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

A
ethtool
B
arpwatch
C
interface
D
filters
Question 20

Which Linux command is used for path tracking?

A
tracepath
B
ethtools
C
iptables
D
ping
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.