Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save funkyfisch/af900aa89b5102bd0fb7ef095286fd06 to your computer and use it in GitHub Desktop.
Save funkyfisch/af900aa89b5102bd0fb7ef095286fd06 to your computer and use it in GitHub Desktop.
handy sysadmin commands
# get local ip address provided by either DHCP or static setting
ifconfig enp4s0 | grep 'inet ' | awk '{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment