Skip to content

Instantly share code, notes, and snippets.

@pandorasNox
Last active March 11, 2020 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandorasNox/f28633abe9ced66651c53f99385c6de8 to your computer and use it in GitHub Desktop.
Save pandorasNox/f28633abe9ced66651c53f99385c6de8 to your computer and use it in GitHub Desktop.
linux cmd's
#### get mac adress
`cat /sys/class/net/$(ip route show default | awk '/default/ {print $5}')/address`
tested on:
- coreos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment