Unit 3 return codes and traps

return value :0 or others

echo $? :last command return code

condition execution: 成功&&;失败||

numeric expression: exp1 -eq|-ne|-lt|-le|-gt|-ge exp2

signal:kill

trap

posted @ 2009-08-05 22:21  qyf  阅读(119)  评论(0编辑  收藏  举报