We designed this book to be used as both a tutorial and a reference. If you're a Unix newbie, you should start at the beginning and work forward through the first several chapters. As you progress through the chapters, you'll build on concepts and commands you learned in previous chapters. Then, as you become more proficient, you can start picking and choosing topics, depending on what you want to do. Be sure to reference the table of contents, index, and the appendixes to find information at a glance.
The commands used throughout this book apply to any version of Unix you might be using, including Linux, BSD, Solaris through your local Internet service provider, AIX or HP-UX at work, your Mac OS X or Linux system at home, or any other flavor (that's the technical term) you can find. Heck, you can even run Unix from your Windows system with CygWin or VMware. You'll find more about flavors and getting access to Unix in Chapter 1.
Each chapter covers several topics, each of which is presented in its own section. Each section begins with a brief overview of the topic, often including examples or descriptions of how or when you'd use a command.
Next, you'll find a step-by-step list (or a couple of them) to show you how to complete a process. Note that the code you type appears as the numbered step, and a description follows it, like this:
An explanation will appear like this in a more regular font. Here, we often describe what you're typing, give alternatives, or provide cross-references to related information.
If a line of code in a numbered step is particularly long, the code might wrap to a second line. Just type the characters shown, without pressing until the end of the command. Also, in code listings throughout the book, a single line of code on screen might wrap to two lines in the book. If this happens, the continued line will start with a , so it might look like:
The beginning of the code starts here but it continues on this line.
Sometimes you'll have to press a special key or key combinationlike , which means to hold down the key and press . We'll use this special keyboard font for these keys, but not for multiple letters, or numbers, or symbols you might type.
Finally, most sections end with a couple of handy tips. Look here for ways to combine Unix commands, suggestions for using commands more efficiently, and ideas for finding out more information.
Who Are You?
We assume that you've picked up this book because you already have a need for or an interest in learning to use Unix, or any Unix-like operating system, like Linux, Mac OS X, BSD, HP UX, AIX, Solaris, or others. We assume that
In short, we assume you want to use Unix to achieve your computing goals. You want to know what you can do, get an idea of the potential that a command offers, and learn how to work smart. Very smart.
You can do all of these things using this book. Basically, all you need is access to a Unix account or system and a goal (or goals) that you want to achieve.
What Do You Need Computer-wise?
Computer-wise, you can learn or experiment with Unix using virtually any computer you might have available. If you're using a Mac with OS X or later, you're all set; it's all Unix under the hood. If you have an extra computer sitting around, even something as old as a Pentium III, you can install several different flavors of Unix on it. Certainly you can install Unix on an extra hard drive (or empty space on your current hard drive) on your regular desktop computer, and generally without affecting your existing Windows configuration.
Alternatively, you can dabble in Unix less invasively by using an account on a system at work, or through an Internet service provider. Probably the easiest option, though, if you have a reasonably new computer and are concerned about not messing up what you have, is to use either CygWin to run Unix as part of your Windows environment, or to use Vmware to run Unix in a "virtual machine" as an application in your Windows environment, or to use a bootable Unix (Linux or Solaris) CD to experiment without having to install anything at all on your computer.
What Do You Need to Know to Get Started?
As you get started learning Unix, keep in mind the following Unix conventions for typing in commands:
So, with these things in mind, see you in Chapter 1!
Anything Else You Should Know?
Yup! Please feel free to send us a message at email@example.com. We welcome your input, suggestions, and questions related to this book. Thanks, and we look forward to hearing from you!