Hacker News new | ask | show | jobs
by extraduder_ire 126 days ago
Just remember what those commands are, and to type a || or && next to them each time you run one.

'<cmd> || echo$?' is a good option, if you care about the return value.