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

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

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

Which ls option provide reverese order in Linux?

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

Which Linux command kills process with name xyz?

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

Which LINUX command gives detailed information about the Sockets?

A
w
B
ssh
C
fg
D
ss
Question 5

Which Linux Command changes priority of an already running process?

A
pstree
B
renice
C
renew
D
pmap
Question 6

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

A
ps
B
df
C
fg
D
lf
Question 7

Which Linux command provide secured file transfer?

A
sctp
B
scp
C
ftp
D
tftp
Question 8

How to displays system reboot history on Linux?

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

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

A
ss
B
ethtool
C
dig
D
route
Question 10

Which Linux command collects and shows system resources?

A
dstat
B
dig
C
ds
D
df
Question 11

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

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

Which options used with ls command is WRONG?

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

How to displays USB devices in Linux?

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

Which Linux command is used for security audits?

A
pwd
B
nmap
C
df
D
dig
Question 15

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

A
nslookup
B
dashboard
C
crontab
D
ethtools
Question 16

Which command is used for ip packet filtering in Linux?

A
dig
B
iptables
C
filters
D
ethtools
Question 17

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

A
wget
B
get
C
ftp
D
tftp
Question 18

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

A
bg
B
fg
C
ls
D
ss
Question 19

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

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

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
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.