Tuesday, November 22, 2011

Tips 18: How to browse website from Linux command line ?


When you try to access a Web site, or any remote site, you need to specify the full hostname. This means the machine name plus the domain name:
lynx mahes.com
If you have a few domain names that you access a lot, you can make your life easier. You can edit /etc/resolv.conf and add the domains there:
server DNSSERVERNAME

This means that the system will search in those domains for hostnames. From now on type:
lynx mahes.com

No comments:

Post a Comment