mcc on Nostr: I think my favorite program in the entire linux/unix toolchain is "file". Did you ...
I think my favorite program in the entire linux/unix toolchain is "file". Did you even know about this program? It's on every system including MacOS and it's magic. You run it on any file and it just tells you what it is. Any file. I don't know who keeps this updated but it supports surprising things. Like it knows Windows file formats. If it's a executable it tells you if it's 32- or 64- bit. If it's an image it tells you the size and channels. If the file extension lies it just figures it out.
Published at
2024-05-31 21:29:02Event JSON
{
"id": "042b2c6f3766022637fd41c7aee47fe8600277e04dc746927e4fbde4274f306f",
"pubkey": "582a41c6eca3d12c80acd248a7c8f3070c83c859b9ac1739cbecc074cf09a747",
"created_at": 1717190942,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@mcc/112537825581998220",
"web"
],
[
"proxy",
"https://mastodon.social/users/mcc/statuses/112537825581998220",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/mcc/statuses/112537825581998220",
"pink.momostr"
]
],
"content": "I think my favorite program in the entire linux/unix toolchain is \"file\". Did you even know about this program? It's on every system including MacOS and it's magic. You run it on any file and it just tells you what it is. Any file. I don't know who keeps this updated but it supports surprising things. Like it knows Windows file formats. If it's a executable it tells you if it's 32- or 64- bit. If it's an image it tells you the size and channels. If the file extension lies it just figures it out.",
"sig": "3c7005cad565ed681dd94e9f7eea915854e152db8d2523984238d7808f1e29e9710ba130cc97d76b9d52003a7cc564e1c2f0eaddf59af23d7e91a2231585d534"
}