Script Test [OT]

kwhiskerz kwhiskerz at gmail.com
Sat Sep 6 17:54:39 UTC 2008


The problem is that both computers return hostname = localhost, so that won't 
work. IP address is not always possible, as the network might not be up, 
especially on the laptop.

How would I check the HWaddress (MAC)?

As ifconfig returns a whole list of things:

1.How can I isolate just 00:xx:xx:xx:xx:xx in order to make a comparision?
2.How do I make this comparison in bash? I guess this value must be a string?




More information about the fedora-list mailing list