Ken Moffat wrote:
> On Wed, Sep 05, 2012 at 03:54:50PM -0400, Baho Utot wrote:
>>
>> Yes but what really is the difference if you cut and paste to a script
>> then run it instead of the tty?
>> What that gives me is a way of looking over what I had done when it
>> doesn't work. If I cut and paste to a term then I have lost that info.
>
> history | less
>
> When I'm editing, particularly in BLFS, or when I'm trying to fix a
> new build failure, I use that a lot.

Or 'history | grep configure', etc.   When you do have a problem line, 
you can always do 'command 2>&1 | tee file.log'

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to