nexusstc/The Linux Command Line, 2nd Edition: A Complete Introduction/314a0280bc10c5c0d45be132de172677.pdf
The Linux Command Line: A Complete Introduction (Second Edition) 🔍
William E. Jr. Shotts
No Starch Press, Incorporated, 2nd edition, Erscheinungsort nicht ermittelbar, 2019
English [en] · PDF · 5.2MB · 2019 · 📘 Book (non-fiction) · 🚀/lgli/lgrs/nexusstc/zlib · Save
description
You've experienced the shiny, point-and-click surface of your Linux computer—now dive below and explore its depths with the power of the command line.
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.
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.
Alternative filename
lgli/The Linux Command Line_ A Complete Introdu - William Shotts, 2nd.pdf
Alternative filename
lgrsnf/The Linux Command Line_ A Complete Introdu - William Shotts, 2nd.pdf
Alternative filename
zlib/Engineering/Computer Technology/William Shotts/The Linux Command Line: A Complete Introduction (Second Edition)_21381442.pdf
Alternative title
Командная строка Linux: полное руководство: бестселлер: [12+]
Alternative title
The Linux Command Line, 2nd Edition: A Complete Introduction
Alternative title
Командная строка Linux: полное руководство: [16+]
Alternative author
Уильям Шоттс; [перевел с английского А. Киселев]
Alternative author
Уильям Шоттс; перевод с английского А. Киселев
Alternative author
William E. Shotts, Jr.
Alternative author
Shotts, William
Alternative author
Шоттс, Уильям
Alternative publisher
Питер
Alternative edition
Бестселлер, Рекомендовано Linux Foundation, Серия "Для профессионалов", Санкт-Петербург [и др.], Russia, 2019
Alternative edition
Серия "Для профессионалов", Бестселлер, 2-е междунар. изд., Санкт-Петербург [и др.], Russia, 2020
Alternative edition
Penguin Random House LLC (Publisher Services), San Francisco, 2012
Alternative edition
Для профессионалов, Санкт-Петербург [и др.], Russia, 2017
Alternative edition
ITPro collection, San Francisco, Calif, ©2012
Alternative edition
2nd Edition, San Francisco, Mar 07, 2019
Alternative edition
United States, United States of America
Alternative edition
San Francisco, California, 2011
Alternative edition
Illustrated, 2019-03-07
Alternative edition
1, PT, 2012
metadata comments
{"edition":"2","isbns":["1593273894","1593279523","9781593273897","9781593279523"],"last_page":504,"publisher":"No Starch Press"}
metadata comments
Includes index.
metadata comments
Фактическая дата выхода в свет - 2016
Пер.: Shotts, William E. The Linux command line San Francisco : No starch press, cop. 2012 978-1593273897
Пер.: Shotts, William E. The Linux command line San Francisco : No starch press, cop. 2012 978-1593273897
metadata comments
РГБ
metadata comments
Russian State Library [rgb] MARC:
=001 008661855
=005 20161103153936.0
=008 161025s2017\\\\ru\||||\\\\\\\|||\|\rus|d
=017 \\ $a 16-81162 $b RuMoRKP
=020 \\ $a 978-5-496-02303-0 $c 1000 экз.
=040 \\ $a RuMoRGB $b rus $e rcr
=041 1\ $a rus $h eng
=044 \\ $a ru
=080 \\ $a 004.4
=084 \\ $a З973.2-018.2,07 $2 rubbk
=100 1\ $a Шоттс, Уильям
=245 00 $a Командная строка Linux $h [Текст] : $b полное руководство : бестселлер : [12+] $c Уильям Шоттс
=260 \\ $a Санкт-Петербург [и др.] $b Питер $c 2017
=300 \\ $a 479 с. $b ил., табл. $c 24 см
=336 \\ $a текст (text) $b txt $2 rdacontent
=337 \\ $a неопосредованный (unmediated) $b n $2 rdamedia
=338 \\ $a том (volume) $b nc $2 rdacarrier
=490 0\ $a Для профессионалов
=500 \\ $a Фактическая дата выхода в свет - 2016
=534 \\ $p Пер.: $a Shotts, William E. $t The Linux command line $b San Francisco : No starch press, cop. 2012 $z 978-1593273897
=650 \7 $a Вычислительная техника -- Вычислительные машины электронные цифровые -- Программирование -- Операционные системы. Системное программирование -- Пособие для специалистов $2 rubbk
=650 \7 $a LINUX, операционная система $0 RU\NLR\AUTH\66642164 $2 nlr_sh
=852 \\ $a РГБ $b FB $j 3 16-34/147 $x 90
=001 008661855
=005 20161103153936.0
=008 161025s2017\\\\ru\||||\\\\\\\|||\|\rus|d
=017 \\ $a 16-81162 $b RuMoRKP
=020 \\ $a 978-5-496-02303-0 $c 1000 экз.
=040 \\ $a RuMoRGB $b rus $e rcr
=041 1\ $a rus $h eng
=044 \\ $a ru
=080 \\ $a 004.4
=084 \\ $a З973.2-018.2,07 $2 rubbk
=100 1\ $a Шоттс, Уильям
=245 00 $a Командная строка Linux $h [Текст] : $b полное руководство : бестселлер : [12+] $c Уильям Шоттс
=260 \\ $a Санкт-Петербург [и др.] $b Питер $c 2017
=300 \\ $a 479 с. $b ил., табл. $c 24 см
=336 \\ $a текст (text) $b txt $2 rdacontent
=337 \\ $a неопосредованный (unmediated) $b n $2 rdamedia
=338 \\ $a том (volume) $b nc $2 rdacarrier
=490 0\ $a Для профессионалов
=500 \\ $a Фактическая дата выхода в свет - 2016
=534 \\ $p Пер.: $a Shotts, William E. $t The Linux command line $b San Francisco : No starch press, cop. 2012 $z 978-1593273897
=650 \7 $a Вычислительная техника -- Вычислительные машины электронные цифровые -- Программирование -- Операционные системы. Системное программирование -- Пособие для специалистов $2 rubbk
=650 \7 $a LINUX, операционная система $0 RU\NLR\AUTH\66642164 $2 nlr_sh
=852 \\ $a РГБ $b FB $j 3 16-34/147 $x 90
metadata comments
Пер.: Shotts, William E. The Linux command line 978-1-593273897
metadata comments
Russian State Library [rgb] MARC:
=001 009913188
=005 20190314160746.0
=008 190311s2019\\\\ru\\\\\\\\\\\\000\|\rus\d
=017 \\ $a КН-П-19-016061 $b RuMoRKP
=020 \\ $a 978-5-4461-1169-5
=040 \\ $a RuMoRGB $b rus $e rcr
=041 1\ $a rus $h eng
=044 \\ $a ru
=084 \\ $a З973.2-018.2,07 $2 rubbk
=100 1\ $a Шоттс, Уильям
=245 00 $a Командная строка Linux $h [Текст] : $b полное руководство: [16+] $c Уильям Шоттс ; [перевел с английского А. Киселев]
=260 \\ $a Санкт-Петербург [и др.] $b Питер $c 2019
=300 \\ $a 479 с. $b табл. $c 24 см
=336 \\ $a текст (text) $b txt $2 rdacontent
=337 \\ $a неопосредованный (unmediated) $b n $2 rdamedia
=338 \\ $a том (volume) $b nc $2 rdacarrier
=490 0\ $a Бестселлер
=490 0\ $a Рекомендовано Linux Foundation
=490 0\ $a Серия "Для профессионалов"
=534 \\ $p Пер.: $a Shotts, William E. $t The Linux command line $z 978-1-593273897
=650 \7 $a Вычислительная техника -- Вычислительные машины электронные цифровые -- Программирование -- Операционные системы. Системное программирование -- Пособие для специалистов $2 rubbk
=653 \\ $a LINUX, операционная система
=852 \\ $a РГБ $b FB $j 3 19-11/53 $x 90
=852 \\ $a РГБ $b FB $x 80
=001 009913188
=005 20190314160746.0
=008 190311s2019\\\\ru\\\\\\\\\\\\000\|\rus\d
=017 \\ $a КН-П-19-016061 $b RuMoRKP
=020 \\ $a 978-5-4461-1169-5
=040 \\ $a RuMoRGB $b rus $e rcr
=041 1\ $a rus $h eng
=044 \\ $a ru
=084 \\ $a З973.2-018.2,07 $2 rubbk
=100 1\ $a Шоттс, Уильям
=245 00 $a Командная строка Linux $h [Текст] : $b полное руководство: [16+] $c Уильям Шоттс ; [перевел с английского А. Киселев]
=260 \\ $a Санкт-Петербург [и др.] $b Питер $c 2019
=300 \\ $a 479 с. $b табл. $c 24 см
=336 \\ $a текст (text) $b txt $2 rdacontent
=337 \\ $a неопосредованный (unmediated) $b n $2 rdamedia
=338 \\ $a том (volume) $b nc $2 rdacarrier
=490 0\ $a Бестселлер
=490 0\ $a Рекомендовано Linux Foundation
=490 0\ $a Серия "Для профессионалов"
=534 \\ $p Пер.: $a Shotts, William E. $t The Linux command line $z 978-1-593273897
=650 \7 $a Вычислительная техника -- Вычислительные машины электронные цифровые -- Программирование -- Операционные системы. Системное программирование -- Пособие для специалистов $2 rubbk
=653 \\ $a LINUX, операционная система
=852 \\ $a РГБ $b FB $j 3 19-11/53 $x 90
=852 \\ $a РГБ $b FB $x 80
metadata comments
Фактическая дата выхода в свет - 2019
Пер.: Shotts, William The Linux command line 2nd ed. 978-1593279523
Пер.: Shotts, William The Linux command line 2nd ed. 978-1593279523
metadata comments
Russian State Library [rgb] MARC:
=001 010091701
=005 20190924105931.0
=008 190918s2020\\\\ru\\\\\\\\\\\\000\|\rus\d
=017 \\ $a КН-П-19-068937 $b RuMoRKP
=020 \\ $a 978-5-4461-1430-6 $c 1200 экз.
=040 \\ $a RuMoRGB $b rus $e rcr
=041 1\ $a rus $h eng
=044 \\ $a ru
=084 \\ $a З973.2-018.2,07 $2 rubbk
=100 1\ $a Шоттс, Уильям
=245 00 $a Командная строка Linux : $b полное руководство: 16+ $c Уильям Шоттс ; перевод с английского А. Киселев
=250 \\ $a 2-е междунар. изд.
=260 \\ $a Санкт-Петербург [и др.] $b Питер $c 2020
=300 \\ $a 543 с. $b табл. $c 24 см
=336 \\ $a Текст (визуальный)
=337 \\ $a непосредственный
=490 0\ $a Серия "Для профессионалов"
=490 0\ $a Бестселлер
=500 \\ $a Фактическая дата выхода в свет - 2019
=534 \\ $p Пер.: $a Shotts, William $t The Linux command line $b 2nd ed. $z 978-1593279523
=650 \7 $a Техника. Технические науки -- Энергетика. Радиоэлектроника -- Радиоэлектроника -- Вычислительная техника -- Вычислительные машины электронные цифровые -- Программирование -- Операционные системы. Системное программирование -- Пособие для специалистов $2 rubbk
=852 \\ $a РГБ $b FB $j 3 19-51/104 $x 90
=852 \\ $a РГБ $b FB $j 3 19-52/76 $x 90
=001 010091701
=005 20190924105931.0
=008 190918s2020\\\\ru\\\\\\\\\\\\000\|\rus\d
=017 \\ $a КН-П-19-068937 $b RuMoRKP
=020 \\ $a 978-5-4461-1430-6 $c 1200 экз.
=040 \\ $a RuMoRGB $b rus $e rcr
=041 1\ $a rus $h eng
=044 \\ $a ru
=084 \\ $a З973.2-018.2,07 $2 rubbk
=100 1\ $a Шоттс, Уильям
=245 00 $a Командная строка Linux : $b полное руководство: 16+ $c Уильям Шоттс ; перевод с английского А. Киселев
=250 \\ $a 2-е междунар. изд.
=260 \\ $a Санкт-Петербург [и др.] $b Питер $c 2020
=300 \\ $a 543 с. $b табл. $c 24 см
=336 \\ $a Текст (визуальный)
=337 \\ $a непосредственный
=490 0\ $a Серия "Для профессионалов"
=490 0\ $a Бестселлер
=500 \\ $a Фактическая дата выхода в свет - 2019
=534 \\ $p Пер.: $a Shotts, William $t The Linux command line $b 2nd ed. $z 978-1593279523
=650 \7 $a Техника. Технические науки -- Энергетика. Радиоэлектроника -- Радиоэлектроника -- Вычислительная техника -- Вычислительные машины электронные цифровые -- Программирование -- Операционные системы. Системное программирование -- Пособие для специалистов $2 rubbk
=852 \\ $a РГБ $b FB $j 3 19-51/104 $x 90
=852 \\ $a РГБ $b FB $j 3 19-52/76 $x 90
Alternative description
Title
Copyright
About the Author
About the Technical Reviewer
Brief Contents
Contents in Detail
Acknowledgments
First Edition
Second Edition
Introduction
Why Use the Command Line?
What This Book Is About
Who Should Read This Book
What’s in This Book
How to Read This Book
What’s New in the Second Edition
Your Feedback Is Needed!
Part I: Learning the Shell
1. What Is the Shell?
Terminal Emulators
Making Your First Keystrokes
Try Some Simple Commands
Ending a Terminal Session
Summing Up
2. Navigation
Understanding the File System Tree
The Current Working Directory
Listing the Contents of a Directory
Changing the Current Working Directory
Summing Up
3. Exploring the System
More Fun with ls
Determining a File’s Type with file
Viewing File Contents with less
Taking a Guided Tour
Symbolic Links
Hard Links
Summing Up
4. Manipulating Files and Directories
Wildcards
mkdir—Create Directories
cp—Copy Files and Directories
mv—Move and Rename Files
rm—Remove Files and Directories
ln—Create Links
Building a Playground
Summing Up
5. Working With Commands
What Exactly Are Commands?
Identifying Commands
Getting a Command’s Documentation
Creating Our Own Commands with alias
Summing Up
6. Redirection
Standard Input, Output, and Error
Redirecting Standard Output
Redirecting Standard Error
Redirecting Standard Input
Pipelines
Summing Up
7. Seeing the World as the Shell Sees It
Expansion
Quoting
Summing Up
8. Advanced Keyboard Tricks
Command Line Editing
Completion
Using History
Summing Up
9. Permissions
Owners, Group Members, and Everybody Else
Reading, Writing, and Executing
Changing Identities
Exercising Our Privileges
Changing Your Password
Summing Up
10. Processes
How a Process Works
Viewing Processes
Controlling Processes
Signals
Shutting Down the System
More Process-Related Commands
Summing Up
Part II: Configuration and the Environment
11. The Environment
What Is Stored in the Environment?
How Is the Environment Established?
Modifying the Environment
Summing Up
12. A Gentle Introduction to vi
Why We Should Learn vi
A Little Background
Starting and Stopping vi
Editing Modes
Moving the Cursor Around
Basic Editing
Search-and-Replace
Editing Multiple Files
Saving Our Work
Summing Up
13. Customizing the Prompt
Anatomy of a Prompt
Trying Some Alternative Prompt Designs
Adding Color
Moving the Cursor
Saving the Prompt
Summing Up
Part III: Common Tasks and Essential Tools
14. Package Management
Packaging Systems
How a Package System Works
Common Package Management Tasks
Summing Up
15. Storage Media
Mounting and Unmounting Storage Devices
Creating New File Systems
Testing and Repairing File Systems
Moving Data Directly to and from Devices
Writing CD-ROM Images
Summing Up
Extra Credit
16. Networking
Examining and Monitoring a Network
Transporting Files over a Network
Secure Communication with Remote Hosts
Summing Up
17. Searching for Files
locate—Find Files the Easy Way
find—Find Files the Hard Way
Summing Up
18. Archiving and Backup
Compressing Files
Archiving Files
Synchronizing Files and Directories
Summing Up
19. Regular Expressions
What Are Regular Expressions?
grep
Metacharacters and Literals
The Any Character
Anchors
Bracket Expressions and Character Classes
POSIX Character Classes
POSIX Basic vs. Extended Regular Expressions
Alternation
Quantifiers
Putting Regular Expressions to Work
Summing Up
20. Text Processing
Applications of Text
Revisiting Some Old Friends
Slicing and Dicing
Comparing Text
Editing on the Fly
Summing Up
Extra Credit
21. Formatting Output
Simple Formatting Tools
Document Formatting Systems
Summing Up
22. Printing
A Brief History of Printing
Printing with Linux
Preparing Files for Printing
Sending a Print Job to a Printer
Monitoring and Controlling Print Jobs
Summing Up
23. Compiling Programs
What Is Compiling?
Compiling a C Program
Summing Up
Part IV: Writing Shell Scripts
24. Writing Your First Script
What Are Shell Scripts?
How to Write a Shell Script
More Formatting Tricks
Summing Up
25. Starting a Project
First Stage: Minimal Document
Second Stage: Adding a Little Data
Variables and Constants
Here Documents
Summing Up
26. Top-Down Design
Shell Functions
Local Variables
Keep Scripts Running
Summing Up
27. Flow Control: Branching with if
if Statements
Exit Status
Using test
A More Modern Version of test
(( ))—Designed for Integers
Combining Expressions
Control Operators: Another Way to Branch
Summing Up
28. Reading Keyboard Input
read—Read Values from Standard Input
Validating Input
Menus
Summing Up
Extra Credit
29. Flow Control: Looping with while/until
Looping
Breaking Out of a Loop
Reading Files with Loops
Summing Up
30. Troubleshooting
Syntactic Errors
Logical Errors
Testing
Debugging
Summing Up
31. Flow Control: Branching with case
The case Command
Summing Up
32. Positional Parameters
Accessing the Command Line
Handling Positional Parameters en Masse
A More Complete Application
Summing Up
33. Flow Control: Looping with for
for: Traditional Shell Form
for: C Language Form
Summing Up
34. Strings and Numbers
Parameter Expansion
Arithmetic Evaluation and Expansion
bc—An Arbitrary Precision Calculator Language
Summing Up
Extra Credit
35. Arrays
What Are Arrays?
Creating an Array
Assigning Values to an Array
Accessing Array Elements
Array Operations
Associative Arrays
Summing Up
36. Exotica
Group Commands and Subshells
Traps
Asynchronous Execution with wait
Named Pipes
Summing Up
Index
Copyright
About the Author
About the Technical Reviewer
Brief Contents
Contents in Detail
Acknowledgments
First Edition
Second Edition
Introduction
Why Use the Command Line?
What This Book Is About
Who Should Read This Book
What’s in This Book
How to Read This Book
What’s New in the Second Edition
Your Feedback Is Needed!
Part I: Learning the Shell
1. What Is the Shell?
Terminal Emulators
Making Your First Keystrokes
Try Some Simple Commands
Ending a Terminal Session
Summing Up
2. Navigation
Understanding the File System Tree
The Current Working Directory
Listing the Contents of a Directory
Changing the Current Working Directory
Summing Up
3. Exploring the System
More Fun with ls
Determining a File’s Type with file
Viewing File Contents with less
Taking a Guided Tour
Symbolic Links
Hard Links
Summing Up
4. Manipulating Files and Directories
Wildcards
mkdir—Create Directories
cp—Copy Files and Directories
mv—Move and Rename Files
rm—Remove Files and Directories
ln—Create Links
Building a Playground
Summing Up
5. Working With Commands
What Exactly Are Commands?
Identifying Commands
Getting a Command’s Documentation
Creating Our Own Commands with alias
Summing Up
6. Redirection
Standard Input, Output, and Error
Redirecting Standard Output
Redirecting Standard Error
Redirecting Standard Input
Pipelines
Summing Up
7. Seeing the World as the Shell Sees It
Expansion
Quoting
Summing Up
8. Advanced Keyboard Tricks
Command Line Editing
Completion
Using History
Summing Up
9. Permissions
Owners, Group Members, and Everybody Else
Reading, Writing, and Executing
Changing Identities
Exercising Our Privileges
Changing Your Password
Summing Up
10. Processes
How a Process Works
Viewing Processes
Controlling Processes
Signals
Shutting Down the System
More Process-Related Commands
Summing Up
Part II: Configuration and the Environment
11. The Environment
What Is Stored in the Environment?
How Is the Environment Established?
Modifying the Environment
Summing Up
12. A Gentle Introduction to vi
Why We Should Learn vi
A Little Background
Starting and Stopping vi
Editing Modes
Moving the Cursor Around
Basic Editing
Search-and-Replace
Editing Multiple Files
Saving Our Work
Summing Up
13. Customizing the Prompt
Anatomy of a Prompt
Trying Some Alternative Prompt Designs
Adding Color
Moving the Cursor
Saving the Prompt
Summing Up
Part III: Common Tasks and Essential Tools
14. Package Management
Packaging Systems
How a Package System Works
Common Package Management Tasks
Summing Up
15. Storage Media
Mounting and Unmounting Storage Devices
Creating New File Systems
Testing and Repairing File Systems
Moving Data Directly to and from Devices
Writing CD-ROM Images
Summing Up
Extra Credit
16. Networking
Examining and Monitoring a Network
Transporting Files over a Network
Secure Communication with Remote Hosts
Summing Up
17. Searching for Files
locate—Find Files the Easy Way
find—Find Files the Hard Way
Summing Up
18. Archiving and Backup
Compressing Files
Archiving Files
Synchronizing Files and Directories
Summing Up
19. Regular Expressions
What Are Regular Expressions?
grep
Metacharacters and Literals
The Any Character
Anchors
Bracket Expressions and Character Classes
POSIX Character Classes
POSIX Basic vs. Extended Regular Expressions
Alternation
Quantifiers
Putting Regular Expressions to Work
Summing Up
20. Text Processing
Applications of Text
Revisiting Some Old Friends
Slicing and Dicing
Comparing Text
Editing on the Fly
Summing Up
Extra Credit
21. Formatting Output
Simple Formatting Tools
Document Formatting Systems
Summing Up
22. Printing
A Brief History of Printing
Printing with Linux
Preparing Files for Printing
Sending a Print Job to a Printer
Monitoring and Controlling Print Jobs
Summing Up
23. Compiling Programs
What Is Compiling?
Compiling a C Program
Summing Up
Part IV: Writing Shell Scripts
24. Writing Your First Script
What Are Shell Scripts?
How to Write a Shell Script
More Formatting Tricks
Summing Up
25. Starting a Project
First Stage: Minimal Document
Second Stage: Adding a Little Data
Variables and Constants
Here Documents
Summing Up
26. Top-Down Design
Shell Functions
Local Variables
Keep Scripts Running
Summing Up
27. Flow Control: Branching with if
if Statements
Exit Status
Using test
A More Modern Version of test
(( ))—Designed for Integers
Combining Expressions
Control Operators: Another Way to Branch
Summing Up
28. Reading Keyboard Input
read—Read Values from Standard Input
Validating Input
Menus
Summing Up
Extra Credit
29. Flow Control: Looping with while/until
Looping
Breaking Out of a Loop
Reading Files with Loops
Summing Up
30. Troubleshooting
Syntactic Errors
Logical Errors
Testing
Debugging
Summing Up
31. Flow Control: Branching with case
The case Command
Summing Up
32. Positional Parameters
Accessing the Command Line
Handling Positional Parameters en Masse
A More Complete Application
Summing Up
33. Flow Control: Looping with for
for: Traditional Shell Form
for: C Language Form
Summing Up
34. Strings and Numbers
Parameter Expansion
Arithmetic Evaluation and Expansion
bc—An Arbitrary Precision Calculator Language
Summing Up
Extra Credit
35. Arrays
What Are Arrays?
Creating an Array
Assigning Values to an Array
Accessing Array Elements
Array Operations
Associative Arrays
Summing Up
36. Exotica
Group Commands and Subshells
Traps
Asynchronous Execution with wait
Named Pipes
Summing Up
Index
Alternative description
It's Been Said That Graphical User Interfaces Make Easy Tasks Easy, While Command-line Interfaces Make Difficult Tasks Possible. The Linux Command Line Shows Readers How To Control Their Computers And Accomplish These Difficult Tasks Using Bash, The Linux Shell. Designed For Command-line Users Of All Levels, The Book Takes Readers From The First Keystrokes To The Process Of Writing Powerful Programs In The Command Line's Native Language. Along The Way, The Author Explores Basic Commands And File System Navigation, Os Configuration, Classic Command-line Programs, Shell Programming, And Much More, Making The Linux Command Line An Essential Guide For All Linux Users Who Wish To Exploit The Full Power Of Their Systems-- Learning The Shell -- What Is The Shell? -- Navigation -- Exploring The System -- Manipulating Files And Directories -- Working With Commands -- Redirection -- Seeing The World As The Shell Sees It -- Advanced Keyboard Tricks -- Permissions -- Processes -- Configuration And The Environment -- The Environment -- A Gentle Introduction To Vi -- Customizing The Prompt -- Common Tasks And Essential Tools -- Package Management -- Storage Media -- Networking -- Searching For Files -- Archiving And Backup -- Regular Expressions -- Text Processing -- Formatting Output -- Printing -- Compiling Programs -- Writing Shell Scripts -- Writing Your First Script -- Starting A Project -- Top-down Design -- Flow Control: Brancing With If -- Reading Keyboard Input -- Flow Control: Looping With While And Until -- Troubleshooting -- Flow Control: Branching With Case -- Positional Parameters -- Flow Control: Looping With For -- Strings And Numbers -- Arrays -- Exotica. William E. Shotts, Jr. Includes Index.
Alternative description
You've experienced the shiny, point-and-click surface of your Linux computer -- now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell. Along the way you'll learn the timeless skills handed down by generations of gray-bearded, 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. - Publisher.
Alternative description
Learning the Shell
What Is the Shell?
Navigation
Exploring the System
Manipulating Files and Directories
Working with Commands
Redirection
Seeing the World as the Shell Sees It
Advanced Keyboard Tricks
Permissions
Processes
Configuration and the Environment
The Environment
A Gentle Introduction to vi
Customizing the Prompt
Common Tasks and Essential Tools
Package Management
Storage Media
Networking
Searching for Files
Archiving and Backup
Regular Expressions
Text Processing
Formatting Output
Printing
Compiling Programs
Writing Shell Scripts
Writing Your First Script
Starting a Project
Top-Down Design
Flow Control: Branching with if
Reading Keyboard Input
Flow Control: Looping with while and until
Troubleshooting
Flow Control: Branching with case
Positional Parameters
Flow Control: Looping with for
Strings and Numbers
Arrays
Exotica
What Is the Shell?
Navigation
Exploring the System
Manipulating Files and Directories
Working with Commands
Redirection
Seeing the World as the Shell Sees It
Advanced Keyboard Tricks
Permissions
Processes
Configuration and the Environment
The Environment
A Gentle Introduction to vi
Customizing the Prompt
Common Tasks and Essential Tools
Package Management
Storage Media
Networking
Searching for Files
Archiving and Backup
Regular Expressions
Text Processing
Formatting Output
Printing
Compiling Programs
Writing Shell Scripts
Writing Your First Script
Starting a Project
Top-Down Design
Flow Control: Branching with if
Reading Keyboard Input
Flow Control: Looping with while and until
Troubleshooting
Flow Control: Branching with case
Positional Parameters
Flow Control: Looping with for
Strings and Numbers
Arrays
Exotica
Alternative description
You've experienced the shiny, point-and-click surface of your Linux computer--now dive below and explore its depths with the power of the command line.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 ...
Available here:
(http://readmeaway.com/download?i=1593279523) readmeaway.com/download?i=1593279523
The Linux Command Line, 2nd Edition: A Complete Introduction PDF by William Shotts
Read The Linux Command Line, 2nd Edition: A Complete Introduction PDF from No Starch Press,William Shotts
Download William Shottss PDF E-book The Linux Command Line, 2nd Edition: A Complete Introduction
Available here:
(http://readmeaway.com/download?i=1593279523) readmeaway.com/download?i=1593279523
The Linux Command Line, 2nd Edition: A Complete Introduction PDF by William Shotts
Read The Linux Command Line, 2nd Edition: A Complete Introduction PDF from No Starch Press,William Shotts
Download William Shottss PDF E-book The Linux Command Line, 2nd Edition: A Complete Introduction
date open sourced
2022-04-21
🚀 Fast downloads
Become a member to support the long-term preservation of books, papers, and more. To show our gratitude for your support, you get fast downloads. ❤️
- Fast Partner Server #1 (recommended)
- Fast Partner Server #2 (recommended)
- Fast Partner Server #3 (recommended)
- Fast Partner Server #4 (recommended)
- Fast Partner Server #5 (recommended)
- Fast Partner Server #6 (recommended)
- Fast Partner Server #7
- Fast Partner Server #8
- Fast Partner Server #9
- Fast Partner Server #10
- Fast Partner Server #11
🐢 Slow downloads
From trusted partners. More information in the FAQ. (might require browser verification — unlimited downloads!)
- Slow Partner Server #1 (slightly faster but with waitlist)
- Slow Partner Server #2 (slightly faster but with waitlist)
- Slow Partner Server #3 (slightly faster but with waitlist)
- Slow Partner Server #4 (slightly faster but with waitlist)
- Slow Partner Server #5 (no waitlist, but can be very slow)
- Slow Partner Server #6 (no waitlist, but can be very slow)
- Slow Partner Server #7 (no waitlist, but can be very slow)
- Slow Partner Server #8 (no waitlist, but can be very slow)
- After downloading: Open in our viewer
All download options have the same file, and should be safe to use. That said, always be cautious when downloading files from the internet, especially from sites external to Anna’s Archive. For example, be sure to keep your devices updated.
External downloads
-
For large files, we recommend using a download manager to prevent interruptions.
Recommended download managers: Motrix -
You will need an ebook or PDF reader to open the file, depending on the file format.
Recommended ebook readers: Anna’s Archive online viewer, ReadEra, and Calibre -
Use online tools to convert between formats.
Recommended conversion tools: CloudConvert and PrintFriendly -
You can send both PDF and EPUB files to your Kindle or Kobo eReader.
Recommended tools: Amazon‘s “Send to Kindle” and djazz‘s “Send to Kobo/Kindle” -
Support authors and libraries
✍️ If you like this and can afford it, consider buying the original, or supporting the authors directly.
📚 If this is available at your local library, consider borrowing it for free there.
Total downloads:
A “file MD5” is a hash that gets computed from the file contents, and is reasonably unique based on that content. All shadow libraries that we have indexed on here primarily use MD5s to identify files.
A file might appear in multiple shadow libraries. For information about the various datasets that we have compiled, see the Datasets page.
For information about this particular file, check out its JSON file. Live/debug JSON version. Live/debug page.