all repos

dotfiles @ 4e2f196e266846b8f4271876fe1bcd2f0b8a71db

i use rach linux btw

dotfiles/bin/local-ip (view raw)

1
#!/bin/sh
2
ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p' | grep -v '172.[0-9][0-9].0.1'