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
df -h
C
free
D
ls -a
Question 2

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

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

Which Linux command is used for packet analyze?

A
dig
B
gzip
C
tshark
D
tracepath
Question 4

How to encrypts file abc in Linux?

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

Which Linux Command shows who you are logged in as?

A
df
B
who
C
pwd
D
whoami
Question 6

Which Linux command is used for secure connection?

A
ethtools
B
iptables
C
ss
D
ssh
Question 7

With which linux command can we view file abc?

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

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

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

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

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

Which Linux command shows files in the current directory?

A
df
B
dir
C
rm
D
ss
Question 11

Which LINUX command used for simple DNS lookup?

A
dstat
B
dig
C
dir
D
curl
Question 12

Which Linux command kills all processes named abc?

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

Which Linux command is used for path tracking?

A
ping
B
tracepath
C
ethtools
D
iptables
Question 14

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

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

How to create group xyz in Linux?

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

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

A
interface
B
arpwatch
C
filters
D
ethtool
Question 17

Which Linux command compresses abc file using gzip?

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

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

A
showmsg
B
bufmes
C
dmesg
D
displaymsg
Question 19

How to delete user Angela in Linux?

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

How to find the location of abc quickly in Linux?

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