This repository has been archived on 2026-08-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dots/.bin/whoamip
T

3 lines
83 B
Bash
Executable File

#!/usr/bin/env bash
ip addr show $@ | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'