Lecture6 - Lecture 6 Introduction to Shell Programming COP...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 6 Introduction to Shell Programming COP 3344 Introduction to UNIX 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
What is a shell script? An executable file containing U i h ll d Unix shell commands Programming control constructs (if, then, while, until, case, for, break, continue, while, …) basic programming capabilities (assignments, variables, arguments, expressions, …) The file entries are the script The file is interpreted rather than compiled and executed The first line of the script indicates which shell is used to interpret the script 2
Image of page 2