I am using a bash command that outputs a large quantity of data and all I need is to see the command that was run and the output that fits on the screen afterward. Is there a keyboard shortcut for this? I would prefer to not use head or change the command at all
Clarifying Way After the Fact
I have a bunch of different combinations of commands being run and their output displayed right after, I just want to be able to jump up to the previously run command or have commands output only a screens worth of output, but I have to copy the command after so I don't want to use head for that reason.