> On 10/7/05, Christian Borntraeger <[EMAIL PROTECTED]> wrote:
> > # vmcp <some large query>
> > # echo $?
 ...

On Fri, 7 Oct 2005, Rob van der Heij wrote:
> Cool. I learned something on the late friday afternoon. Can I stuff
> this also in my ready prompt to have a R($?) displayed in case of
> error for any command?

Yes.
BASH supports this trick.   (Dunno about other shells.)

-- R;

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to