4 ms·
Most likely nobody uses /bin/true (/usr/bin/true). Executing true without the pathname will run the shell embedded function.
by ben_bai 9y ago
Most likely nobody uses /bin/true (/usr/bin/true).
Executing true without the pathname will run the shell embedded function.
- kobeya 9y agoNeeding a program that returns true comes up more often than just shell scripting. For example, maybe a system reports an event by launching a named executable. Specifying /bin/true is the equivalent of redirecting that event to /dev/null.