- Original Message -
From: Caitlyn M. Martin <[EMAIL PROTECTED]>
To: Dan Nguyen <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 03, 2000 7:41 PM
Subject: Re: [techtalk] KDE / OpenSource
> That doesn't work in the business world, unfortunately. People would
> probably le
My PS1 prompt has the following string,
PS1='($?)\u@\h:\w =>'
In this case, when my command fails the BASH variable $? value is displayed
in my prompt. What is happening is that a command return value stays there
until an new command is issued. A newline for the shell will still return the
prev
when you change \u to `whoami`, you get the 0 value because you are
executing `whoami` everytime you get a prompt, i think. `whoami` has an
exit code of 0, successful, so that's what goes into $?. \u, \h, \w, \W,
etc aren't executed, they're properties of the shell at that time.
that's the way
Hello Everyone,
I'd like to introduce myself. My name is Janice Bub and I live in Ontario :)
A co-worker of mine (we work at an ISP), Melanie Burrett told me about this
cool Linux site for girls. I'm very new to Linux and I'm teaching myself
RedHat 6.0. I look forward to reading the discus
On Fri, Aug 04, 2000 at 11:34:07AM -0400, Subba Rao wrote:
>
> PS1='($?)\u@\h:\w =>'
> PS1='($?)`whoami`@\h:\w =>'
> In BASH, why does the "\u" and "whoami" make a big difference for
> the $? value in PS1 string? The BASH version is 2.04.
My assumption is that using whoami with the ` ` causes it
Woohoo Janice(:!
Quoting [EMAIL PROTECTED]:
> Hello Everyone,
>
> I'd like to introduce myself. My name is Janice Bub and I live in Ontario
> :)
> A co-worker of mine (we work at an ISP), Melanie Burrett told me about this
>
> cool Linux site for girls. I'm very new to Linux and I'm teaching
Hey all
Hope somebody can help - I'm having a complete nightmare trying to upgrade
to the above over a standard RH6.1 install (completely fresh - I thought I'd
start over...) on a PIII 500MHz, 64MB, RIVA 32MB TNT2 dual boot w W98.
The RH6.1 goes fine - everything working as you'd expect. I th
> My PS1 prompt has the following string,
>
> PS1='($?)\u@\h:\w =>'
>
> In this case, when my command fails the BASH variable $? value is displayed
> in my prompt. What is happening is that a command return value stays there
> until an new command is issued.
>
> When I change the PS1 sring to,