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
wc - l
B
cl
C
count
D
lc
Question 2

Which LINUX command gives detailed information about the Sockets?

A
ss
B
w
C
fg
D
ssh
Question 3

How to displays system reboot history on Linux?

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

Which ping option meaaning is WRONG?

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

Which options used with ls command is WRONG?

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

Which Linux command provide secured file transfer?

A
scp
B
ftp
C
tftp
D
sctp
Question 7

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

A
fg
B
df
C
ps
D
lf
Question 8

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

A
crontab
B
nslookup
C
ethtools
D
dashboard
Question 9

Which ls option provide reverese order in Linux?

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

Which Linux Command changes priority of an already running process?

A
pmap
B
renice
C
renew
D
pstree
Question 11

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

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

Which command is used for ip packet filtering in Linux?

A
iptables
B
ethtools
C
filters
D
dig
Question 13

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

A
ls
B
fg
C
bg
D
ss
Question 14

Which Linux command is used for security audits?

A
pwd
B
dig
C
df
D
nmap
Question 15

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

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

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

A
ss
B
dig
C
route
D
ethtool
Question 17

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

A
ftp
B
wget
C
tftp
D
get
Question 18

How to displays USB devices in Linux?

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

Which Linux command collects and shows system resources?

A
df
B
dig
C
dstat
D
ds
Question 20

Which Linux command kills process with name xyz?

A
del xyz
B
pkill xyz
C
delete xyz
D
mv xyz
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.