Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exit rails console after long output

I would've thought this would be an easy thing, but when I use the rails console, if I query a variable that has multi-page output, I can continue scrolling until the console yields (END) but then I can't get out of that state without CTRL+Z, which requires me to restart said rails console to continue. I'd like to just exit that output, but CTRL+C, CTRL+D, ESC, and every other combo I can think of simply do nothing. I'm certain there is a way to do it, can someone put me straight?

Thanks

like image 610
Paul Avatar asked Jun 14 '13 19:06

Paul


1 Answers

You're in a pager. Press "Q", for "Quit".

like image 57
meagar Avatar answered Oct 02 '22 20:10

meagar