From owner-freebsd-questions@freebsd.org Tue Dec 22 16:41:58 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D43C8A4FF81 for ; Tue, 22 Dec 2015 16:41:58 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA7A5128F for ; Tue, 22 Dec 2015 16:41:58 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id 67EE8110235 for ; Tue, 22 Dec 2015 10:41:51 -0600 (CST) Received: by mail.geeks.org (Postfix, from userid 1003) id 4791F110234; Tue, 22 Dec 2015 10:41:51 -0600 (CST) Date: Tue, 22 Dec 2015 10:41:51 -0600 From: Doug McIntyre To: freebsd-questions@freebsd.org Subject: Re: Place servername in TAB iTerm Message-ID: <20151222164151.GA27109@geeks.org> References: <56794339.3080106@gmail.com> <20151222123933.GA3974@c720-r285885-amd64> <56794743.5040808@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56794743.5040808@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2015 16:41:58 -0000 On Tue, Dec 22, 2015 at 01:51:15PM +0100, Johan Hendriks wrote: > >> I use iTerm on my mac. > >> When I connect to a Linux (Ubuntu) machine, in the TAB the name off the > Thanks that works, can this be automated when I log in Yes, most likely you'll want to set your personal shell's rc script to echo it out when you login, or usually where it is done is right in the command line prompt. Take a look at a typical linux installation's shell rc scripts for setting the prompt. Ie. ~/.cshrc or ~/.bashrc or ~/.profile or ~/.bash_profile all depending on your shell and what you've got going on.