https://wiki.archlinux.org/title/List_of_applications/Internet#Pastebin_services
That pages shows how to use curl to upload to 0x0.st.
I’ve used the pastebinit program listed on that page to upload to paste.debian.net, but it supports other sites as well.
Cal state northridge?