linux
bashのヒアストリング <<< を知らなかったのでメモをしておきます。 説明 <<< の後にくる文字列や変数の内容を標準入力に流し込む 例 $ test_string="foobar" # リダイレクト $ cat < "${test_string}" bash: foobar: No such file or directory # ヒアスト…
最近のfedoraだとhostnamectlコマンドで設定できるということを知った。 $ sudo hostname set-hostname <NEW NAME></new>
x86であれば、arch/x86/include/asm/cpufeature.h に書いてある。