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 delete user Angela in Linux?

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

With which linux command can we view file abc?

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

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

A
displaymsg
B
bufmes
C
dmesg
D
showmsg
Question 4

Which Linux command compresses abc file using gzip?

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

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

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

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

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

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

A
arpwatch
B
interface
C
filters
D
ethtool
Question 8

Which Linux command kills all processes named abc?

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

Which LINUX command used for simple DNS lookup?

A
dig
B
dstat
C
curl
D
dir
Question 10

How to encrypts file abc in Linux?

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

How to find the location of abc quickly in Linux?

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

Which Linux command shows files in the current directory?

A
rm
B
df
C
dir
D
ss
Question 13

Which Linux command is used for secure connection?

A
iptables
B
ssh
C
ss
D
ethtools
Question 14

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

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

How to create group xyz in Linux?

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

Which Linux command is used for packet analyze?

A
gzip
B
tshark
C
dig
D
tracepath
Question 17

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

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

Which Linux command is used for path tracking?

A
ethtools
B
tracepath
C
ping
D
iptables
Question 19

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

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

Which Linux Command shows who you are logged in as?

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