Hacker News new | ask | show | jobs
by lend000 352 days ago
I'm trying to understand what they are demonstrating with the "false; true" commands in the little video loop. Can someone chime in?
1 comments

`true` returns exit code 0

`false` returns an exit code != 0

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