I don't seem to have hosts directory in my /etc folder

I just signed up and I have been following the steps in

http://library.linode.com/getting-started/

and using WinSCP/Putty to login

I'm not sure how to do the step that says

"You'll also want to make sure proper entries for your Linode's fully qualified domain name (FQDN) and localhost are set up in your /etc/hosts file. You can use the following example file, modifying the entries to suit your setup (12.34.56.78 should be replaced with your Linode's IP address):"

When I browse the etc directory through WinSCP, I don't appear to have a hosts file

But when I do: grep "127.0.0.1" /etc/hosts, it returns: 127.0.0.1 localhost

How do I get to and edit the /etc/hosts file?

1 Reply

now resolved

I was looking for a folder called "hosts" when the file is listed further down!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct