Commonly used network debugging commands

Xiao Ming hopes to automatically or stop certain services and automatically complete certain operations at a specified time without human intervention, so as to realize automated operation and maintenance. So, Xiao Ming started to manage the planned tasks .


1. ifconfig command

To display the configuration information of the network card, use the ifconfig command, whose format is as follows:

OpenSSH provides


Two, nmcli command

To configure network card information, use the nmcli command, the format of which is as follows:

Three, hostname and hostnamectl commands

To display and modify hostnames, use the hostname and hostnamectl commands.


​ 【Easter eggs are coming】

After reading this blog post written by the author, readers may want to find another blog post describing similar content. As expected, the author has attached them, see:

  1. A very useful network card configuration command—nmcli command detailed explanation

  2. nmcli command

writen in 2022.12.07, updated in 2022.12.07

Guess you like

Origin blog.csdn.net/syp_net/article/details/128248818