From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 7 Mar 2010 20:46:16 +0100 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] ndb and shortening names Topicbox-Message-UUID: e31990e4-ead5-11e9-9d60-3106f5b1d025 On 7 March 2010 19:58, Lyndon Nerenberg wrote: >> I wanted to shorten writing some often used addresses like >> penelopa.karlov.mff.cuni.cz >> e.g. in a scp command. I want to only have to write penelopa. > > If you don't want to wire down ip addresses in ndb: > > penelopa = penelopa.karlov.mff.cuni.cz > > and use $penelopa in your commands. > It finally works without any IP mentioned. Only the surrounding spaces were the problem, otherwise my entry works as it was written in the beginning... Ruda