O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

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 Summary

The shell is both a command interpreter and a programming language. As a command interpreter, the shell executes commands you enter in response to its prompt. When you use it as a programming language, the shell executes commands from files called shell scripts.

You typically run a shell script by giving its name on the command line. To run a script in this manner, you must have execute permission for the file holding the script. Otherwise the shell does not know that the script is executable. Alternatively, you can execute the script by entering bash, tcsh, or zsh followed by the name of the file on the command line. Either way you need to have read permission for the file.

Job control is not part of the Bourne Again Shell but ...

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