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

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

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

Which Linux command shows files in the current directory?

A
dir
B
ss
C
rm
D
df
Question 3

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

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

Which LINUX command used for simple DNS lookup?

A
dstat
B
dir
C
curl
D
dig
Question 5

How to find the location of abc quickly in Linux?

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

Which Linux command is used for packet analyze?

A
tshark
B
tracepath
C
dig
D
gzip
Question 7

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

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

How to create group xyz in Linux?

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

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

A
bufmes
B
showmsg
C
displaymsg
D
dmesg
Question 10

How to encrypts file abc in Linux?

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

Which Linux command compresses abc file using gzip?

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

Which Linux command is used for secure connection?

A
ssh
B
ethtools
C
iptables
D
ss
Question 13

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

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

Which Linux command kills all processes named abc?

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

With which linux command can we view file abc?

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

How to delete user Angela in Linux?

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

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

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

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

A
interface
B
ethtool
C
filters
D
arpwatch
Question 19

Which Linux command is used for path tracking?

A
tracepath
B
ping
C
iptables
D
ethtools
Question 20

Which Linux Command shows who you are logged in as?

A
whoami
B
df
C
who
D
pwd
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.