<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to get the Mac address.... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041828#M64659</link>
    <description>hi ppl,&lt;BR /&gt;       I am using the following in the shell script &lt;BR /&gt;#!/bin/sh&lt;BR /&gt; MAC=`ifconfig  | grep 'HWaddr '|cut -f 11 -d" "` ;&lt;BR /&gt;echo "$MAC";&lt;BR /&gt;&lt;BR /&gt;But the output is 00:30:18:1D:4C:5A&lt;BR /&gt;And the desired output is 0030181D4C5A&lt;BR /&gt;&lt;BR /&gt;Just tel me how to go about it.Thnks in advance&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 23 Jul 2007 06:24:31 GMT</pubDate>
    <dc:creator>Karthik_sg</dc:creator>
    <dc:date>2007-07-23T06:24:31Z</dc:date>
    <item>
      <title>how to get the Mac address....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041828#M64659</link>
      <description>hi ppl,&lt;BR /&gt;       I am using the following in the shell script &lt;BR /&gt;#!/bin/sh&lt;BR /&gt; MAC=`ifconfig  | grep 'HWaddr '|cut -f 11 -d" "` ;&lt;BR /&gt;echo "$MAC";&lt;BR /&gt;&lt;BR /&gt;But the output is 00:30:18:1D:4C:5A&lt;BR /&gt;And the desired output is 0030181D4C5A&lt;BR /&gt;&lt;BR /&gt;Just tel me how to go about it.Thnks in advance&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jul 2007 06:24:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041828#M64659</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-07-23T06:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the Mac address....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041829#M64660</link>
      <description>MAC=`ifconfig | awk '/HWaddr/{print $NF}'|sed 's/://g'`&lt;BR /&gt;echo "$MAC"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Mon, 23 Jul 2007 06:35:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041829#M64660</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2007-07-23T06:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the Mac address....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041830#M64661</link>
      <description>could you make your name a little smaller?</description>
      <pubDate>Mon, 23 Jul 2007 21:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041830#M64661</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-23T21:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the Mac address....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041831#M64662</link>
      <description>slight drift, but if the general way to express a MAC address is with the ':' in place, so if there is software out there which takes a MAC address and cannot handle the ':' it might be good to ask that it be fixed to do so.</description>
      <pubDate>Tue, 24 Jul 2007 12:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-the-mac-address/m-p/4041831#M64662</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2007-07-24T12:00:17Z</dc:date>
    </item>
  </channel>
</rss>

