I want to put it at the top of a unix executable. right after the #!
I know it seems silly, but I would like suggestions.
Most systems have a /usr/bin/false
NAME
false -- Return false value.
SYNOPSIS
false
DESCRIPTION
The false utility always exits with a nonzero exit code.
SEE ALSO
csh(1), sh(1), true(1)
STANDARDS
The false utility conforms to IEEE Std 1003.2-1992 (``POSIX.2'').
Sounds like a job for the "colon" built-in
: [arguments] No effect; the command does nothing beyond expanding arguments and performing any specified redirections. A zero exit code is returned.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With