LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Thread Tools
Old 11-07-2009, 09:53 PM   #1
tracy.kinchen
LQ Newbie
 
Registered: Nov 2009
Distribution: ubuntu 9.10
Posts: 4
Thanked: 0
Editing host file


[Log in to get rid of this advertisement]
Hello all. I want to edit my host file (/etc/hosts). But i cannot seem to do it the way it is being described on some posts. I am very new to Linux (yesterday new), so i know i have some learning to do. I am using Ubuntu 9.10. A good step by step would be nice. Thank you
linuxubuntu tracy.kinchen is offline     Reply With Quote
Old 11-07-2009, 10:18 PM   #2
louieb
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 87
Thanked: 3
Welcome,
Not clear on what your having trouble with. Can't save it? Don't know how to edit it?
anyway to open so you can edit and save
press alt+f2 (run dialog)
Code:
gksudo gedit /etc/hosts
Its a pretty simple file - bring up the man pages in a terminal window
Code:
man hosts
linuxubuntu louieb is offline     Reply With Quote
Thanked by:
Old 11-08-2009, 09:02 AM   #3
tracy.kinchen
LQ Newbie
 
Registered: Nov 2009
Distribution: ubuntu 9.10
Posts: 4
Thanked: 0

Original Poster
Much thanks

Thank you very much. Worked as advertised.
linuxubuntu tracy.kinchen is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
appending to file, or editing a file ibabhelix Linux - Newbie 7 11-02-2009 07:11 PM
read-only file system error when editing a config file smallfrowne Linux - Newbie 5 02-19-2008 07:06 PM
editing a very large HTML file (or, extracting URLs from a file) Chriswaterguy Linux - Software 3 11-27-2007 07:07 PM
Required to achieve host to host communication via USB file transfer cable may1284 Linux - General 1 03-14-2007 05:02 PM
Editing the Host file jatabe Linux - Networking 2 08-09-2003 09:55 AM


All times are GMT -5. The time now is 08:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration