ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

Mac终端远程访问Linux

2026/9/21 14:05:30 拓冰建站 浏览量
Mac终端远程访问Linux

以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