Bash – How to scroll back the terminal to where the last command was given

bashcommand linescrollterminal

I've got a program which has a lot of output. Once it's done I often want to scroll back to the begin 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?

Best Answer

I have just found this in Terminal for OSX:

Edit > Navigate > Jump to Previous Mark: cmd + UP.