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 kills all processes named abc?

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

With which linux command can we view file abc?

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

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

A
bufmes
B
displaymsg
C
showmsg
D
dmesg
Question 4

Which Linux command compresses abc file using gzip?

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

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

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

Which Linux command is used for path tracking?

A
tracepath
B
ethtools
C
ping
D
iptables
Question 7

How to find the location of abc quickly in Linux?

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

Which Linux command is used for secure connection?

A
ss
B
ethtools
C
iptables
D
ssh
Question 9

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

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

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

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

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

A
ethtool
B
filters
C
arpwatch
D
interface
Question 12

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

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

How to create group xyz in Linux?

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

Which Linux command shows files in the current directory?

A
dir
B
rm
C
df
D
ss
Question 15

How to delete user Angela in Linux?

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

Which Linux Command shows who you are logged in as?

A
who
B
df
C
pwd
D
whoami
Question 17

Which LINUX command used for simple DNS lookup?

A
dir
B
curl
C
dig
D
dstat
Question 18

Which Linux command is used for packet analyze?

A
tshark
B
gzip
C
dig
D
tracepath
Question 19

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

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

How to encrypts file abc in Linux?

A
tail abc
B
touch abc
C
gpg -c abc
D
encry -o 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.