Customer Reviews: The Linux Command Line: A Complete Introduction
Safety Month botysf16 Amazon Fashion Learn more Discover it Adele Explore Premium Audio Fire TV Stick Subscribe & Save Patriotic Picks STEM Amazon Cash Back Offer AnnedroidsS3 AnnedroidsS3 AnnedroidsS3  Amazon Echo  Echo Dot  Amazon Tap  Echo Dot  Amazon Tap  Amazon Echo Introducing new colors All-New Kindle Oasis UniOrlando Segway miniPro

Format: Paperback|Change
Price:$26.96+ Free shipping with Amazon Prime
Your rating(Clear)Rate this item

There was a problem filtering reviews right now. Please try again later.

on February 13, 2012
What if you had a book that took you from the very beginning of the Linux command line options, and it took you through progressively interesting and relevant topics so that you really could develop a mastery of the shell? Oh, and what if it were written in a fun style that was less wonkish and easier to embrace and follow along with? Less tech, mode dude. William E. Shotts, Jr.'s "The Linux Command Line" manages to do that.

Let's face it, learning the entirely of the Linux command line can take years. It's unlikely most will walk through the book page by page and work through each example, but with this book, it feel like you could do exactly that and not get bored.

The first part of the book walks the user through the many commands that are relevant to all systems and all shells; the navigation options through directories, showing files, getting your head around terminals, finding and opening files, moving files and directories around, links (both literal and symbolic), learning about commands and how to learn more about them. All of this, as well as redirection, using pipelines, creating filters, expansions, and so on. A wonderful metaphor and explanation made in this section is that Windows is like a GameBoy, and Linux is like the world's biggest Erector Set. While Windows is nice and shiny and makes for pretty applications, it's difficult (relatively speaking) to roll your own applications without a fair bit of knowledge and packaged tools. Linux, on the other hand, right off the bat gives you all the tools you need to build just about anything in just about any conceivable way you might want to build it.

Part 2 covers configuration of the shell and the environment variables that it keeps track of. Shell variables like DISPLAY, EDITOR, LANG, PS1, TERM and many others are explained and we get to see how simple shell scripts are implemented allow us to access and modify these values. We also get introduced to a variety of test editors, but with an emphasis on vi (and a mellow focus at that). The section is rounded out by learning how to modify the command prompt that we see and make it show us more details (directories, colors, etc.).

Part 3 is a grab bag of all sorts of things that we often look at separately, but when taken together, make a lot of sense. We start with package management and making sure systems are up to date. Next we cover understanding file systems and the variety of commands that helps to mount disks, examine file systems, check and repair systems, get online and check the network for connectivity, copying files over a network and connecting via secure shell, performing archive and backup steps. The section end with a broad discussion on regular expressions, text formatting and processing and, finally, printing out files and compiling applications.

Part 4 ties it all into the true big bad voodoo of the command line, the ability to write shell scripts. The section starts out with a fairly basic script formatting and then moves on to create a program that displays system information in HTML format. Along the way, we get to see how to use the shell and all of its properties and the huge toolkit of Linux commands to structure our work, and get an introduction to "top down design". Subsequent chapters carry us through common development topics such as reading input from the command line, strings, numbers, variables and constants, and the variety of flow control ranging from simple branches to looping and case statements and arrays. The section ends with a grab bag of interesting topics including subshells, traps and error handling, asynchronous execution and named pipes.

Each section starts with the commands it will cover, walks through careful and thorough examples of each command, and then wraps with a simple explanation of the section covered, with sidebars aplenty. Seeing as this is a command line book, you bet that you are seeing a lot of the actual commands, and how they interact, how to apply permissions, manipulate text and manage processes. If you want practice with these things and not their graphical counterparts (and really, what "command line" book worth its salt wouldn't make that its prime focus), well, you get your wish!

Bottom Line:

There are a lot of books that talk about the various Linux Shells, but you'd be hard pressed to find one that does so this entertainingly. Again, it's the less tech (but not so much that the meat of the matter isn't covered well) and more "dude" (but not to the point of being embarrassing or insulting) that makes this book a joy and a treasure. If you're a novice Linux player, or just want to get beyond the pretty graphical wrapper of your MacBook, put this book at the top of your list.
44 comments|148 people found this helpful. Was this review helpful to you?YesNoReport abuse
on January 23, 2012
First of all I am a developer & system admin at a small company in MS world, but have been spending an increasing amount of time in Linux administration for side projects. I realized very quickly the limits of my abilities with bash, vi, etc. and began searching for resources. I'm only about 6 chapters into "The Linux Command Line" so far, and can say that it that anyone wanting to succeed with Linux should begin here. More advanced users could probably also benefit from the second half of the book (which I haven't gotten to yet, but addresses many common system administration tasks such as networking, archiving & backup, ftp transfers, etc.).

Like most people starting off in this topic, I relied heavily on forums and web searches, as well as a fair bit of fumbling around on my own learning how to employ the power of the command line. In hindsight I could benefitted with clarity on the topic and saved an enormous amount of time by reading a book like this, which goes from the most basic level , the function and purpose of the command line, to the more advanced such as creating shell scripts and compiling applications. The chapters which will be most valuable to me include the Introduction to Vi, Regular EXpressions, and Working With Commands.

The most compelling reason for buying this book above others I've looked at is the level of thoroughness which the author grants to each topic. While there are pages that I will probably copy, print out, and hang on my monitor for reference, more than anything the book stands as an exhaustive exposition about a topic that newbies (like myself) must learn if they plan to push their skill set beyond that of a casual user. I've also found that the author's sequenced, tutorial approach to the topic matched with his light-hearted tone made this book far more readable than many other tech books I've come across, and would recommend it to anyone.
22 comments|69 people found this helpful. Was this review helpful to you?YesNoReport abuse
on February 11, 2012
I will first state that I am a partially blind Linux user. I took some Linux classes in 2006, and I completely migrated to Linux in 2007 due to several reasons which I will not cover here. When I refer to myself as "partially" blind, I say that with the intent that what minimal amount of vision I have left may not lost much longer. Throughout the majority of my 'Linux life", I heavily relied on screen magnification and graphical tools to get things done; as of recently, however, my good eye has not held up so well as it used to. With the possibility of the loss of my remaining vision eminent, I decided that I could better be served by performing many operations under Linux from the command line. I can still use a graphical environment through the use of the Orca screen reader, and there are a number fo screen readers available strictly for the command line side of Linux.

For awhile now I tried to learn the command line through Google searches and different online tutorials, as well as some arcane manpages for command line utilities. I felt kind of overwhelmed because I could not find all of the information I needed in a format for learning. Enter this book!

As mentioned by other reviewers, this book is not necessarily meant to be a reference it is written in such a way that it is like you have a personal Linux trainer. Everything is explained so that the reader can understand it, and the author seems to be very meticulous when it comes to details (by no means a complaint). I have learned more from this one book than I have from the textbooks used by the professor of the Linux class at the college which I attended back in 2006. That is not to say I learned nothing in those classes, as I learned a ton...just not enough to (for the most part) live in the command line. I feel much more confident on a command line than I ever have, and this book is primarily to thank for it.

I am an IT student seeking employment, and I was unable to afford a printed copy of this book. When I get the money, this book will be one which stands on my shelves at home. By no means am I trying to take money away from the publisher, but if you are like me and you are financially unable to purchase a printed copy of this book, this book is also published as a free and legal PDF eBook at the author's site. Just search for "LinuxCommand" "PDF" "Download". The printed version, in my opinion, would well be worth the price.

A big thanks to Mr. Shotts for writing this book. Though it may not have been written with blind users in mind (it doesn't really need to be, as most if not all of the command line is usable by a totally blind user), this book has helped me to feel much more confident in the command line. If my remaining vision does fade away, I now know that I will not have to find a way to pay for ridiculously priced commercial software in order to use an operating system which I do not really own.

If you are looking to learn the command line in order to become more productive as a general Linux user (or even as a future sysadmin), this book is a great place to start.
22 comments|59 people found this helpful. Was this review helpful to you?YesNoReport abuse
on March 6, 2014
If you want this book and don't mind reading it on a computer, kindle, phone, or tablet, it can be had for free under a Creative Commons license.
22 comments|27 people found this helpful. Was this review helpful to you?YesNoReport abuse
on August 18, 2014
This has been an amazing book. It should have been the first thing I ever read on Linux. You might think that it's a specialist book of some kind - after all, it is only about the command line. But the command line is where it's at and the author doesn't assume you know anything about Linux. It's actually a complete introduction to Linux and at each step of the way you have a new skill you can start to apply or just something to screw around with on your computer. I mean, there's nothing in Linux that can't be done on the command line. Graphical user interfaces are just a pretty presentation of what's going on underneath. Some people might grumble at "having to learn the command line" but honestly it feels very powerful once you get the handle on it (not as hard as you'd think) and I think linux actually makes doing stuff in the terminal much more fun, intersting, and powerful than in Windows or OSX.

It starts out with navigating folders and files, copying and what-not like you could do through menus and right clicking on a GUI. Then it teaches you some cool tricks you can only do in the command line (and aren't that difficult) like making a folder for each of the letters A-Z (it happens to be sudo mkdir {A..Z} so again, not as hard as you might think). Or maybe you want to find a folder on your computer whose third letter is either a p or a q - you can't quite remember. There's a chapter on permissions which allows you to, say, make a file that is only accessible to users in the group "teachers," or maybe you just want to turn a text document (say you compiled something from C) into something your computer knows can be run. It tells you how to alter the command prompt to display pretty pictures or show a clock. There's a chapter on the very cool way Linux installs programs. It will even teach you some very basic computer programming concepts, enough to start customizing your linux, and how to install a program from source code (again, it's easier than you think).

So it really runs the gamut of all the basics of how Linux works and I think by actually typing in the commands yourself, you gain a much better understanding of the system and how it works. There are other books I'm reading about operating systems and not a lot of it really stuck or made sense until I started reading this book and messing with things myself through commands and editing files (and editing config files makes you feel like a computer wizard when you're starting out). And there's something about the way it's written, the language, the pacing, the occasionally joke that is just rare enough that it catches you off guard. My only criticism would be that the "Gentle Introduction to Vim" could have been a little more gentle. Perhaps by spacing it out over a couple of chapters to let it sink in rather than trying to remember all of the keyboard shortcuts that make vim what it is all in one chapter. But it's a minor point compared to how much I feel like I've learned reading this book.
0Comment|10 people found this helpful. Was this review helpful to you?YesNoReport abuse
on May 8, 2012
People, and by "people" I mean "code monkeys," are endlessly going on about how much more user-friendly Linux is, than Windows. "Learning Code is easy," they say. "Just take a weekend with a code book and learn it!" they say. "Well, I am happy to report, "The Linux Command Line: A Complete Introduction" by William E. Shotts Jr. is such a book.

No, a weekend with this book will not help you code in R, Python, Perl, Ruby, PHP, or even iOS. What this book does is better, at a fundamental level. This book shows the reader the AWESOME functionality of their computer using nothing more than the keyboard. A weekend with this book will improve your computing skills, even when on a non-Linux machine. (if you are into that sort of thing) However, once you are familiar with the lessons taught in this book, learning to code will be infinitely easier.

When I was a kid, maybe 9 or 10, my parents bought me my very first computer which, I believe, came with a BASIC programming manual. (Why is everyone laughing? Yes, my first computer was a PC.) I devoured the book. It was a page-turner. I could not put it down. Ever since, any time I read a "computer" book, I try to reclaim a bit of that 9 year-old self, alone with my computer and that book every waking moment I could, making my computer do stuff. Mr. Shotts Jr.'s book does a little of that.

"Who is this book for?" you ask.

"Do you have Linux on your computer?" This book is for you.

"Are you thinking about getting Linux on your computer, and wonder 'What will Linux do for me?'" This book is for you.

"WHY DON'T YOU HAVE LINUX ON YOUR COMPUTER?" (That was one for the "code monkeys")
0Comment|14 people found this helpful. Was this review helpful to you?YesNoReport abuse
on March 19, 2012
Having a fairly decent command line knowledge, I didn't expect to learn much from this book. I was definitely surprised by how well this book was written. It is laid out in a simple, straight forward, and easy to understand way.
Many of the O'Reilly books I have, or have read, always make me feel like I don't have enough initial knowledge to understand the basics. Then when I finally do grasp the basics, I feel like they leave me hanging on advanced concepts. Often they feel like a college level teacher teaching you, and if you don't get it, they move on. The Linux Command Line is definitely the opposite of this, and reading through it made me feel as if a friend were helping me understand each command. The language used made this much more pleasurable to read than any other book of the same subjects. This book always helps you feel comfortable with a program or concept before moving on, much like a tutor instead of a stern instructor.
This has become my new go to book for Linux command line, and scripting. It has been heavily borrowed at work, and a second copy will soon be ordered so I can have it all to myself.
0Comment|9 people found this helpful. Was this review helpful to you?YesNoReport abuse
on February 15, 2012
I'm a big fan of command line interfaces; they may be more difficult to work out than WIMP interfaces but they are considerably more powerful. However I'm not such a fan of The Linux Command Line: A Complete Introduction. Yes it's a pretty reasonable introduction to the command line interface but I found enough irritations in it to put me off. Let's start off on a positive note; coverage is good. The basics of file and system manipulation, environment tools and other tasks are all covered. However the coverage is somewhat variable. In some cases a command is introduced in a nicely tabulated format along with the frequently used flags and options but in other cases the pertinent options are buried in a screed of text which isn't nearly as useful. Obviously some of the chapters will be more useful than others. 'Manipulating files and directories', 'Redirection', 'Permissions' (though the author insists on using some of his own terminology instead of the standard *NIX/linux terminology when discussing file permissions which is quite likely to cause confusion), 'Processes', 'A gentle introduction to Vi', 'Networking', 'Searching for files', 'Archiving and backup', 'Regular expressions' and 'Compiling programs' are all essential reading. Other chapters are probably less useful; 'Package management', 'Storage media', 'Formatting output' and 'Printing' are either largely handled automagically or more efficiently managed via a graphical interface on any reasonably modern linux distribution.

My main problem with the book though is the fact that the final roughly 20% of the book is given over to writing shell scripts when other commands or tools have been glossed over as they are out of the scope of the book or have other books written on them (e.g. awk). This is fair enough when you are writing an introduction to a command line but don't then claim that your introduction is complete and spend a large chunk of the book covering something that is really outside the scope of a command line introduction! Personally I would have preferred this space to be given over to a more in depth appraisal of some of the command line essentials. For example Vi could easily stand another chapter.

If you're a complete linux command line neophyte you may find the book useful but if you've spent any time using it then you may well find it covers no new ground and may well be downright frustrating.
66 comments|57 people found this helpful. Was this review helpful to you?YesNoReport abuse
on February 10, 2014
It's a great tool for those who need to learn about Linux ASAP. My unorthodox approach was to study/analyze a rather involved 21 page bash script I had been given. To do so, I employ three tools: this book, the free pdf version of this book (at sourceforge), and an on-line A-Z Index of bash commands (at ss64). Why both hard and soft copies you might ask; I use the pdf to search the book. And I use the A-Z Index because it describes the commands in greater depth. As I read thru the book, starting at chapter 1 of course, I keep an eye on the script making notations as I progress. I figure a week ought to do it. Much faster than taking a college course. I won't be an expert but I will have acquired enough knowledge to be comfortable working with Linux. So go for it, cheaper than college.
0Comment|6 people found this helpful. Was this review helpful to you?YesNoReport abuse
on March 16, 2014
Great introduction to the Linux o/s. Bought this to help me learn more about using the Raspberry Pi and Arduino. So far, I've learned a ton from this that was glossed over on online forums and tube searches. More useful than any college text I've ever had, and doesn't double as a sleep aid.
0Comment|5 people found this helpful. Was this review helpful to you?YesNoReport abuse