Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unlimited scrolling up from default linux command line [closed]

I am looking to increase the default size of the scrolling up buffer from linux command line. It is a Debian server without gui.

I don't find related option in bashrc and I don't even know if there is other configuration file for the default prompt alt+f1 alt+f2 ...

like image 471
user1946989 Avatar asked Aug 28 '15 13:08

user1946989


1 Answers

You can change the scrollback-buffer size using kernel options as described here: https://wiki.archlinux.org/index.php/Scrollback_buffer .

However, if you are interested in the output of a command but at the same time you want to watch the command's progress interactively I suggest to use tee:

command | tee out.file

or if you want to append to a file use

command | tee -a out.file

tee is nice! use it! :)

like image 164
hek2mgl Avatar answered Sep 25 '22 02:09

hek2mgl