Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 805 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 805 Bytes

ipconfig.sh

A bash script that gives a concise output for the ip command "show" functions Reminiscent of the ipconfig command in windows (with no args added) or the original ifconfig (no args) in unix/linux.

Goal is to take outputs to get ip address, network ID, MAC address, default gateway, and default DNS server(s) and put it in an easily-reachable command. May add new info, improve display or information, or make it more efficient in the future

Configuring:

You'll want to download the file and place it in /usr/local/bin/ or other suitable directory in $PATH. Remove .sh suffix or create easier alias to taste.

Credits