Przez zapisanie skopiowanego tekstu do pliku ...
Sprawdź co oferuje strona: termbin.com
termbin.com is powered by Fiche
Command line pastebin for sharing terminal output.
ewentualnie: How to Use Pastebins on Linux
... using pastebin services from the command line on Linux can be a convenient way to share text with others. Whether you choose Pastebinit, Termbin, or Haste, these tools are easy to use and can help you quickly share text without the need for a graphical user interface.
sprawdź też np.: How to upload a file to google Drive from the linux terminal