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 path tracking?

A
ping
B
ethtools
C
iptables
D
tracepath
Question 2

Which LINUX command used for simple DNS lookup?

A
dig
B
dir
C
dstat
D
curl
Question 3

How to delete user Angela in Linux?

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

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

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

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

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

How to encrypts file abc in Linux?

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

Which Linux command is used for secure connection?

A
ssh
B
iptables
C
ethtools
D
ss
Question 8

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

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

Which Linux command kills all processes named abc?

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

Which Linux command shows files in the current directory?

A
rm
B
df
C
ss
D
dir
Question 11

Which Linux Command shows who you are logged in as?

A
pwd
B
df
C
who
D
whoami
Question 12

How to create group xyz in Linux?

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

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

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

Which Linux command compresses abc file using gzip?

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

How to find the location of abc quickly in Linux?

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

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

A
arpwatch
B
filters
C
interface
D
ethtool
Question 17

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

A
displaymsg
B
bufmes
C
showmsg
D
dmesg
Question 18

Which Linux command is used for packet analyze?

A
tracepath
B
gzip
C
tshark
D
dig
Question 19

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

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

With which linux command can we view file abc?

A
ls abc
B
display abc
C
view abc
D
cat 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.