Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by vdm

21 days ago

> We can assign the value of $? to an environment variable

exit_code is not an environment variable?

https://www.gnu.org/software/bash/manual/html_node/Shell-Par...

1 comment

vdm

Reply

Meetvelde  21 days ago

Oops, pretty sure I meant a regular variable. Will modify the post, thanks for pointing this out.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities