Hi Željko, I tried it but nothing returned.
ree-1.8.7-2010.02 :003`> scutil --get ComputerName Is the above correct? Thank you, Joe On Oct 20, 10:54 am, Željko Filipin <[email protected]> wrote: > On Thu, Oct 20, 2011 at 4:47 PM, Joe Fl <[email protected]> wrote: > > This is a ruby question but how do I get the name of my MAC using > > ruby. > > $ irb> `scutil --get ComputerName` > > => "mac\n" > > My macnine name is "mac". > > Željko > -- > watir.com - community manager > watir.com/book - author > watirpodcast.com - host -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
