Bourne Shell Programming in One Hour is written by Ben Pfaff. This shell programming guide explains you shell command basics, intermediate shell programming, built in shell commands, useful external shell commands and more.
Introduction:
Programming with the Bourne shell is similar to programming in a conventional language. If you've ever written code in C or Pascal, or even BASIC or FORTRAN, you'll recognize many common features. For instance, the shell has variables, conditional and looping constructs, functions, and more.
Shell programming is also dierent from conventional programming languages. For example, the shell itself doesn't provide much useful functionality; instead, most work must be done by invoking external programs. As a result, the shell has powerful features for using programs together in sequence to get work done.
This article examines the features of the POSIX shell, more commonly known as the Bourne shell. The most common Bourne shell implementation on GNU/Linux systems is bash, the Bourne again shell." bash incorporates several extensions to the standard Bourne functionality; none of these will be explored by this article. This article is by no means comprehensive. It just skims the surface of many shell features.
Read More/Try It
Introduction:
Programming with the Bourne shell is similar to programming in a conventional language. If you've ever written code in C or Pascal, or even BASIC or FORTRAN, you'll recognize many common features. For instance, the shell has variables, conditional and looping constructs, functions, and more.
Shell programming is also dierent from conventional programming languages. For example, the shell itself doesn't provide much useful functionality; instead, most work must be done by invoking external programs. As a result, the shell has powerful features for using programs together in sequence to get work done.
This article examines the features of the POSIX shell, more commonly known as the Bourne shell. The most common Bourne shell implementation on GNU/Linux systems is bash, the Bourne again shell." bash incorporates several extensions to the standard Bourne functionality; none of these will be explored by this article. This article is by no means comprehensive. It just skims the surface of many shell features.
Read More/Try It