Skip to content

TRUEANGLE

BEAUTY AND PLAY

  • DOLLECT
  • Others
  • Configuration
  • AI
  • BLOG
  • ABOUT
    • ABOUT
    • Perception Style

Daily Archives: April 7, 2018

why does “exit status 0” mean success?

https://www.quora.com/in/Why-does-%E2%80%9Cexit-status-0%E2%80%9D-mean-success

Posted byjeffrinApril 7, 2018Posted inoperating systemTags: posix

Tinkering with trap and exit commands

TYPICAL COMMANDLINE SESSION [bash] $echo $? 0 $echo $? 0 $exit 10 | tee solve.txt $cat solve.txt $rm solve.txt $exit 10 | echo $? 0 $exit -1 | echo $? 0 $exit -1 | echo $? 0 $false | true $echo $? 0 $false $echo $? 1 $true $echo $? 0 $exit 5 | tee …

Continue reading “Tinkering with trap and exit commands”

Posted byjeffrinApril 7, 2018Posted inoperating systemTags: command, error, exit, exit n
April 2018
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Mar   May »
TRUEANGLE, Proudly powered by WordPress.