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
last reboot
C
reboot
D
lst
Question 2

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

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

Which command is used for ip packet filtering in Linux?

A
ethtools
B
dig
C
filters
D
iptables
Question 4

Which Linux command collects and shows system resources?

A
ds
B
dig
C
dstat
D
df
Question 5

Which LINUX command gives detailed information about the Sockets?

A
ss
B
w
C
ssh
D
fg
Question 6

How to displays USB devices in Linux?

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

Which options used with ls command is WRONG?

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

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

A
get
B
tftp
C
wget
D
ftp
Question 9

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

A
crontab
B
dashboard
C
nslookup
D
ethtools
Question 10

Which ping option meaaning is WRONG?

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

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

A
ss
B
ethtool
C
dig
D
route
Question 12

Which Linux Command changes priority of an already running process?

A
renice
B
renew
C
pmap
D
pstree
Question 13

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

A
fg
B
ls
C
bg
D
ss
Question 14

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

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

Which Linux command provide secured file transfer?

A
ftp
B
scp
C
tftp
D
sctp
Question 16

Which Linux command is used for security audits?

A
pwd
B
dig
C
df
D
nmap
Question 17

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

A
lf
B
fg
C
df
D
ps
Question 18

Which Linux command kills process with name xyz?

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

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

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

Which ls option provide reverese order in Linux?

A
-r
B
-l
C
-b
D
-t
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.