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 find the location of abc quickly in Linux?

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

How to encrypts file abc in Linux?

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

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

A
arpwatch
B
ethtool
C
interface
D
filters
Question 4

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

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

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

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

Which Linux command shows files in the current directory?

A
rm
B
dir
C
df
D
ss
Question 7

Which Linux command is used for path tracking?

A
ethtools
B
iptables
C
tracepath
D
ping
Question 8

Which Linux command compresses abc file using gzip?

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

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

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

Which Linux command kills all processes named abc?

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

How to delete user Angela in Linux?

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

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

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

Which LINUX command used for simple DNS lookup?

A
dig
B
dir
C
dstat
D
curl
Question 14

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

A
dmesg
B
bufmes
C
displaymsg
D
showmsg
Question 15

Which Linux command is used for secure connection?

A
ss
B
iptables
C
ethtools
D
ssh
Question 16

How to create group xyz in Linux?

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

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

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

With which linux command can we view file abc?

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

Which Linux Command shows who you are logged in as?

A
df
B
pwd
C
who
D
whoami
Question 20

Which Linux command is used for packet analyze?

A
dig
B
tshark
C
tracepath
D
gzip
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.