[Cialug] bash return values [was: enter passwords less]

Chris Freeman cwfreeman at gmail.com
Mon Aug 27 06:23:16 CDT 2007


Because I've got accounts on so many systems. It's not the most obvious
name, but it's what I was using on the machine I was typing on, so it got
into the example.

Chris

On 8/26/07, Todd Walton <tdwalton at gmail.com> wrote:
>
> On 8/21/07, Chris Freeman <cwfreeman at gmail.com> wrote:
> > # Prompt with the last exit vale, the word 'HOME', and the current
> working
> > directory.
> > # Note the single-quotes, not double-quotes or back-tics.
> > export PS1='[$?]-HOME->$PWD
> > $ ';
>
> Why the word 'HOME'?
>
> -todd
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20070827/8a73abc1/attachment.html


More information about the Cialug mailing list