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 encrypts file abc in Linux?

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

Which Linux Command shows who you are logged in as?

A
df
B
who
C
pwd
D
whoami
Question 3

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

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

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

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

Which Linux command is used for secure connection?

A
ss
B
ssh
C
iptables
D
ethtools
Question 6

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

A
get abc
B
up abc
C
put abc
D
head 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

How to delete user Angela in Linux?

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

Which Linux command is used for path tracking?

A
ping
B
tracepath
C
ethtools
D
iptables
Question 10

Which Linux command kills all processes named abc?

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

How to create group xyz in Linux?

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

Which Linux command shows files in the current directory?

A
dir
B
rm
C
df
D
ss
Question 13

Which Linux command is used for packet analyze?

A
tracepath
B
dig
C
gzip
D
tshark
Question 14

Which Linux command compresses abc file using gzip?

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

With which linux command can we view file abc?

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

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

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

How to find the location of abc quickly in Linux?

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

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

A
displaymsg
B
dmesg
C
showmsg
D
bufmes
Question 19

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

A
ethtool
B
interface
C
filters
D
arpwatch
Question 20

Which LINUX command used for simple DNS lookup?

A
dig
B
dstat
C
curl
D
dir
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.