Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux 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!


  Search this Thread
Old 03-09-2005, 12:45 AM   #1
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
etc/hosts file has yellow on it

hi there, my Redhat enterprise 3.0SA mail server went down today, now i think i've found the problem! when i use putty to remotly login it and i use the command '# vi etc/hosts' i see

# Do not remove the following line, or various programs
# that require network functionality will fail. mail localhost.localdomain localhost senior_main
*??.**.***.*** mail mail.*******.***.***.**

now the two '??' are in yellow and when i try and retype the ip address they both turn yellow again ... could this be the reason why my mail server isn't work?

Last edited by paul_mat; 03-09-2005 at 04:54 PM.
Old 03-09-2005, 09:51 AM   #2
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
My guess is, the two yellow highlighted numbers are a string you previously searched on. If you want to check, go back to the prompt and type alias vi. It'll probably show you something like alias vi='vim', in which case, if the yellow highlighting still bothers you, you can just type unalias vi.
Old 03-09-2005, 09:16 PM   #3
Senior Member
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Is this anything like "don't eat the yellow snow?"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
hosts file? milesstandish Red Hat 2 11-02-2004 10:57 PM
does the /etc/hosts file work same as the M$ hosts file? Lleb_KCir Linux - Software 6 04-03-2004 04:33 PM
/etc/hosts file plexi100 Linux - Newbie 4 10-16-2003 05:03 PM
/etc/hosts File Crashed_Again Linux - Newbie 7 02-01-2003 12:04 AM
Hosts.allow file skopje909 Linux - Security 3 11-16-2001 09:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 PM.

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