how to check cable in lan port is pluged in or not in linux

1 Answer(s)

    Here is the command to check LAN port status.

    # mii-tool eth0

    eth0: negotiated 100baseTx-FD flow-control, link ok

     

    Answered on August 5, 2021.

    # sudo ethtool eth1 | grep Link

     

    on August 5, 2021.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.