Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
mywittyname
7y ago
0 comments
Share
Is true a program? I thought it was a command built into the shell.
0 comments
default
newest
oldest
int_19h
7y ago
Most shells optimize it to avoid the overhead of spawning a process for something as trivial as that. But yes, it's an actual binary even so, just in case - try `which true`.
https://www.gnu.org/software/coreutils/manual/html_node/true...
gpm
7y ago
Some history:
http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html
robin_reala
7y ago
It’s /usr/bin/true on Mac, and the OpenBSD source for it is at
https://github.com/openbsd/src/blob/master/usr.bin/true/true...
.
radgeRayden
7y ago
I don't know what I expected.
j
/
k
navigate · click thread line to collapse