Scroll back the terminal to where the last command was given? (Jumping between commands)
I've got a program which has a lot of output. Once it's done I often want to scroll back to the beginning of the run so that I can look at some things there. Since the output is so long though, I see myself endlessly scrolling with PageUp and trying to drag the scrollbar on the right to the point where it could have begun. Over a while, this starts getting quite tiresome, so I wonder:
Is there a way to easily have the terminal scroll back to the part where the last command was given?
Also, sometimes I need to jump to the start of previous commands to read their outputs but I have to scroll up for a long time.. it will be really helpful to add this feature...
Note: This feature already exists in the Terminal for OSX:
Edit > Navigate > Jump to Previous Mark: cmd + UP.
So we need ctrl + UP to move the focus to the start of the previous command.. more ctrl + UP should lead to further commands.. ctrl + Down should do the reverse ( the start of the next command if it exists)
related links: https://stackoverflow.com/questions/17212643/how-to-scroll-back-the-terminal-to-where-the-last-command-was-given
Thanks, Abdulkarim Khormi