FPASTE(1)
π FPASTE(1) β bestie's guide to yeeting text into the void (lovingly) π
okay so. hi. this is the manual page for fpaste, version 0.5.0.0, and I am so normal about it. section 1 of the manual, user commands, we're here, we're thriving. let's go π«Ά
πΈ NAME πΈ
fpaste β manual page for fpaste 0.5.0.0 π
β¨ SYNOPSIS β¨
fpaste [OPTION]... [FILE]...
like. that's it. that's the whole vibe. you give it options, you give it files (or you don't and it just waits for you like a loyal little guy), and it does the thing π
π¦ DESCRIPTION π¦
So what does it do, bestie? It sends your text file(s), your stdin, or your clipboard to the Fedora community pastebin over at https://paste.centos.org, and then it hands you back the URL. that's the whole personality. iconic behavior honestly π
And listen, there's a real reason this exists. It's often super useful to be able to easily paste text to the Fedora Pastebin at http://paste.fedoraproject.org, and this little utility does exactly that and returns the resulting URL so that people can go look at your output. This is for the folks who are, for whatever reason, stuck without a graphical interface, or working remotely, or literally any other reason they can't paste something into the pastebin using a web browser. we see you, we love you, we got you ππ
Examples, in their natural habitat:
fpaste file1.txt file2.txt
dmesg | fpaste
(prog1; prog2; prog3) | fpaste
fpaste --sysinfo --confirm
fpaste -t "debug output" -l python foo.py
π OPTIONS π
--versionβ show the program's version number and dip out βοΈ-h,--helpβ show this help message and exit, the classic "wait what" button
π« paste.fedoraproject.org Options π«
-t "TITLE",--title="TITLE"β the title of your paste; if you don't say anything it defaults toUNTITLED(no thoughts, head empty π«§)-a "AUTHOR",--author="AUTHOR"β author name; empty by default, so you're a mystery, a legend, a ghost π»-r PRIVATE,--private=PRIVATEβ make the paste private; defaults to1-l "LANGUAGE"β language of the content, for syntax highlighting; default is"text"; hit it with"list"and it'll show you all 239 supported langs. TWO HUNDRED AND THIRTY NINE. we are so back π-x LIFEβ life of the paste, in minutes; default is 1 day (which is also the maximum, so don't get any ideas about immortality, bestie) π
π Input/Output Options π
-i,--clipinβ read the paste text from the current X clipboard selection [requires:xsel]-w,--wayland-clipinβ read the paste text from the Wayland selection [requires thewl-clipboardpackage] β wayland girlies rise π§-o,--clipoutβ save the returned paste URL to all available clipboards--input-selection=CLIPβ specify which X clipboard to use. valid options are:"primary"β the default; middle-mouse-button paste"secondary"β uncommon, a rare little creature"clipboard"β ctrl-v paste
--fullpathβ use pathname VS basename for the file description(s)--pasteselfβ paste this script itself. it's self-aware. it's giving main character energy π--sysinfoβ paste system information--sysinfo-shortβ paste shortened system information (the tl;dr)--audioinfo,--sysinfo-audioβ paste general audio information π--videoinfo,--sysinfo-videoβ paste general video information π¬--diskinfo,--sysinfo-diskβ paste general disk information πΎ--netinfo,--sysinfo-netβ paste general network information π--dnfinfo,--sysinfo-dnfβ paste repository and package information--pci-verbose,--sysinfo-pci-verboseβ paste verbose pci information--usb-verbose,--sysinfo-usb-verboseβ paste verbose usb information--btrfsinfo,--sysinfo-btrfsβ paste btrfs related system information π³--printonlyβ print the paste, but do not send it. look only, no touch π--confirmβ print the paste, and prompt you for confirmation before sending. consent is key π₯--raw-urlβ print raw url
π EXAMPLES π
Paste file foo.txt at paste.fedoraproject.org
fpaste foo.txt
Paste output of ifconfig to paste.fedoraproject.org with description "my network config"
ifconfig | fpaste
Paste mycode.py to paste.fedoraproject.org with description as "problem with foo" and language "python"
fpaste -l python mycode.py
Paste mouse-selected text from the primary X selection clipboard, and then overwrite the same clipboard with the returned fpaste URL
fpaste -io
To manually paste clipboard contents, run fpaste without file arguments so that it waits for input, then paste using mouse middle-click, <Ctrl-V>, or other, then press <Enter> followed by <Ctrl-D> to finish (EOF). that's the whole dance, bestie π
To paste the output of more than one program and/or file at a time, use the following example forms:
(lsusb ; lspci) | fpaste
fpaste <(lsusb) <(lspci)
fpaste <(fdisk -l) /etc/grub.conf
(fdisk -l ; cat /etc/grub.conf) | fpaste
(uname -a ; yum repolist) | fpaste
Gather and paste various information about the running system
The info collected should be practically anonymous, and you may use the --printonly or --confirm options to preview what would be sent. paste.fedoraproject.org URLs are also practically anonymous ([a-zA-Z0-9]**4 == 14,776,336 combinations), so you may also preview it instead before giving the link out. π
fpaste --sysinfo
fpaste --sysinfo --confirm
fpaste --sysinfo --printonly | less
π BUGS π
Found a bug? not on my watch. Report bugs to: https://pagure.io/fpaste/new_issue
or to: Jason 'zcat' Farrell <farrellj AT gmail DOT com> and Ankur Sinha 'FranciscoD' <ankursinha AT fedoraproject DOT org>.
be nice to them, they're doing great π«Ά
π AUTHOR π
Fedora Unity
and that's the whole page, bestie. you're now certified in the art of pasting. slay π β¨
this has been fpaste 0.5.0.0, from August 2024, page FPASTE(1) β go forth and paste responsibly πππ¦
π¦ where this page comes from
- fedora 43: fpaste 0.5.0.0-3.fc43 Β· GPL-3.0-or-later
- fedora 44: fpaste 0.5.0.0-4.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms