Skip to content

Instantly share code, notes, and snippets.

@franga2000
Created January 28, 2016 17:13
Show Gist options
  • Save franga2000/7f8a186f29691fdfc9b9 to your computer and use it in GitHub Desktop.
Save franga2000/7f8a186f29691fdfc9b9 to your computer and use it in GitHub Desktop.
Bash cheat sheet
# Get interface's MAC address
# $INTERFACE : Interface name (e.g. wlan0)
$(cat /sys/class/net/$INTERFACE/address)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment