How to show IP link status as high or low – Linux Tips and Tricks

HomeOther ContentHow to show IP link status as high or low – Linux Tips and Tricks
How to show IP link status as high or low - Linux Tips and Tricks
How to show IP link status as high or low – Linux Tips and Tricks
You can use the ip command in Bash to display the link status of network interfaces, including whether they are up or down.

Here is an example command that displays the link status of all network interfaces, along with their status (high or low):

ip -o link show ens33 grep -q 'UP' && echo 'Link is UP' echo 'Link is DOWN'

This will show if the eno01 link is working (to the top).
The link is UP

This will show that the eno01 link is NOT working (broken).
The link is down

#linux #ubuntu #redhat #bash

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *