
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
The Linux Command Line: A Complete Introduction 1st Edition
- ISBN-109781593273897
- ISBN-13978-1593273897
- Edition1st
- Publication dateJanuary 17, 2012
- LanguageEnglish
- Dimensions8.5 x 1.09 x 11 inches
- Print length480 pages
There is a newer edition of this item:
Frequently purchased items with fast delivery
From the Publisher

'Excellent'
"This excellent Linux command line book is more than cubicle decoration, it's a secret superpower."
—Ken Hess, Red Hat
'Highly Effective'
"For those looking to master the Linux command line and get an essential understanding of the core Linux command-line tools, this book is a highly effective and useful guide."
—Ben Rothke, RSA Conference
'THE Beginner's Guide'
"I can honestly say I have found THE beginner's guide to Linux."
—Jayson Broughton, Linux Journal

About the Author
William Shotts has been a software professional and avid Linux user for more than 15 years. He has an extensive background in software development. He is also the creator of LinuxCommand.org, a Linux education and advocacy site featuring news, reviews, and extensive support for using the Linux command line.
Who Should Read This Book
This book is for new Linux users who have migrated from other platforms. Most likely you are a “power user” of some version of Microsoft Windows. Perhaps your boss has told you to administer a Linux server, or you’re entering the exciting new world of single board computers (SBC) such as the Raspberry Pi. You may just be a desktop user who is tired of all the security problems and wants to give Linux a try. That’s fine. All are welcome here.

