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

How to displays system reboot history on Linux?

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

Which ls option provide reverese order in Linux?

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

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

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

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

A
get
B
ftp
C
wget
D
tftp
Question 5

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

A
ss
B
fg
C
bg
D
ls
Question 6

Which command is used for ip packet filtering in Linux?

A
dig
B
iptables
C
ethtools
D
filters
Question 7

Which Linux command kills process with name xyz?

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

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

A
route
B
ethtool
C
dig
D
ss
Question 9

Which Linux command collects and shows system resources?

A
ds
B
dstat
C
df
D
dig
Question 10

Which ping option meaaning is WRONG?

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

Which Linux command provide secured file transfer?

A
tftp
B
sctp
C
ftp
D
scp
Question 12

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

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

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

A
lf
B
fg
C
ps
D
df
Question 14

Which options used with ls command is WRONG?

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

Which Linux command is used for security audits?

A
nmap
B
df
C
dig
D
pwd
Question 16

Which LINUX command gives detailed information about the Sockets?

A
ss
B
ssh
C
w
D
fg
Question 17

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

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

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

A
ethtools
B
crontab
C
nslookup
D
dashboard
Question 19

How to displays USB devices in Linux?

A
lsusb -tv
B
dig -tls
C
ethtools -m
D
display -ls
Question 20

Which Linux Command changes priority of an already running process?

A
renew
B
pmap
C
renice
D
pstree
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.