Re: Fw: OT - Getting fired for database oops
- From: "S. Anthony Sequeira" <tony@xxxxxxxxxxxxxxx>
- To: oracle-l@xxxxxxxxxxxxx
- Date: Mon, 18 May 2009 19:39:42 +0100
Rich Jesse wrote:
>> Using different colors is helpful. Personally I usually do that on Windows.
>>
>>
>
> Good point! I have this in my .kshrc on my non-prod Oracle logins:
>
> export
> PS1='^[[0;32m^[[1m${HOST}:^[[1;33m${PWD}:^[[0;32m^[[1m${ORACLE_SID}^[[0m> '
>
> And for the prod ones:
>
> export
> PS1='^[[0;31m^[[1m${HOST}:^[[1;33m${PWD}:^[[0;31m^[[1m${ORACLE_SID}^[[0m> '
>
> The "32" changes the color to green, while "31" changes to red. Red =
> Production in my mind.
>
> Of course, every environment is different -- the above needs to be adjusted
> accordingly. I use this combo with the newer PuTTY Tray variant of PuTTY
> for my SSH client on Winders.
>
> Rich
>
Don't forget TWO_TASK, the relevant bit of my PS1 has
${TWO_TASK:-${ORACLE_SID}}
I also 'SELECT * FROM v$instance;' before doing anything drastic.
--
S. Anthony Sequeira
++
How many hardware guys does it take to change a light bulb?
"Well the diagnostics say it's fine buddy, so it's a software problem."
++
- Follow-Ups:
- Re: Fw: OT - Getting fired for database oops
- From: Adric Norris
- Re: Fw: OT - Getting fired for database oops
- References:
- Fw: OT - Getting fired for database oops
- From: Guang Mei
- Re: Fw: OT - Getting fired for database oops
- From: Jared Still
- Re: Fw: OT - Getting fired for database oops
- From: Rich Jesse
- Fw: OT - Getting fired for database oops
Other related posts:
- » Fw: OT - Getting fired for database oops - Guang Mei
- » Re: Fw: OT - Getting fired for database oops - Andrew Kerber
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Rich Jesse
- » Re: Fw: OT - Getting fired for database oops - S. Anthony Sequeira
- » Re: Fw: OT - Getting fired for database oops - Yong Huang
- » Re: Fw: OT - Getting fired for database oops - Adric Norris
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Rich Jesse
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Tony van Lingen
- » RE: Fw: OT - Getting fired for database oops - Joel.Patterson
- » Re: Fw: OT - Getting fired for database oops - Thomas Day
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Ravi Gaur
- » RE: Fw: OT - Getting fired for database oops - SHEEHAN, JEREMY
- » RE: Fw: OT - Getting fired for database oops - Bobak, Mark
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Thomas Day
- » Re: Fw: OT - Getting fired for database oops - Jack van Zanen
- » Re: Fw: OT - Getting fired for database oops - Howard Latham
- » RE: Fw: OT - Getting fired for database oops - Andre van Winssen
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » RE: Fw: OT - Getting fired for database oops - Andre van Winssen
- » RE: Fw: OT - Getting fired for database oops - Tanel Poder
- » Re: Fw: OT - Getting fired for database oops - Nuno Souto
- » Re: Fw: OT - Getting fired for database oops - Niall Litchfield
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Andre van Winssen
- » Re: Fw: OT - Getting fired for database oops - Nuno Souto
- » RE: Fw: OT - Getting fired for database oops - Tanel Poder
- » RE: Fw: OT - Getting fired for database oops - Bobak, Mark
- » Re: Fw: OT - Getting fired for database oops - Nuno Souto
- » Re: Fw: OT - Getting fired for database oops - Stephen Booth
- » Re: Fw: OT - Getting fired for database oops - Andre van Winssen
- » Re: Fw: OT - Getting fired for database oops - Connor McDonald
- » RE: Fw: OT - Getting fired for database oops - Tanel Poder
- » RE: Fw: OT - Getting fired for database oops - Andre van Winssen
- » Re: Fw: OT - Getting fired for database oops - Frits Hoogland
- » Re: Fw: OT - Getting fired for database oops - Nuno Souto