On Nov 18, 10:44 pm, Stephen Bannasch <stephen.banna... / deanbrook.org> wrote: > Is there an equivalent in irb to the command history in bash? > > After I've been doing a bunch of work in the shell I often use the > history command in bash to get a list of all the commands I've > executed which I copy and past into an editor to document the work I > did. > > Is there an equivalent command for irb which would list by lines each > command I have entered? Rightnow I use readline to scan backwards > and copy and paste individually. > > Thanks for any suggestions. I think this irb_history business from Ben Bleything is what you want: http://blog.bleything.net/pages/irb_history HTH, Chris