Question
I need help to write this short Linux script to do the follow and the file is falled testscript.sh: The script will display only requested
I need help to write this short Linux script to do the follow and the file is falled testscript.sh:
The script will display only requested information in three visually distinct sections. The output must be succinct (brief & clear), well formatted, and may not exceed one screen.
Verify service status for the following services:
NetworkManager is turned off
Network service is turned on
Firewalld is turned off
Selinux is disabled
o Network settings to display:
IP address for red and blue interface, including the interface name
DNS server(s)
Order of hostname resolution
Contents of host file
Default gateway
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started