Chapter 6. Working without the GUI

In This Chapter

  • Understanding the user shell environment

  • Customizing the bash environment

  • Working with commands

  • Utilizing wildcard expansion

  • Using long commands

  • Tinkering with variables

  • Using redirection and pipes

Whom computers would destroy, they must first drive mad.

Anonymous

Many computing old-timers speak fondly of the command line. Others who developed their skills by pointing and clicking refer to the command line as some antiquated tool used by crusty old-timers. The truth is that most skilled computing professionals recognize the merits of both the point-and-click graphical user interface (GUI), and the “lots of typing” command line interface (CLI). You must understand that the command line provides a powerful force for operating your computer. If you ever watch over the shoulder of a skilled Linux geek, you notice that, after logging in, the geek doesn’t take long to start tapping out seemingly cryptic instructions by hand.

In this chapter, I explore the Linux program that provides the CLI, which is called the bash shell. Although many shells are available for Linux, bash is the most common, and for good reason. Basically, the creators of bash rolled many good features of other shells into one terrific package.

Each shell has its own way of handling commands and its own additional set of tools. I start by explaining what a shell really is, and when you understand that, you’re ready to get down and dirty with bash. I cover specifically ...

Get Linux® For Dummies®, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.