Linux Commands Quiz 1

LINUX QUIZ 1

  CONGRATULATIONS! YOU HAVE COMPLETED LINUX QUIZ 1. YOU HAVE %%SCORE%% TRUE ANSWERS OUT OF %%TOTAL%% QUESTIONS. YOUR SCORE IS %%PERCENTAGE%%. %%RATING%%  
Your answers are highlighted below.
Question 1

Which ping option meaaning is WRONG?

A
s - ping packet size
B
c - number of ping packet
C
f - ping flood
D
d - continuous ping packets
Question 2

With which command can we execute to count the number of lines in a file?

A
wc - l
B
count
C
cl
D
lc
Question 3

Which Linux command is used for security audits?

A
df
B
nmap
C
pwd
D
dig
Question 4

Which Linux command collects and shows system resources?

A
ds
B
dstat
C
df
D
dig
Question 5

To give "rw- rw- r--" permissions for file X which command do we use?

A
chmod 665 filename
B
chmod 774 filename
C
chmod 664 filename
D
chmod 775 filename
Question 6

Which command is used for ip packet filtering in Linux?

A
dig
B
ethtools
C
iptables
D
filters
Question 7

Which LINUX command lists and resumes stopped jobs in the background?

A
bg
B
fg
C
ss
D
ls
Question 8

Which LINUX command forcefully deletes "abc" file without confirmation?

A
rm -a abc
B
rm -l abc
C
rm -x abc
D
rm -f abc
Question 9

Which ls option provide reverese order in Linux?

A
-r
B
-t
C
-b
D
-l
Question 10

Which Linux command is used to download the content of the web servers?

A
wget
B
get
C
tftp
D
ftp
Question 11

Which Linux command kills process with name xyz?

A
pkill xyz
B
delete xyz
C
del xyz
D
mv xyz
Question 12

Which options used with ls command is WRONG?

A
t - sort by time, newest first
B
r - reverse order sorting
C
a - remove hidden files
D
l - long listing format
Question 13

How to displays system reboot history on Linux?

A
last reboot
B
lst
C
display reboot
D
reboot
Question 14

Which LINUX command gives detailed information about the Sockets?

A
ssh
B
fg
C
w
D
ss
Question 15

Which command moves the given process from the background to the foreground?

A
lf
B
ps
C
fg
D
df
Question 16

Which Linux Command changes priority of an already running process?

A
renice
B
renew
C
pstree
D
pmap
Question 17

Which Linux command provide secured file transfer?

A
tftp
B
sctp
C
scp
D
ftp
Question 18

Which Linux command is used to schedule a command to run at a later time?

A
ethtools
B
nslookup
C
crontab
D
dashboard
Question 19

Which LINUX command is used to check settings of your NIC?

A
ethtool
B
route
C
dig
D
ss
Question 20

How to displays USB devices in Linux?

A
display -ls
B
ethtools -m
C
lsusb -tv
D
dig -tls
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.