Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

The Linux Command Line

A Complete Introduction

by William Shotts

The Linux Command Line

Subscribe to new books via telegram channel

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell (or command line). Along the way you'll learn the timeless skills handed down by generations of experienced, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more.

In addition to that practical knowledge, author William Shotts reveals the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from Unix supercomputers of yore.

As you make your way through the book's short, easily-digestible chapters, you'll learn how to:
- Create and delete files, directories, and symlinks
- Administer your system, including networking, package installation, and process management
- Use standard input and output, redirection, and pipelines
- Edit files with Vi, the world's most popular text editor
- Write shell scripts to automate common or boring tasks
- Slice and dice text files with cut, paste, grep, patch, and sed

Once you overcome your initial "shell shock," you'll find that the command line is a natural and expressive way to communicate with your computer. Just don't be surprised if your mouse starts to gather dust.

This open book is licensed under a Creative Commons License (CC BY-NC-ND). You can download The Linux Command Line ebook for free in PDF format (2.2 MB).

Table of Contents

Part 1
Learning the Shell
Chapter 1
What Is the Shell?
Chapter 2
Chapter 3
Exploring the System
Chapter 4
Manipulating Files and Directories
Chapter 5
Working with Commands
Chapter 6
Chapter 7
Seeing the World as the Shell Sees It
Chapter 8
Advanced Keyboard Tricks
Chapter 9
Chapter 10
Part 2
Configuration and the Environment
Chapter 11
The Environment
Chapter 12
A Gentle Introduction to vi
Chapter 13
Customizing the Prompt
Part 3
Common Tasks and Essential Tools
Chapter 14
Package Management
Chapter 15
Storage Media
Chapter 16
Chapter 17
Searching for Files
Chapter 18
Archiving and Backup
Chapter 19
Regular Expressions
Chapter 20
Text Processing
Chapter 21
Formatting Output
Chapter 22
Chapter 23
Compiling Programs
Part 4
Writing Shell Scripts
Chapter 24
Writing Your First Script
Chapter 25
Starting a Project
Chapter 26
Top-Down Design
Chapter 27
Flow Control: Branching with if
Chapter 28
Reading Keyboard Input
Chapter 29
Flow Control: Looping with while / until
Chapter 30
Chapter 31
Flow Control: Branching with case
Chapter 32
Positional Parameters
Chapter 33
Flow Control: Looping with for
Chapter 34
Strings and Numbers
Chapter 35
Chapter 36

Book Details

The Linux Command Line
Computer Science
No Starch Press
ISBN13 Digital
ISBN10 Digital
PDF Size
2.2 MB

Book Hashtags

Reviews / Comments

- Best book !!!

Related Books

Linux Command Line for You and Me
The command line is a text interface for your computer. It's a program that takes in commands, which it passes on to the computer's operating system to run. Linux command line for you and me is a open book for newcomers to command line environment....
The Linux Commands Handbook
The Linux Commands Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. The author find this approach gives a well-rounded overview. This book does not try to cover everything under the sun related to Linux and its commands. It focuses on the small core commands that you will use the 80% or 90% of the time, trying to sim...
Linux commands Notes for Professionals
The Linux Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow....
Data Science at the Command Line
This thoroughly revised guide demonstrates how the flexibility of the command line can help you become a more efficient and productive data scientist. You'll learn how to combine small yet powerful command-line tools to quickly obtain, scrub, explore, and model your data. To get you started, author Jeroen Janssens provides a Docker image packe...
Bioinformatics for Evolutionary Biologists
This self-contained textbook covers fundamental aspects of sequence analysis in evolutionary biology, including sequence alignment, phylogeny reconstruction, and coalescent simulation. It addresses these aspects through a series of over 400 computer problems, ranging from elementary to research level to enable learning by doing. Students solve the ...
Linux Appliance Design
Modern appliances are complex machines with processors, operating systems, and application software. While there are books that will tell you how to run Linux on embedded hardware, and books on how to build a Linux application, Linux Appliance Design is the first book to demonstrate how to merge the two and create a Linux appliance. You'll see...