Arch Linux Shell Scripts: Bash return local IP
This post is a note in case I have to rewrite the .bashrc on system crash or some such potential catastrophe. In order to facilitate shell based configuration, it is helpful to have .bashrc display the local and public IP address (IPv4). To that end a simple shell script can be added to .bashrc creating