About the Publisher
No Starch Press has published the finest in geek entertainment since 1994, creating both timely and timeless titles like Python Crash Course, Python for Kids, How Linux Works, and Hacking: The Art of Exploitation. An independent, San Francisco-based publishing company, No Starch Press focuses on a curated list of well-crafted books that make a difference. They publish on many topics, including computer programming, cybersecurity, operating systems, and LEGO. The titles have personality, the authors are passionate experts, and all the content goes through extensive editorial and technical reviews. Long known for its fun, fearless approach to technology, No Starch Press has earned wide support from STEM enthusiasts worldwide.
Editorial Reviews
Amazon.com Review
Praise for The Linux Command Line
"I can honestly say I have found THE beginner's guide to Linux."
—Linux Journal
"Anyone who reads this book and makes use of the examples provided will not be able to avoid becoming a Unix command line pro by the time they've hit the end of the book."
—ITworld
"The most approachable tome on the subject."
—Linux Magazine
"If you’re new to the command line there is definitely a lot that you can learn from this book."
—Ubuntu Musings
"This is exactly what a Linux beginner needs to get up to speed quickly. The book goes beyond simply walking through all of the command line utilities, and ventures into the realm of theory and how things work together."
—Nicholas C. Zakas, web software engineer and author
Review
—Computerworld
About the Author
Product details
- ASIN : 1593273894
- Publisher : No Starch Press, Incorporated; 1st edition (January 17, 2012)
- Language : English
- Paperback : 480 pages
- ISBN-10 : 9781593273897
- ISBN-13 : 978-1593273897
- Item Weight : 1.98 pounds
- Dimensions : 8.5 x 1.09 x 11 inches
- Best Sellers Rank: #592,995 in Books (See Top 100 in Books)
- #46 in Linux Programming
- #96 in Linux & UNIX Administration (Books)
- #134 in Linux Networking & System Administration
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book easy to use and informative. They say it provides a good foundation for learning Linux skills like bash scripting and the kernel. The book is considered a great value for the price, with clear language and examples that make it easier for them to understand. Many customers find it effective in teaching Linux command line concepts and operating systems effectively. However, opinions differ on the pacing - some find it fast and engaging, while others feel it's too slow.
AI-generated from the text of customer reviews
Customers find the book easy to use and a great reference for learning the proper commands to navigate around Linux. It provides enough detail on commands and ideas to feel comfortable, yet doesn't overwhelm with too many details. Readers describe it as an engaging, complete, and informative introductory text that has ever been written. They mention it's easier to use this book than Google.
"...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-..." Read more
"...Along the way, you will learn how the navigate and manipulate the terminal as well as learn how the terminal interacts with devices such as hard..." Read more
"...This is the most engaging, complete, and informative introductory text that has ever been written for the Linux command line...." Read more
"...It is well written, engaging for a technical text, and assumes no prior knowledge which if you've tried to learn Linux so far you know it's like..." Read more
Customers find the book's learning material engaging and useful. It provides a good foundation for learning advanced Linux skills like Bash scripting and the kernel. The stories and facts provide insightful context, keeping readers interested and productive at work. The topics complement each other in a way rarely seen in books of this type. Overall, it's a great refresher for those who have been away from the OS.
"...Topics are presented from the ground up and conveyed in conversational manner that truly captivates...." Read more
"...There are many hands-on exercises, which is the best way to learn. The book arrive in prime condition and very well wrapped. 10/10." Read more
"...This is the book to being more productive at office, understand what the heck is going on when you sit next to your senior developer who does all..." Read more
"...Even so, the author's never condescending and breaks all the information into easily digestible chunks...." Read more
Customers find the book helpful for learning and using Linux. It provides fast answers and commands for all users, including beginners. They describe it as a great introduction and general command line reference. The book makes Linux easy by breaking things down into simple steps.
"...shell scripting which is just as valuable because it allows me to manipulate the terminal...." Read more
"...This book would be great for anyone new to Linux or as a reference manual for the more experienced." Read more
"I love using this book to help me normalize the command line in Linux...." Read more
"...The book is great for comparing Linux to Mac OSX as long as you have a mac to checkout the differences between Unix which is compared heavily and..." Read more
Customers appreciate the book's value for money. They say it's worth purchasing and a great seller.
"...and want a better understanding, this is an excellent guide at a great price...." Read more
"...So go for it, cheaper than college." Read more
"...bought many Linux books here on Amazon and this is one of the best for the price. Even though it's a few years old, it's still relevant." Read more
"...Definitely worth purchase." Read more
Customers appreciate the book's language clarity. They find the lessons clear and concise, conveyed in a conversational manner that truly captivates them. The examples are great and the cover speaks volumes for them.
"...Topics are presented from the ground up and conveyed in conversational manner that truly captivates...." Read more
"...He's a clear and concise in how he approaches each lesson...." Read more
"...The tone is fairly conversational. It's very "Here, try this."..." Read more
"...Clear, concise, very well written. Very practical, I've been able to apply this book to a Liniux project of great importance to my company...." Read more
Customers find the book useful for learning how to operate a Linux system effectively. They say it's well-written and works with most Linux releases. The book explains how the shell works and is a good introduction to the Linux OS.
"...Line and read it every day and you will be proficient in operating any nix system effectively at least by the end of the month...." Read more
"...from my inexperienced point of view, is the fact that his examples worked perfectly and I didn't wreck my computer...." Read more
"...this particular book goes - it's very well written & works well with most releases of Linux ..." Read more
"very excellent for Linux command users and explains how does the shell works ." Read more
Customers have different views on the book's pacing. Some find it fast and easy to understand, with short chapters that progress naturally. They appreciate the time-saving features and mention it saves hours learning to properly use the command line. Others mention issues with the construction quality, binding, and overall quality.
"...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..." Read more
"...Good chapter progression etc. However, the physical back-binding is falling apart and the overall quality of the book itself is a bit..." Read more
"...if you are fairly comfortable in Linux Editor, think about the time saving features that go beyond the basic functionality that most of us do...." Read more
"...command line more and more now, and am beginning to see how it can be faster and more convenient for a lot of computing tasks...." Read more
Customers have mixed opinions about the author's style. Some find it helpful for an introduction to command line, with clear writing and no condescending tone. Others feel the book is too verbose and the syntax can be unintuitive.
"...Even so, the author's never condescending and breaks all the information into easily digestible chunks...." Read more
"...4 took 3 days because I'd never written bash scripts and the syntax can be unintuitive, like the difference between [] and [[]] or ${! versus ${#...." Read more
"...It is about "The Linux Command Line". The author presents his experience well and the writing is happy and complete...." Read more
"...The authors real world experience is clearly presented in a easy to read manner...." Read more
Reviews with images

Good book but its a fake!
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on August 18, 2014This 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.
- Reviewed in the United States on September 25, 2015First of all, I would like to say that I normally don't right reviews, and I'd rather just read what others have to say about a product. This time though,I felt like this product was more than deserving of a review because of the amount of knowledge I gained from it. When I began this book, I was barely able to navigate through a terminal let alone understand what I was doing. Now that I am almost done with this book, I have a much better understanding of how the terminal as well as Linux works! I have also learned some shell scripting which is just as valuable because it allows me to manipulate the terminal.
If you would like to look at the table of contents, you can view all of the stuff that you will learn. For the most part, the book starts out with the basics and works its way up to a level where you can start writing basic shell scripts. Along the way, you will learn how the navigate and manipulate the terminal as well as learn how the terminal interacts with devices such as hard drives and printers and how you can control those devices. That description is just the tip of the iceberg if you are a beginner to Linux.
I would recommend this book to anyone who is looking to build a better understanding of linux or the terminal! If you are having a hard time understanding how a terminal works, this book will help you find your way! It is a must read for any beginner who is trying to make a switch from Windows to Linux.
- Reviewed in the United States on May 3, 2015Back in 2014 I had a university requirement to earn my Linux+ before graduation. The amount of material covered in the official study guide seemed overwhelming, was just too bland, and expected a baseline of knowledge that I frankly did not have at the time. I was beginning to dread my approaching deadline and started to look for alternative learning materials. That's when I found this book.
This is the most engaging, complete, and informative introductory text that has ever been written for the Linux command line. Topics are presented from the ground up and conveyed in conversational manner that truly captivates. This book does NOT read like a dry textbook.
Oddly enough, another benefit is that the book does not have a list of topics that it MUST cover. Since the text has not been geared towards a particular exam, William E. Shotts, Jr. can address fundamental topics that are necessary to understand, but not explicitly covered in the Linux+ exam objectives. These extra topics are what will allow you to transition into the more advanced topics of the Linux+ without feeling overwhelmed.
I would recommend this to anyone who has ever shown an interest in Linux. It does not matter what age, it does not matter what background, this book can equip you with the tools necessary to dive head first into what will hopefully become your new lifelong obsession with the Linux command line.
- Reviewed in the United States on January 27, 2019I bought 3 books from Starch Press to jump into managing my Linux OS and THIS one has been the BEST one to help me start out. It is well written, engaging for a technical text, and assumes no prior knowledge which if you've tried to learn Linux so far you know it's like getting stuck at a brick wall of infinite text made of arcane advances. I would give 5 stars if the book had been in better condition but the content is excellent. The book came in with every other word highlighted and useless comments scribbled in every page. I am not a dainty steward of my books and I annotate, not even conservatively, but the prior owner of this book left no page untouched. That's just not a good way to study and I hope you treat your books nicely to share with others, especially a book as nice as this one.
- Reviewed in the United States on March 4, 2025Awesome book. Very well written. The author really know Linux in-depth and is able to explain many important topics in a easy to understand way. There are many hands-on exercises, which is the best way to learn. The book arrive in prime condition and very well wrapped. 10/10.
Top reviews from other countries
- AngeloReviewed in Canada on June 28, 2018
5.0 out of 5 stars A Great Addition to Your Reference Shelf
Great book, I haven't finished it through yet but so far it has been a great reference for command line.
-
JulienReviewed in France on September 8, 2019
5.0 out of 5 stars Très bonne introduction au terminal
The linux command line est plutôt exhaustif, et largement suffisant pour savoir utiliser régulièrement Bash et créer ses scripts.
-
ErnestinoReviewed in Italy on January 24, 2019
5.0 out of 5 stars Libro
Ottimo veloce e rapido
Consigliato
-
CHRISTIAN ALVES GONZALEZReviewed in Spain on January 14, 2019
5.0 out of 5 stars Excelente primera guia de referencia
Un trabajo excelente para entender como usar la linea de comandos de Linux, para cualquier tarea de manutención de servidores que sea necesaria y mucho mas.
Recomendado 100%!
- Harshit saxenaReviewed in India on June 6, 2017
5.0 out of 5 stars The Best introduction to the command line
The Book you should buy for linux command line interface. I want to understand the unix based system to be good at it , i am studying Hacking so i need to understand Kali linux so i just bought this book ," if you're new to the command line , there is definitely a lot that you can learn from this book .