Home>Article>Operation and Maintenance> How to obtain IP through command line in linux

How to obtain IP through command line in linux

王林
王林 Original
2020-10-28 10:28:26 3597browse

How to obtain IP through the command line under Linux: 1. Log in to the Linux operating system; 2. Right-click on the desktop and select Terminal; 3. Execute the [ifconfig -a] command in the open terminal. .

How to obtain IP through command line in linux

Specific method:

(Video tutorial recommendation:linux video tutorial)

Open linux The operating system enters the interface, right-click on the desktop to open the terminal

In the terminal, enter the ifconfig -a command and press the Enter key

You can see the IP address as shown below.

How to obtain IP through command line in linux

Related recommendations:linux tutorial

The above is the detailed content of How to obtain IP through command line in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn