CHAPTER 3

Working with the Linux Shell

In this chapter, you will learn about

•   What a shell is

•   Setting a local environment

•   Setting time

•   Configuring the shell

•   Bash configuration files

•   Redirection

You may find it helpful to log on to the virtual machine as user student1 (password student1) while reading this chapter.

What Is a Shell?

A shell is a program that functions as a user interface, command-line interpreter, and programing (scripting) language. Let’s take a brief look at each of these entities.

Users need a way to tell the operating system what tasks it needs to complete, and the operating system needs a way to communicate results to the users. A user interface allows a user to interact with the operating system. ...

Get CompTIA Linux+ Certification All-in-One Exam Guide: Exam XK0-004 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.