O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Writing Korn Shell Scripts

Executing Korn Shell Scripts

The [[...]] Command

Control Commands

Input/Output Commands

Misc Programming Features

Besides providing a working environment and executing commands, the Korn shell is also a high-level programming language that can be used to write programs. In Korn shell terminology, these programs are called scripts. Korn shell scripts can contain anything that you enter at the command prompt: normal Unix commands, Korn shell commands, your own programs and scripts, or even commands from other Unix shells! Unlike many high-level programming languages, Korn shell scripts are interpreted, so they do not have to be compiled. This makes the Korn shell ideal for prototyping.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required