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
find abc
B
locate abc
C
grep abc
D
move abc
Question 2

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

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

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

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

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 5

How to encrypts file abc in Linux?

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

Which Linux command is used for path tracking?

A
ping
B
iptables
C
tracepath
D
ethtools
Question 7

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

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

Which LINUX command used for simple DNS lookup?

A
dir
B
dstat
C
dig
D
curl
Question 9

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

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

Which Linux command is used for packet analyze?

A
dig
B
tracepath
C
tshark
D
gzip
Question 11

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

A
interface
B
arpwatch
C
filters
D
ethtool
Question 12

Which Linux command compresses abc file using gzip?

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

How to create group xyz in Linux?

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

How to delete user Angela in Linux?

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

Which Linux Command shows who you are logged in as?

A
who
B
df
C
pwd
D
whoami
Question 16

Which Linux command is used for secure connection?

A
ssh
B
ss
C
ethtools
D
iptables
Question 17

Which Linux command shows files in the current directory?

A
df
B
ss
C
dir
D
rm
Question 18

With which linux command can we view file abc?

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

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

A
showmsg
B
displaymsg
C
bufmes
D
dmesg
Question 20

Which Linux command kills all processes named abc?

A
killall abc
B
pkill abc
C
kill abc
D
killall
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.