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

With which linux command can we view file abc?

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

Which LINUX command used for simple DNS lookup?

A
curl
B
dir
C
dig
D
dstat
Question 3

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

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

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

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

Which Linux command kills all processes named abc?

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

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

A
displaymsg
B
dmesg
C
showmsg
D
bufmes
Question 7

How to find the location of abc quickly in Linux?

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

Which Linux command compresses abc file using gzip?

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

Which Linux command is used for packet analyze?

A
tshark
B
gzip
C
dig
D
tracepath
Question 10

How to encrypts file abc in Linux?

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

How to create group xyz in Linux?

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

Which Linux Command shows who you are logged in as?

A
pwd
B
df
C
whoami
D
who
Question 13

Which Linux command is used for secure connection?

A
ss
B
ethtools
C
iptables
D
ssh
Question 14

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

A
ethtool
B
filters
C
arpwatch
D
interface
Question 15

Which Linux command shows files in the current directory?

A
rm
B
df
C
dir
D
ss
Question 16

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

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

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

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

How to delete user Angela in Linux?

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

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

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

Which Linux command is used for path tracking?

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