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

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

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

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

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

How to delete user Angela in Linux?

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

Which Linux command is used for path tracking?

A
ethtools
B
tracepath
C
iptables
D
ping
Question 5

Which Linux command compresses abc file using gzip?

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

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

A
showmsg
B
dmesg
C
bufmes
D
displaymsg
Question 7

How to create group xyz in Linux?

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

How to encrypts file abc in Linux?

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

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 10

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

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

Which Linux command shows files in the current directory?

A
rm
B
df
C
ss
D
dir
Question 12

Which LINUX command used for simple DNS lookup?

A
curl
B
dir
C
dstat
D
dig
Question 13

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

A
interface
B
arpwatch
C
filters
D
ethtool
Question 14

Which Linux command is used for packet analyze?

A
gzip
B
tshark
C
dig
D
tracepath
Question 15

How to find the location of abc quickly in Linux?

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

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

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

Which Linux Command shows who you are logged in as?

A
df
B
whoami
C
pwd
D
who
Question 18

Which Linux command kills all processes named abc?

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

Which Linux command is used for secure connection?

A
ethtools
B
ss
C
iptables
D
ssh
Question 20

With which linux command can we view file abc?

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