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

Todd Walton tdwalton at gmail.com
Sun Aug 26 22:56:49 CDT 2007


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


More information about the Cialug mailing list