O'Reilly logo

Practical Linux by Bill Ball, John Ray, Michael Turner, M. Drew Streib

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

What Is a Shell?

This chapter, which introduces you to Linux, assumes that you've just booted Linux for the first time after installation. The shell is a program started after you log in to Linux that provides a command-line interface between you and the Linux kernel. Typed commands are interpreted by the shell and sent to the kernel, which in turn opens, closes, reads, and writes files. There are a number of shells for Linux; the default shell for most distributions, however, is called bash and is found under the /bin directory. The shell's internal commands and functions can also be used to write programs.

SEE ALSO

To learn how to write shell programs, see page 323.

To learn about how to use the shell, see page 20.

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