Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 283 Bytes

File metadata and controls

12 lines (9 loc) · 283 Bytes

For booleans use true and false

Booleans using true and false can use the shell built-in commands like this:

x=true
if [ "$x" = true ]; then
    ...
fi

Notice that this is not using numbers (such as 0 or 1) and not using commands (such as /bin/true or /bin/false)