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.
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Dedication
- About the Author
- About the Technical Reviewer
- BRIEF CONTENTS
- CONTENTS IN DETAIL
- ACKNOWLEDGMENTS
- INTRODUCTION
- PART I: LEARNING THE SHELL
- 1 WHAT IS THE SHELL?
- 2 NAVIGATION
- 3 EXPLORING THE SYSTEM
- 4 MANIPULATING FILES AND DIRECTORIES
- 5 WORKING WITH COMMANDS
- 6 REDIRECTION
- 7 SEEING THE WORLD AS THE SHELL SEES IT
- 8 ADVANCED KEYBOARD TRICKS
- 9 PERMISSIONS
- 10 PROCESSES
- PART II: CONFIGURATION AND THE ENVIRONMENT
- 11 THE ENVIRONMENT
- 12 A GENTLE INTRODUCTION TO VI
- 13 CUSTOMIZING THE PROMPT
- PART III: COMMON TASKS AND ESSENTIAL TOOLS
- 14 PACKAGE MANAGEMENT
- 15 STORAGE MEDIA
- 16 NETWORKING
- 17 SEARCHING FOR FILES
- 18 ARCHIVING AND BACKUP
- 19 REGULAR EXPRESSIONS
- 20 TEXT PROCESSING
- 21 FORMATTING OUTPUT
- 22 PRINTING
- 23 COMPILING PROGRAMS
- PART IV: WRITING SHELL SCRIPTS
- 24 WRITING YOUR FIRST SCRIPT
- 25 STARTING A PROJECT
- 26 TOP-DOWN DESIGN
- 27 FLOW CONTROL: BRANCHING WITH IF
- 28 READING KEYBOARD INPUT
- 29 FLOW CONTROL: LOOPING WITH WHILE/UNTIL
- 30 TROUBLESHOOTING
- 31 FLOW CONTROL: BRANCHING WITH CASE
- 32 POSITIONAL PARAMETERS
- 33 FLOW CONTROL: LOOPING WITH FOR
- 34 STRINGS AND NUMBERS
- 35 ARRAYS
- 36 EXOTICA
- INDEX
Product information
- Title: The Linux Command Line, 2nd Edition
- Author(s):
- Release date: February 2019
- Publisher(s): No Starch Press
- ISBN: 9781593279523
You might also like
book
A Practical Guide to Linux Commands, Editors, and Shell Programming, Fourth Edition
The Most Useful Tutorial and Reference, with Hundreds of High-Quality Examples for Every Popular Linux Distribution …
book
Linux Basics for Hackers
If you’re getting started along the exciting path of hacking, cybersecurity, and pentesting, Linux Basics for …
book
The Linux Programming Interface
The Linux Programming Interface is the definitive guide to the Linux and UNIX programming interface—the interface …
book
Automate the Boring Stuff with Python, 2nd Edition
If you’ve ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how …