본문 바로가기

Archived(CSE)/시스템 프로그래밍

Chap 9. A Programmable Shell

Chap 9. A Programmable Shell


.


* Shell -> run as interpreter (an essential part of UNIX)

* Shell run as two way ( sh ~~ / chmod +x )

* smsh(fork - wait - execlp)

* smsh2 - if~then~else~fi (controlCheck - smsh1)

* smsh3 - variable(set- VLlist, = - VLstore, export)

* smsh4 - envVar


* smsh.ver1



* Shell control ( if ~ then ~ else ~ fi)


* smsh.ver2



* variable ( local / env ) - set, assign, export, unset


* VLlist, VLStore(var, val), VLexport(var)


* smsh.ver3


* environ (char**) 


* smsh.ver4