I don't think it is the kernel... unless those udev rules only apply to bash for some weird reason.
Just did a quick test trying that in zsh and it failed.
@fribbledom Special handling of certain file names is for redirections, and it is a Bash feature.
"Bash handles several filenames specially when they are used in redirections, as described in the following table. If the operating system on which Bash is running provides these special files, bash will use them; otherwise it will emulate them internally..."
@fribbledom Ick. gawk too, IIRC. Should bu system level, so everything has access (like Plan 9, as noted elsewhere).
I've known about it, but it's like knowing what's in the Necronomicon, it's powerful, but nothing good will come from it.
@fribbledom I think some builds compile it out because they're scared that any shell script being able to access the net could unwrap security issues no one really thought of
@penguin42 @fribbledom Yeah, with netcat flagged by AV if it was built with the `-e` option enabled, I will be a little surprised to see this work in a vanilla installation without extra work to turn it on. "Will" and not "would" because *of course* it's been there all the time without anyone getting wise.
QNX has another good possibilities known as Qnet
@fribbledom whoa that's bizarre, from the manpage description I wonder if they did it to mimic some previous OS functionality that they wished were available on all platforms
that exec syntax in the first line of the second example is strange! anyone know what it's called or how I could learn more about it?
also how would you close the network connection created in the second example?
wild stuff damn
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!