Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just sayin' you can do something like this in bash out of the box... Don't let me spoil the party though, the more the merrier.

https://www.gnu.org/software/bash/manual/html_node/Redirecti...

"/dev/tcp/host/port If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding TCP socket.

/dev/udp/host/port If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding UDP socket."

I've got an example of a "practical" way to use it in an answer I did over here https://superuser.com/questions/563083/how-to-transfer-files...



"Seashells lets you pipe output from command-line programs to the web in real-time, even without installing any new software on your machine"

The page already told us you can do this out of the box. It's the very first sentence.

It also clearly explains the benefits provided by using the additional, optionally installed tooling.


I'm claiming this can already be accomplished using standard tools already installed, without much effort.

It won't look The Exact Same but it is functionally equivalent for many uses and is self hosted

It's not meant to be discouraging, if people find it useful then great


> self hosted

The article has two points.

1. They are providing a web server.

2. They are providing instructions on sending things to that server using netcat or an optional client/script.

I think your bash example covers point 2 only.


You seem to be missing the "live updating web page displaying what's being piped to the server" part.


> "/dev/tcp/host/port If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding TCP socket.

that is WILD.


Beware the folly of the Dropbox comment


For the background, that was way back in the day where someone looking at things through only their own use case and concluding the just announced dropbox was a useless product (to them).

A very similar comment was famously made on slashdot about the "just released" ipod in 2001, "No wireless. Less space than a nomad. Lame."

I was thinking about both famous dismissals as I was typing my first comment.

Still thought it was worth surfacing some arcane knowledge some may find useful.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: