Curl Your Way to Productivity: Pastebin CLI Secret Tricks

Old-school network patching cables.

The Browser is Too Slow

We’ve all been there: you have a log file or a snippet of code you need to share, but opening a browser, navigating to a pastebin, and clicking “Paste” feels like an eternity. If you live in the terminal, you should be using curl.

The magic of 0x0.st and clbin

There are several minimalist pastebins designed specifically for the command line. They don’t have ads, they don’t have trackers, and they are lightning fast.

1. The Instant Upload (ix.io)

Need to share your public SSH key or a config file?

cat config.yaml | curl -F 'f:1=<-' ix.io

It returns a tiny URL instantly.

2. The File Share (0x0.st)

Want to share a screenshot or a binary?

curl -F'file=@image.png' https://0x0.st

Why This Wins

  • Scriptable: You can pipe the output of a failed build command directly to a pastebin and send the link to a colleague in one line.
  • Privacy: Many of these services have automatic “burn on read” or expiry timers that you can set via header flags.
  • No JS: It works on a remote server where you only have SSH access and no graphical environment.

Conclusion

Once you start “curling” your pastes, you’ll never go back to a GUI. It’s the ultimate workflow hack for developers and sysadmins.


References & Further Reading

Last updated on