![How to show IP link status as high or low - Linux Tips and Tricks](https://ytimg.googleusercontent.com/vi/0-27IKu1BGk/oar2.jpg)
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