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

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

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

Which Linux command is used for secure connection?

A
ss
B
ethtools
C
ssh
D
iptables
Question 3

Which Linux command is used for packet analyze?

A
tracepath
B
tshark
C
gzip
D
dig
Question 4

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

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

How to find the location of abc quickly in Linux?

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

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

A
interface
B
arpwatch
C
filters
D
ethtool
Question 7

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

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

Which Linux command shows files in the current directory?

A
rm
B
ss
C
df
D
dir
Question 9

How to create group xyz in Linux?

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

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

A
dmesg
B
bufmes
C
displaymsg
D
showmsg
Question 11

How to delete user Angela in Linux?

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

Which LINUX command used for simple DNS lookup?

A
dir
B
dig
C
dstat
D
curl
Question 13

How to encrypts file abc in Linux?

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

Which Linux command is used for path tracking?

A
iptables
B
ping
C
tracepath
D
ethtools
Question 15

Which Linux command compresses abc file using gzip?

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

Which Linux Command shows who you are logged in as?

A
pwd
B
whoami
C
df
D
who
Question 17

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 18

Which Linux command kills all processes named abc?

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

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

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

With which linux command can we view file abc?

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