Network

The ethtool command

Shows and adjusts a network card's parameters: speed, duplex and whether the cable is connected.

Syntax

ethtool interfaz

Most useful options

-sChanges settings such as speed

Copy-ready examples

$ ethtool eth0Link status

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • Changing speed on the fly can cut the connection if the other end does not accept it.

Related commands

FAQ

How do I know if the cable is connected?

Look at the line 'Link detected: yes'.

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course