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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!