-2

I would like to upload text files to a site so I can share with others.

The sites that I use only allow pictures.

karel
  • 114,770
fixit7
  • 3,127

1 Answers1

5

Have you tried pastebinit

https://help.ubuntu.com/community/Pastebinit

pastebinit can be installed in all currently supported versions of Ubuntu with the following command:

sudo apt install pastebinit  

It's frequently used in bug reporting, IRC & other docs for sharing text files.

Copying from the link I provided:

Once you have pastebinit installed it's time to test it out.

The command for pastebinit in the terminal is:

<command> | pastebinit

For example if you were having grub issues and someone in the IRC ask you to post your menu.lst into a pastebin you would enter the following in a terminal:

cat /boot/grub/menu.lst | pastebinit

karel
  • 114,770
guiverc
  • 30,396
  • The example command for Grub (menu.lst was grub version 1) shows how long pastebinit has been doing this.. When someone starts pasting many lines of output on IRC; a bot will silence them (automatically) and users can !pastebinit to show instructions on using pastebinit.... – guiverc Jan 25 '24 at 02:07