Ok, I got this thing to work but I do not understand how my input file is passed to the script. Any help breaking down this script would be appreciated. The input file that gets passed is address.data
echo "What is the name of the file? "
read filename
if [ -r $filename ]...
I think I am blind...the value for $filename is actually address.data which contains a list of names and address; although I do not think it is declared anywhere.
> then sort +8n +0 +1 $filename> address.sort
> awk '{print $1, $2
> print $3, $4, $5
> print $6...
I am attempting to create a script that will
1)Ask for the name of a file
2)Verify that the file is readable
3)If the file d/n exist or is not readable, issue an error message of some sort
4)print the file that has been sorted.
I am not sure if I should declare a variable for the file or not...
As soon as I get the opportunity, hopefully in a couple of days I am going to pick this back up. I think we will go with a full re-install after I verify what the physical nics are. Thanks to all!
I did attempt configuring the /etc/hostname file and included the broadcast address. I must be missing other files to configure or I need to start from scratch and re-install the OS. I am however able to see all the drivers installed for the nics.
Thanks for the suggestion, I will however...
I have a Compaq Prolinear Server PL1600 with 2 nics. I do a ifconfig -a and this is all I get:
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000
Where do I go from here?
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.