當前位置:科普知識站>IT科技>

linux|hosts文件位置

IT科技 閲讀(1.78W)

1、在Linux系統上打開終端;

linux hosts文件位置

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

linux hosts文件位置 第2張

3、如果要編輯hosts文件,直接輸入vim命令打開即可。

linux hosts文件位置 第3張