FlyerTalk Forums - View Single Post - When XP expires ...
View Single Post
Old Jul 8, 2013 | 12:31 pm
  #49  
nkedel
FlyerTalk Evangelist
30 Countries Visited
2M
All eyes on you!
25 Years on Site
 
Join Date: Jul 2000
Location: in the vicinity of SFO
Programs: AA 2MM (LT-PLT, PPro for this year)
Posts: 19,784
Originally Posted by BigLar
That's the site I used. There are others with other lists. Or, you could combine them (I'm thinking something like cat list1>biglist cat list2>>biglist ... cat biglist|sort|uniq)
cat list1 list2 list3 | sort | uniq > hosts

The only problem is that lists are not consistent in how they do whitespace between the ip address and the hosts, or the comments, so you'd probably want to use some kind of cleaner to handle that (or even just a little bit of awk.)

There are also some hosts-file management programs. Haven't used any of them, but they might be a good solution for the less technical.
nkedel is offline