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
pkill abc
C
killall abc
D
killall
Question 2

Which Linux Command shows who you are logged in as?

A
who
B
whoami
C
pwd
D
df
Question 3

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

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

Which Linux command is used for packet analyze?

A
gzip
B
tracepath
C
dig
D
tshark
Question 5

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

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

With which linux command can we view file abc?

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

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 8

Which Linux command shows files in the current directory?

A
df
B
rm
C
ss
D
dir
Question 9

How to create group xyz in Linux?

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

Which LINUX command used for simple DNS lookup?

A
dir
B
dstat
C
curl
D
dig
Question 11

How to delete user Angela in Linux?

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

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 13

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

A
dmesg
B
displaymsg
C
bufmes
D
showmsg
Question 14

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

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

Which Linux command is used for secure connection?

A
iptables
B
ssh
C
ethtools
D
ss
Question 16

How to find the location of abc quickly in Linux?

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

Which Linux command is used for path tracking?

A
iptables
B
ethtools
C
ping
D
tracepath
Question 18

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

A
arpwatch
B
interface
C
filters
D
ethtool
Question 19

Which Linux command compresses abc file using gzip?

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

How to encrypts file abc in Linux?

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