From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 10:01:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBA4116A4D0 for ; Fri, 27 Feb 2004 10:01:47 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 52BD143D1D for ; Fri, 27 Feb 2004 10:01:47 -0800 (PST) (envelope-from freebsd@stevenfettig.com) Received: (qmail 97254 invoked from network); 27 Feb 2004 18:01:46 -0000 Received: from c68.115.22.188.jvl.wi.charter.com (HELO stevenfettig.com) (68.115.22.188) by relay.pair.com with SMTP; 27 Feb 2004 18:01:46 -0000 X-pair-Authenticated: 68.115.22.188 Message-ID: <403F69E6.9050701@stevenfettig.com> Date: Fri, 27 Feb 2004 10:01:42 -0600 From: "Steven N. Fettig" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040226 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Hostname in shell (bash)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 18:01:48 -0000 Hi all, I searched the archives and documents on bash, but I can't figure out how to put the hostname of the workstation I am on before the $ of the shell/command line. Does anyone know how to add the hostname (preferably the first part - i.e. www, db1, etc) to the command line for bash 2.x? Thanks, Steve