←back to thread

457 points benoitg | 1 comments | | HN request time: 0.233s | source
Show context
lend000 ◴[] No.44367484[source]
I'm trying to understand what they are demonstrating with the "false; true" commands in the little video loop. Can someone chime in?
replies(1): >>44367712 #
1. zygentoma ◴[] No.44367712[source]
`true` returns exit code 0

`false` returns an exit code != 0

The prompt indicates whether the last command returned exit code 0.