>第 31 章 Shell脚本>Shell如何执行命令>执行脚本>习题

码匠 code_smith@sohu.com
2009-11-13 11:37:11

$ (exit 2)
#fork /exec a child shell
#parent waits for child to exit
$ echo $? 
2
#now the shell is the oringnial shell
#echo is a shell builtin 



如果您有建设性意见,哪怕只是纠正一个错别字,也请不吝赐教,您留下的姓名和email将会出现在本书前言的致谢中。再次感谢您的宝贵意见!