How to get just the IP address or the interface name with Linux.
How to get just the adapter name when querying the adapter with ip a. This is a simple trick, this one-liner is not that elegant, but it does work. This allows me to get just the name of the adapter, and not any other extraneous information. 4.4 Wed Aug 07 jason@Yog-Sothoth 0: $ ip a … Read more