Re: Fw: OT - Getting fired for database oops
From: Rich Jesse <rjoralist_at_society.servebeer.com>
Date: Tue, 19 May 2009 14:28:28 -0500 (CDT)
Message-ID: <89c7ed4fe61604837e05aea8953f28be.squirrel_at_society.servebeer.com>
> On Mon, May 18, 2009 at 1:39 PM, S. Anthony Sequeira
> <tony_at_sequeira.org.uk>wrote:
>
>> Don't forget TWO_TASK, the relevant bit of my PS1 has
>> ${TWO_TASK:-${ORACLE_SID}}
>>
>
> That's a very good point. Personally, I like the following variant.
>
> ${TWO_TASK:-${ORACLE_SID:-*NONE*}}
>
Date: Tue, 19 May 2009 14:28:28 -0500 (CDT)
Message-ID: <89c7ed4fe61604837e05aea8953f28be.squirrel_at_society.servebeer.com>
> On Mon, May 18, 2009 at 1:39 PM, S. Anthony Sequeira
> <tony_at_sequeira.org.uk>wrote:
>
>> Don't forget TWO_TASK, the relevant bit of my PS1 has
>> ${TWO_TASK:-${ORACLE_SID}}
>>
>
> That's a very good point. Personally, I like the following variant.
>
> ${TWO_TASK:-${ORACLE_SID:-*NONE*}}
>
To tell the truth, I thought TWO_TASK went out with Oracle8. Never use it. Never see a need to. Although that preference alone would be a great reason to include it in the prompt as a warning, for those of y'all that have multiple admins.
Rich
-- http://www.freelists.org/webpage/oracle-lReceived on Tue May 19 2009 - 14:28:28 CDT