Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by u1686_grawity for How to save output of bash whilst preserving colored text?

Use a terminal emulator which supports copying the text as HTML (or similar). You can paste it either directly to a .html file, or to LibreOffice which will import the formatting.

For example, GNOME Terminal has a "Copy as HTML" menu item as of v3.26 (libvte 0.50).


Viewing all articles
Browse latest Browse all 3

Trending Articles