How to convert to/from DOS format in VIM…

It’s very easy, but also easy to forget how to convert to or from a DOS format file in Unix using “vim” (Vi iMproved), the Open Source “vi”. If the file is in DOS format and you want to convert to Unix, use the command:

:set ff=unix

note that “ff” is an abreviation . . . → Read More: How to convert to/from DOS format in VIM…

Where to find the Windows XP “hosts” file

Just like Unix you can add a static host to the Windows system. On Windows XP the file is usually found in the “intuitive” location here (may change depending on where you loaded Windows):

C:\Windows\System32\drivers\etc

This is also where the “lmhosts” file is found.

The format is in standard ARPANET format. For more . . . → Read More: Where to find the Windows XP “hosts” file