Comments don’t require any standard format provided the hash character precedes the comment entry. You can have multiple comments, but every line must start with a hash character.
Experience the Future of Data Storage
Keep up with the latest innovations on the Pure Storage platform.
An Example of the /etc/hosts File in Linux
You might already have entries in your /etc/hosts file, but you can add more using a simple text editor. You can also remove entries, but remember that the DNS server must be available to reach the domain from a web browser.
The following is an example of a Linux /etc/hosts file:
Written By:
Modern Hybrid Cloud Solutions
Accelerate innovation and agility with a modern, unified cloud.