以ubuntu为例
一、查看ubuntu的ip地址
1、下载net-tools
localhost@ubuntu-server:~$ sudo apt install net-tools
2、查看ip地址
localhost@ubuntu-server:~$ ifconfig

-
ubuntu需要下载net-tools才能使用ifconfig
localhost@ubuntu-server:~$ sudo apt install net-tools

二、连接ubuntu

深耕网站建设、视觉设计与SEO优化的一线实战洞察。
以ubuntu为例
localhost@ubuntu-server:~$ sudo apt install net-tools

localhost@ubuntu-server:~$ ifconfig

localhost@ubuntu-server:~$ sudo apt install net-tools

