Tuesday 11 November 2008

Domains to search in

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 my.yahoo.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:

search domain.net yahoo.com

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

lynx my

The system will now look for "my", if that hostname doesn't exist it will look for "my.domain.net", and at last "my.yahoo.com".

Reference : Suse Linux - 100 tips and tricks by Patrick Lambert

0 comments:

by TemplatesForYouTFY
SoSuechtig