トップ «前の日記(2017-05-29(Mon)) 最新 次の日記(2017-06-05(Mon))» 編集

屑俺日記

僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。


2017-05-31(Wed) くもり

気づかなかったが

$ ls -l /sbin | grep system
lrwxrwxrwx 1 root root   14  4月  9 06:08 halt -> /bin/systemctl
lrwxrwxrwx 1 root root   20  4月  9 06:08 init -> /lib/systemd/systemd
lrwxrwxrwx 1 root root   14  4月  9 06:08 poweroff -> /bin/systemctl
lrwxrwxrwx 1 root root   14  4月  9 06:08 reboot -> /bin/systemctl
lrwxrwxrwx 1 root root   14  4月  9 06:08 runlevel -> /bin/systemctl
lrwxrwxrwx 1 root root   14  4月  9 06:08 shutdown -> /bin/systemctl
lrwxrwxrwx 1 root root   14  4月  9 06:08 telinit -> /bin/systemctl
lrwxrwxrwx 1 root root   26  4月  9 06:08 udevd -> /lib/systemd/systemd-udevd

jessie以降そうなっていた。
Presiseはまだだったが。

ちょっと新鮮

チェックサムを見るコマンドは多分ハードリンク。
環境はFreeBSD 12.0-CURRENT r319166。

$ ls -i /sbin | grep 2097084
2097084 md5
2097084 rmd160
2097084 sha1
2097084 sha256
2097084 sha384
2097084 sha512
2097084 sha512t256
2097084 skein1024
2097084 skein256
2097084 skein512
$ for file in \
> `ls -i /sbin | grep 2097084 | awk '$0=$2'`
> do echo -n "$file: "
>    echo 1 | $file
>    echo ""
> done
md5: b026324c6904b2a9cb4b88d6d61c81d1
 
rmd160: 0e25f9d48d432ff5256e6da30ab644d1ca726cb7
 
sha1: e5fa44f2b31c1fb553b6021e7360d07d5d91ff5e
 
sha256: 4355a46b19d348dc2f57c046f8ef63d4538ebb936\
000f3c9ee954a27460dd865
 
sha384: d654902b550e334bb6898d5c4ab8ebe1aedc6c853\
68eafe28e0f89b62a74a23e1ed20abbc10c02ce321266384d444717
 
sha512: 3abb6677af34ac57c0ca5828fd94f9d886c26ce59a\
8ce60ecf6778079423dccff1d6f19cb655805d56098e6d38a1\
a710dee59523eed7511e5a9e4b8ccb3a4686
 
sha512t256: d8a1083e68cd3ecd7791fea8f58e8ea83059d5\
24e4c5aa5f99cf6201e6e1e7a
 
skein1024: 5939b258c1b0a6376fcf7c6c37d4479e9be5790\
cc026ba4db5e2477bafe0e924b2035a7e56e4aaf26c5cef07a\
11e866697864bf68ca67b9644dffdeb5a12e61c26baac41cb9\
420d51c3278bf3971e0b785a51408bf996a0c0da685e6c13b9\
5b01d73160394055544479db70eff5b1e9a2881d048a8966bb\
dabf8ef53a74d04a3
 
skein256: a0c9658e0068af15ac67d256bf8e4e26b33ecc54\
a025e15a7ea56147af72be99
 
skein512: 23507663c97e502410c41dbef9826d516a57de3d\
088c586db709b6b8f5f57c70c090d4e3b50f0f40ca74c2f794\
f5ac0b582fed148cfad7ed08190558a1866abd

リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。

index.htmlは ここから。