this post was submitted on 23 Nov 2024
98 points (97.1% liked)

Reaction Memes

1171 readers
52 users here now

founded 2 years ago
MODERATORS
 
top 4 comments
sorted by: hot top controversial new old
[–] DannyBoy@sh.itjust.works 7 points 1 year ago
[–] friend_of_satan@lemmy.world 5 points 1 year ago* (last edited 1 year ago) (1 children)

It's used by the true command as the source of truth for what the return code is.

Edit: I found a copy of the file and verified it:

$ xxd -c 8 true.dat | head -n 4
00000000: 0000 0000 0000 0000  ........
00000008: 0000 0000 0000 0000  ........
00000010: 0000 0000 0000 0000  ........
00000018: 0000 0000 0000 0000  ........
$ 

As you can see, it's all zeroes, which is what the return code for true should always be.

[–] MelodiousFunk@slrpnk.net 2 points 1 year ago

The true knowledge is always in the comments.

[–] Masamune@lemmy.world 2 points 1 year ago