Closed Thread
Results 1 to 3 of 3

Thread: Get MAC address

  1. #1
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0

    Get MAC address

    How do I get the MAC address on my Linux Server?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    v0id is offline Retired
    Join Date
    Apr 2007
    Posts
    2,937
    Blog Entries
    3
    Rep Power
    42
    I think this will work:
    Code:
    $ ifconfig | grep HWaddr
    If it's unable to find ifconfig, try replacing it with /sbin/ifconfig.

  4. #3
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0
    That works.

    Code:
    # ifconfig -a
    also works.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 04-30-2011, 04:12 PM
  2. IP address ..~
    By R3.RyozKidz in forum Linux Networking
    Replies: 9
    Last Post: 08-19-2010, 06:06 PM
  3. IP Address
    By ged25 in forum General Programming
    Replies: 6
    Last Post: 07-23-2010, 07:08 AM
  4. IP Address
    By NeedHelp in forum PHP Development
    Replies: 3
    Last Post: 05-03-2006, 10:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts