当前位置: 动力学知识库 > 问答 > 编程问答 >

Does linux have HOST file?

问题描述:

In windows I could find them in windows/system32/driver/host

Do linux have the same file? If yes what is the name and where is the path?

Thanks.

Windows copy from linux? Is this true?

网友答案:

The file can be found at /etc/hosts. Note that you will need to use sudo to edit it, this is because the hosts file permissions allow it to only be writable as the root user.

网友答案:

It does, located at - /etc/hosts

网友答案:

/etc/hosts

actually windows "copy" that from linux

分享给朋友:
您可能感兴趣的文章:
随机阅读: