Open main menu

CDOT Wiki β

Changes

OPS435 Test1 Practice - Bash

174 bytes added, 21:53, 22 February 2016
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 =