File: /etc/hosts

Hello,

I am a totaly newbie on linode and linux world.

I did creat an acount today at linode and I began with geting startet guide and get stoppet at the end.

My problem is that I don't know where to open files?:s

Here is my problem

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):

File: /etc/hosts

127.0.0.1 localhost.localdomain localhost

12.34.56.78 plato.example.com plato

Can you please tell me where to open File: /etc/hosts?:S

I have downloaded Putty, is not that this for uploading files to the server and edit them instead of ftp like filezilla to upload content to your server?

I need a step by step guide, please.

Thank you for your time

8 Replies

The Linode library is an excellent resources for getting up and running. If you're completely unfamiliar with Linux, this section of the library might have some useful links:

http://library.linode.com/beginners-gui … nux_basics">http://library.linode.com/beginners-guide/#wherecanilearnaboutlinuxbasics_

Hello,

thanks for reply.

I did read it but that was not there.

Just wantet to find out how to edit files.

Finally with e.g

nano /etc/hosts.

It is going well now. learned much :)

pico or vi is also helpful when editing.

@ariel22:

pico or vi is also helpful when editing.

pico still lives?

@Talman:

pico still lives?
Doubly so. You still can get the real (al)pine + pico package, and a lot of distros install nano (with pico aliased to it) as default.

I, personally, prefer ed.

I think he was probably more surprised that anybody still uses pico instead of nano. Most people switched because Pico is not free software, and nano has a lot more features.

@Guspaz:

I think he was probably more surprised that anybody still uses pico instead of nano. Most people switched because Pico is not free software, and nano has a lot more features.

I'm surprised that pico is still in repos, mainly because its not free software and there's a free software alternative out there (nano) that is installed by default in a lot of things.

I remember, years ago, when I used alpine and pico. Then I think it was Gentoo that was all "Do not use pico. Use nano." Granted, years ago, I was on an ISP that offered shell access via Solaris boxes, and PPP was experimental. :( I WAS THE FIRST OF MY FRIENDS TO GET SLIP!

@Talman:

I'm surprised that pico is still in repos, mainly because its not free software and there's a free software alternative out there (nano) that is installed by default in a lot of things.

I've never understood why UW insisted on the pseudo-free license they had for pine, or why they never went back and released it all when they changed and put alpine under a free license. To this day, if you want pine (I have a user who loves it) in debuntu, you get a source package that has the original source and a patch. It automagically downloads and patches for you, but it meets the requirement that it be distributed unmodified.

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