True and false (commands)
id:
true-and-false-commands-314-5325524
title:
True and false (commands)
text:
In Unix-like operating systems, true and false are commands whose only function is to always return with a predetermined exit status. Programmers and scripts often use the exit status of a command to assess success or failure (non-zero) of the command. The true and false commands represent the logical values of command success, because true returns 0, and false returns 1.
brand slug:
wiki
category slug:
encyclopedia
description:
Standard Unix utility
original url:
https://en.wikipedia.org/wiki/True_and_false_(commands)
date created:
date modified:
2024-01-21T22:21:32Z
main entity:
{"identifier":"Q1743703","url":"https://www.wikidata.org/entity/Q1743703"}
image:
fields total:
13
integrity:
14