From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 21:36:18 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 266E916A41C for ; Sun, 17 Jul 2005 21:36:18 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from mail.rulez.sk (DaEmoN.RuLeZ.sK [84.16.32.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id A976943D45 for ; Sun, 17 Jul 2005 21:36:17 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from localhost (localhost [127.0.0.1]) by mail.rulez.sk (Postfix) with ESMTP id 951E21CC66; Sun, 17 Jul 2005 23:36:16 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.rulez.sk (Postfix) with ESMTP id AF7A31CC65; Sun, 17 Jul 2005 23:36:08 +0200 (CEST) Date: Sun, 17 Jul 2005 23:34:17 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.5) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <995791390.20050717233417@rulez.sk> To: Alex Yarmol In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="----------F14417A179854" X-Virus-Scanned: by amavisd-new at mail.rulez.sk X-Spam-Status: No, hits=-4.707 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-3.3, AWL=1.083, BAYES_00=-2.599, WEIRD_PORT=0.109] X-Spam-Level: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Bash prompt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 21:36:18 -0000 This is a cryptographically signed message in MIME format. ------------F14417A179854 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi Alex, Sunday, July 17, 2005, 11:30:38 PM, you wrote: > 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)]\$ try google fisrt next time :-) http://freeunix.dyndns.org:8088/site2/howto/Bash.shtml#prompt --=20 Best Regards, DanGer, ICQ: 261701668 | e-mail protecting at: http://www.2pu.net/ http://danger.rulez.sk | proxy list at: http://www.proxy-web.com/ | FreeBSD - The Power to Serve! [ "Bother!" said Pooh as he >S*W*I*P*E*D< a better tagline. ] ------------F14417A179854--