how to check lan port is working or not in linux code example Example: list interfaces centos ip link show