Show newer

てかshebangで引数渡せるの、なんで?みがある

んえ boosted
んえ boosted

/bin/bash渡したら新手のforkbombになりそう(なるんか?)

邪悪ゲージ振り切れてますよ

んえ boosted

shebangに一つ引数が渡せる環境なら#! /bin/chmod 000 とかできるじゃん

んえ boosted
んえ boosted

結論:shebangにrmを指定すると指定したら消える

んえ boosted

悪い知見ばかり集まってくる

んえ boosted

#!/bin/rmにしたら実行すると消えるんかな

んえ boosted

Pythonのshebangはこう書け!
#!/usr/bin/env ruby

おたくなんであえいでるのって思ったら発表か

んえ boosted

先頭2バイトが #! だったらその後ろの空白文字までをそのスクリプトの処理系のパスとして解釈して実行する

Show older

んえ's choices:

nesodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!