From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 21:30:40 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5051116A452 for ; Sun, 17 Jul 2005 21:30:40 +0000 (GMT) (envelope-from alex.yarmol@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B783643D6B for ; Sun, 17 Jul 2005 21:30:39 +0000 (GMT) (envelope-from alex.yarmol@gmail.com) Received: by wproxy.gmail.com with SMTP id i21so910666wra for ; Sun, 17 Jul 2005 14:30:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=k9OBlNHk39ftEep0c0UOTP5Yn57oPBe7HXxMiZlR+ECfMfNV91BP2jhoUcSyblOBa62v1EaThszaksRqKiRKbo7tKHxfdgsQVZ8Mf6MI2J0kVPCxFas8jqa2waKWa1UE3v623wwuY16KBltK53/RNYJ34OIx+DlNqw6EC8/fs9I= Received: by 10.54.51.74 with SMTP id y74mr170951wry; Sun, 17 Jul 2005 14:30:38 -0700 (PDT) Received: by 10.54.93.2 with HTTP; Sun, 17 Jul 2005 14:30:38 -0700 (PDT) Message-ID: Date: Mon, 18 Jul 2005 00:30:38 +0300 From: Alex Yarmol To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Bash prompt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Yarmol List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 21:30:40 -0000 Hi, dear FreeBSD developers etc. :) I have a question. How I can chage my bash prompt to this: [user@host directory-name(e. g. "alex" for /usr/home/alex)]$ I assume that I need to do that: export PS1=3D'[\u@\h \(here i don't know what to do, i assume, that I need to write "\p" or "\P", but it's not working)]\$ I've try to read "man bash", but didn't find what I want :( Help me please. Best regards, Alex Yarmol