Jump to: navigation, search

OPS235 Lab 6 - CentOS7 - HD2

36 bytes removed, 19:49, 15 July 2017
Replacing eno with eth0
&#35; Purpose: Creates system info report<br>
&#35;<br>&#35; USAGE: ./network-info.bash [full pathname to ifcfg-eno* eth0 file]<br>
if [ $USER != "root" ] # only runs if logged in as root<br>
if [ $# -ne 1 ]<br>
&nbsp;echo "You need to provide the full pathname to ifcfg-eno eth0 file (eg eno1 or eno followed by numbers)" >&2<br>&nbsp;echo "USAGE: $0 [full pathname to ifcfg-eno* eth0 file]" >&2<br>
&nbsp;exit 0<br>

Navigation menu