I ssh into an ubuntu machine from a MAC. I have some screens running on the ubuntu machine. I attach to a screen using screen -r <name of screen> command. How do I look at the output of previous commands I have run on the screen? For example, when I use the scroll bar, I do not see the previous output.
Following are what I have tried so far -
Cmd+A,:scrollback 1000Cmd+A,ESC,Up ArrowCreated
~/.screenrcfile and addedshell "/usr/bin/bash" termcapinfo xterm* ti@:te@Cmd+A,Cmd+Fto search for previous outputs. This worked but it only searched in text that was on the screen. I need to search for previous text that is not visible on the screen.
CMD. – testxyz Dec 04 '20 at 20:39Terminaland thenssh remoteSystemand then attaching withscreen -r. It's definitely not Cmd that you should be using, but the standardscreenkeys. So [Ctrl A] [Esc] and then↑(up),↓(down),/(search), etc. – Chris Davies Dec 04 '20 at 21:17