Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

Graphical Environments & Desktops • GNOME TERMINAL output save to file

$
0
0
In KDE’s Konsole there is an option “Save Output As” shown here:

https://i.postimg.cc/3R148fkk/GNOME-Buffer-Save.gif

I’ve found no such option in GNOME’s TERMINAL. GNOME’s TERMINAL does have a “Select All” option but unlike KDE’s Konsole, GNOME’s TERMINAL option only selects the currently displayed content. From what I’ve read the GNOME TERMINAL author removed support for selecting the entire buffer due to an error. I found you can navigate to the first line of the GNOME TERMINAL buffer, select a line, navigate to the last line of the buffer, and select the entire buffer to achieve the result of Konsole’s “Select All” option. You can then copy the buffer to an editor for saving. I’m curious if there is a way using bash to copy the entire buffer to a file? If not, is there a way to have bash write all content to a file as well as the screen while the bash feature is running?

Thanks :D

Statistics: Posted by CloisteredNeuron — 2024-06-25 23:18 — Replies 0 — Views 21



Viewing all articles
Browse latest Browse all 3260

Trending Articles