echo alias publish=\"curl -F file=@- https://publish.ip1.cc\" >> ~/.bashrc
En Zsh:
echo alias publish=\"curl -F file=@- https://publish.ip1.cc\" >> ~/.zshrc
En Fish:
echo alias publish=\"curl -F file=@- https://publish.ip1.cc\" >> ~/.config/fish/config.fish
(y reiniciar el shell)
ls | publish
Publicar un archivo:
cat file.pdf | publish