1,234
edits
Changes
→Get subnet mask
Write a script that will check whether any interface has the IP address 10.0.0.4 and if it does - it will print the subnet mask used with that interface (subnet mask or bit length, whatever you prefer). If it doesn't - it will print a message saying so.
== Maybe start Apache ==
Write a script that will use the ps command to check whether any apache processes are running. If not - it will call '''systemctl start apache'''.
= Loops =