- Paperback: 480 pages
- Publisher: No Starch Press; 1 edition (January 11, 2012)
- Language: English
- ISBN-10: 1593273894
- ISBN-13: 978-1593273897
- Product Dimensions: 4 x 1.1 x 9.3 inches
- Shipping Weight: 1.9 pounds (View shipping rates and policies)
- Average Customer Review: 308 customer reviews
Amazon Best Sellers Rank:
#33,979 in Books (See Top 100 in Books)
- #10 in Books > Computers & Technology > Operating Systems > Linux > Programming
- #11 in Books > Computers & Technology > Networking & Cloud Computing > Network Administration > Linux & UNIX Administration
- #14 in Books > Computers & Technology > Operating Systems > Linux > Networking & System Administration
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
The Linux Command Line: A Complete Introduction 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
Customers who bought this item also bought
From the Publisher
|The Linux Command Line||Wicked Cool Shell Scripts, 2nd Edition||How Linux Works, 2nd Edition||The Linux Programming Interface|
|Description:||A comprehensive introduction to the command line. From the first terminal commands to writing complete programs in Bash||101 useful, customizable, and fun Bash shell scripts for Linux, OS X, and UNIX systems||An in-depth guide to the inner workings of the Linux system||The definitive guide to system and network programing in C for Linux and UNIX. Filled with detailed descriptions and complete example programs. From the Linux man-pages maintainer|
|User Experience Level:||All levels||All levels||Intermediate||Experienced|
Praise for The Linux Command Line
"I can honestly say I have found THE beginner's guide to Linux."
"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."
"The most approachable tome on the subject."
"If you’re new to the command line there is definitely a lot that you can learn from this book."
"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
"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. It provides an excellent introduction to the command line that takes students from knowing nearly nothing to using impressively sophisticated commands."
Browse award-winning titles. See more
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
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!
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.
Ever wonder how people will post commands in forums to help you either download/upgrade/install/configure/whatever and they seem to have advanced Linux knowledge? Well, you can too with this book. I'm actually surprised how easy it is to pick up. Plus you'll actually feel a little bit like a hacking genius.