True and false (commands)

true and false are shell commands that exit immediately with exit status 0 or 1, respectively. As a script sets its process exit status to the value of the last command it runs, these commands can be used to set the exit status of a script run.

Source: Wikipedia — True and false (commands) (CC BY-SA 4.0)

True and false (commands)

true and false are shell commands that exit immediately with exit status 0 or 1, respectively. As a script sets its process exit status to the value of the last command it runs, these commands can be used to set the exit status of a script run.

This neuron ends here.

Source: Wikipedia "True and false (commands)" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy