Using Go as a scripting language in Linux
blog.cloudflare.com
Using Go as a scripting language in Linux
1–3 of 3 posts
Re: Using Go as a scripting language in Linux
#2I, too, didn't realize that shebang parsing is implemented in the `binfmt_script` kernel module.
Does this persist across reboots?
echo ':golang:E::go::/usr/local/bin/gorun:OC' | sudo tee /proc/sys/fs/binfmt_misc/registerRe: Using Go as a scripting language in Linux
#3I, too, didn't realize that shebang parsing is implemented in the `binfmt_script` kernel module. Does this persist across reboots? echo ':golang:E::go::/usr/local/bin/gorun:OC' | sudo tee /proc/sys/fs/binfmt_misc/register
No, but different init systems may autoload formats based on some configuration files. Systemd, for instance: https://www.freedesktop.org/software/systemd/man/systemd-bin...