O'Reilly logo

Linux and Unix Shell Programming by David Tansley

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 24. Shell built-in commands

We have actually met most of the shell built-ins already. You may be wondering what a shell built-in is; these are commands that are built into the actual Bourne shell instead of residing in the /bin or usr/bin directory. Built-in commands run faster than their equivalent (if any) in the system.

In this chapter we will cover:

  • the list of the standard Bourne shell built-in commands.

For instance, we have used cd and pwd, which can be found both in the system and as a shell built-in. To run the system version simply supply the path to the command:

/bin/pwd 

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