当前位置:科普知识站>IT科技>

linux|hosts文件位置

IT科技 阅读(1.78W)

1、在Linux系统上打开终端;

linux hosts文件位置

2、输入/etc/hosts即可hosts文件地址;

linux hosts文件位置 第2张

3、如果要编辑hosts文件,直接输入vim命令打开即可。

linux hosts文件位置 第3张