Tech Tip: Getting Your MAC and IP Address In a Script

Ever wanted to get the MAC or IP address of your computer in a Linux shell script? The following two commands should work on most flavours of Linux/Unix.

read more


 

More related items

Spinning off from Ubuntu
The H Open: "But Linux and free software come in many different flavours, and the adventurous user goes in search of wider options, other distributions and new desktops."

Tech Tip: Use gxmessage for Displaying GUI Messages...
There are many dialog programs out there, Zenity, Kdialog, xdialog, etc. I love programs like these. They make it so easy to spice up a shell script with a little GUI action. Today I'm going...

101 Tech Tips DVD Preview
You've watched our Tech Tip videos here on LinuxJournal.com this year -- now get them all on one convenient and super slick DVD. In addition to the over one hundred tech tip videos, we've...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com