Find /etc/hosts in clear linux

Hi there.

I setup for multiple projects in laradock and want add the domains to the hosts files but i don’t find /etc/hosts in clear linux (https://laradock.io/getting-started/#b-setup-for-multiple-projects)
How setup this in clear linux?

I’m sorry my english is not good.

By default it’s not there. You can create one

1 Like

For more information about why it doesn’t exist in /etc by default, see the documentation on stateless or man stateless

2 Likes

cd /etc
mkdir host
How this helps (you might need sudo).

1 Like

sudo touch /etc/hosts

2 Likes

Oh duh it’s a file thanks for correcting me.

It work :star_struck::partying_face::100:
Thank you very much @all :grinning::grinning::grinning:

2 Likes

O hosts fica em /usr/share/default/etc/