←back to thread

457 points benoitg | 2 comments | | HN request time: 0.608s | source
1. 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 #
2. 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.