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

How to create group xyz in Linux?

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

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

A
displaymsg
B
dmesg
C
showmsg
D
bufmes
Question 3

Which Linux command is used for packet analyze?

A
dig
B
tracepath
C
tshark
D
gzip
Question 4

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

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

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 6

Which Linux command shows files in the current directory?

A
dir
B
rm
C
df
D
ss
Question 7

How to delete user Angela in Linux?

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

Which Linux command is used for secure connection?

A
ethtools
B
iptables
C
ssh
D
ss
Question 9

Which Linux command kills all processes named abc?

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

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

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

With which linux command can we view file abc?

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

Which Linux Command shows who you are logged in as?

A
df
B
whoami
C
pwd
D
who
Question 13

Which Linux command compresses abc file using gzip?

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

Which LINUX command used for simple DNS lookup?

A
curl
B
dstat
C
dig
D
dir
Question 15

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

A
filters
B
interface
C
ethtool
D
arpwatch
Question 16

Which Linux command is used for path tracking?

A
tracepath
B
iptables
C
ping
D
ethtools
Question 17

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

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

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

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

How to encrypts file abc in Linux?

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

How to find the location of abc quickly in Linux?

A
move abc
B
find abc
C
locate abc
D
grep 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.