Changes

Jump to: navigation, search

OPS235 Lab 6

58 bytes added, 18:10, 7 October 2016
no edit summary
&#35;<br>
&#35; Purpose: Creates system info report<br>
&#35;<br>&#35; USAGE: ./network-info.bash [full pathname to ifcfg-eth0 file-pathname]<br>
<br>
if [ $USER != "root" ] # only runs if logged in as root<br>
if [ $# -ne 1 ]<br>
then<br>
&nbsp;echo "You need to provide a the full pathname to ifcfg-eth0 file-pathname" >&2<br>&nbsp;echo "USAGE: $0 [full pathname to ifcfg-eth0 file-path-name]" >&2<br>
&nbsp;exit 0<br>
fi
13,420
edits

Navigation menu