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

Which Linux command shows files in the current directory?

A
df
B
dir
C
ss
D
rm
Question 2

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

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

Which Linux command is used for path tracking?

A
ping
B
ethtools
C
iptables
D
tracepath
Question 4

How to delete user Angela in Linux?

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

How to find the location of abc quickly in Linux?

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

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

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

How to create group xyz in Linux?

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

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

A
interface
B
ethtool
C
filters
D
arpwatch
Question 9

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

A
showmsg
B
displaymsg
C
dmesg
D
bufmes
Question 10

Which Linux Command shows who you are logged in as?

A
df
B
whoami
C
who
D
pwd
Question 11

Which Linux command is used for secure connection?

A
ssh
B
ethtools
C
ss
D
iptables
Question 12

Which Linux command compresses abc file using gzip?

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

Which Linux command kills all processes named abc?

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

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

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

Which LINUX command used for simple DNS lookup?

A
dstat
B
dir
C
curl
D
dig
Question 16

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

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

With which linux command can we view file abc?

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

Which Linux command is used for packet analyze?

A
tshark
B
dig
C
tracepath
D
gzip
Question 19

How to encrypts file abc in Linux?

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

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

A
-m
B
-c
C
-a
D
-s
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.