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 ls option provide comma-­sep­arated output in Linux?

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

Which Linux command compresses abc file using gzip?

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

How to find the location of abc quickly in Linux?

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

With which linux command can we view file abc?

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

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

A
bufmes
B
dmesg
C
displaymsg
D
showmsg
Question 6

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 7

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

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

Which Linux command is used for path tracking?

A
ping
B
ethtools
C
iptables
D
tracepath
Question 9

How to create group xyz in Linux?

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

Which Linux Command shows who you are logged in as?

A
whoami
B
who
C
pwd
D
df
Question 11

How to encrypts file abc in Linux?

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

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

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

Which Linux command is used for packet analyze?

A
tshark
B
tracepath
C
gzip
D
dig
Question 14

Which LINUX command used for simple DNS lookup?

A
curl
B
dir
C
dig
D
dstat
Question 15

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

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

How to delete user Angela in Linux?

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

Which Linux command is used for secure connection?

A
ssh
B
iptables
C
ethtools
D
ss
Question 18

Which Linux command shows files in the current directory?

A
dir
B
df
C
ss
D
rm
Question 19

Which Linux command kills all processes named abc?

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

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

A
ethtool
B
arpwatch
C
filters
D
interface
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.