Writing Shell Scripts

Shell scripting, at its most basic, is taking a series of commands you
might type at a command line and putting them into a file, so you can
reproduce them again at a later date, or run them repeatedly without
having to type them over again.

You can use scripts to automate repeated tasks, handle complex tasks that
might be difficult to do correctly without repeated tries, redoing some of the coding, or both.

Available shells
The shell that you'll likely use for scripting under QNX Neutrino is ksh, a public-domain implementation of the Korn shell. The sh command is usually a symbolic link to ksh.