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 create group xyz in Linux?

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

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

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

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

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

Which Linux command is used for secure connection?

A
ethtools
B
ssh
C
iptables
D
ss
Question 5

Which LINUX command used for simple DNS lookup?

A
dir
B
dig
C
dstat
D
curl
Question 6

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

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

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

A
ethtool
B
arpwatch
C
filters
D
interface
Question 8

Which Linux Command shows who you are logged in as?

A
whoami
B
pwd
C
df
D
who
Question 9

Which Linux command shows files in the current directory?

A
rm
B
dir
C
df
D
ss
Question 10

How to find the location of abc quickly in Linux?

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

Which Linux command compresses abc file using gzip?

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

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

A
dmesg
B
showmsg
C
displaymsg
D
bufmes
Question 13

Which Linux command is used for packet analyze?

A
tshark
B
gzip
C
tracepath
D
dig
Question 14

Which Linux command kills all processes named abc?

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

With which linux command can we view file abc?

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

How to encrypts file abc in Linux?

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

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

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

Which Linux command is used for path tracking?

A
iptables
B
tracepath
C
ping
D
ethtools
Question 19

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

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

How to delete user Angela in Linux?

A
remove Angela
B
userdel Angela
C
del Angela
D
move Angela
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.