Linux CLI - Networking Commands
You want to write a script that checks if the interface
eth1 has an IP address assigned using ip addr. Which command snippet correctly tests this?