1、使用方向键 上下,可以查看命令历史记录
2、使用clear 清屏
I recognize that Up/Down will give you the command history. But, how do you look at past output by scrolling up and down?
I have used Shift+Page Up/Page Down, Alt+Shift+Up/Down and Page Up/Page Downbut none of these seem to work.
How do you scroll up/down on the Linux console?
Shift+Fn+ UP or DOWN on a Macbook will allow you to scroll.
或者
SHIFT+Page Up and SHIFT+Page Down. If it doesn’t work try this and then it should:
Go the terminal program, and make sure
Edit/Profile Preferences/Scrolling/Scrollback/Unlimited
is checked.The exact location of this option might be somewhere different though, I see that you are using Redhat.
当然直接用SSH客户端连接服务器就能直接翻页scroll 和复制粘贴了。