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

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

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

How to displays system reboot history on Linux?

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

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

A
ftp
B
get
C
tftp
D
wget
Question 4

Which Linux command collects and shows system resources?

A
df
B
dig
C
ds
D
dstat
Question 5

How to displays USB devices in Linux?

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

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

A
df
B
ps
C
fg
D
lf
Question 7

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

A
ls
B
ss
C
fg
D
bg
Question 8

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

A
ethtool
B
dig
C
ss
D
route
Question 9

Which Linux command provide secured file transfer?

A
tftp
B
ftp
C
scp
D
sctp
Question 10

Which Linux Command changes priority of an already running process?

A
renew
B
pstree
C
pmap
D
renice
Question 11

Which LINUX command gives detailed information about the Sockets?

A
ssh
B
fg
C
ss
D
w
Question 12

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

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

Which Linux command kills process with name xyz?

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

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

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

Which options used with ls command is WRONG?

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

Which Linux command is used for security audits?

A
nmap
B
pwd
C
dig
D
df
Question 17

Which ls option provide reverese order in Linux?

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

Which ping option meaaning is WRONG?

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

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

A
dashboard
B
ethtools
C
nslookup
D
crontab
Question 20

Which command is used for ip packet filtering in Linux?

A
filters
B
iptables
C
ethtools
D
dig
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.