How to get and copy a too long output completely in terminal?

Solution 1:

You could send the output to a file: command > file.txt (where command is the command you want to run and file.txt is the file you want to save it to) and then view it with gedit file.txt.

Solution 2:

Use xclip

cat long.output | xclip -sel clip

If not installed you can do

sudo apt-get install xclip

Solution 3:

I know in the xfce4-terminal there is a option to increase the number of lines shown:

enter image description here

For ubuntu Terminal enter image description here

Aside from that there is what @Zelda64fan said.