Home Page Icon
Home Page
Table of Contents for
LPI Linux Essentials Study Guide
Close
LPI Linux Essentials Study Guide
by Christine Bresnahan, Richard Blum
LPI Linux Essentials Study Guide, 3rd Edition
Cover
Acknowledgments
About the Authors
Introduction
Assessment Test
Answers to Assessment Test
Chapter 1 Selecting an Operating System
What Is an OS?
Investigating User Interfaces
Where Does Linux Fit in the OS World?
What Is a Distribution?
Embedded Linux Systems
Linux in the Cloud
Summary
Exam Essentials
Review Questions
Chapter 2 Understanding Software Licensing
Investigating Software Licenses
Looking at the Free Software Foundation
Looking at the Open Source Initiative
Looking at the Creative Commons
Using Open Source Licenses
Summary
Exam Essentials
Review Questions
Chapter 3 Investigating Linux’s Principles and Philosophy
Linux Through the Ages
Using Open Source Software
Understanding OS Roles
Summary
Exam Essentials
Review Questions
Chapter 4 Using Common Linux Programs
Using a Linux Desktop Environment
Working with Productivity Software
Using Server Programs
Managing Programming Languages
Handling Software Packages
Summary
Exam Essentials
Review Questions
Chapter 5 Getting to Know the Command Line
Starting a Command Line
Running Programs
Using Shell Features
Getting Help Using Man Pages
Review Questions
Chapter 6 Managing Hardware
Learning About Your CPU
Identifying Motherboard Capabilities
Sizing Your Power Supply
Understanding Disk Issues
Managing Displays
Handling USB Devices
Managing Drivers
Summary
Exam Essentials
Review Questions
Chapter 7 Managing Files
Understanding Where Things Go
Exploring Files and Directories
Manipulating Files
Manipulating Directories
Summary
Exam Essentials
Review Questions
Chapter 8 Searching, Extracting, and Archiving Data
Using Regular Expressions
Searching For and Extracting Data
Redirecting Input and Output
Archiving Data
Summary
Exam Essentials
Review Questions
Chapter 9 Exploring Processes and Process Data
Understanding Package Management
Understanding the Process Hierarchy
Identifying Running Processes
Using Log Files
Summary
Exam Essentials
Review Questions
Chapter 10 Editing Files
Understanding the Role of Text Files
Choosing an Editor
Editing Files with nano
Editing Files with vi
Summary
Exam Essentials
Review Questions
Chapter 11 Creating Scripts
Beginning a Shell Script
Using Commands
Using Arguments
Using Variables
Using Conditional Expressions
Using Loops
Using Functions
Setting the Script’s Exit Value
Summary
Exam Essentials
Review Questions
Chapter 12 Understanding Basic Security
Understanding Accounts
Using Account Tools
Working as root
Summary
Exam Essentials
Review Questions
Chapter 13 Creating Users and Groups
Creating New Accounts
Modifying Accounts
Deleting Accounts
Managing Groups
Summary
Exam Essentials
Review Questions
Chapter 14 Setting Ownership and Permissions
Setting Ownership
Setting Permissions
Using Special Permission Bits and File Features
Summary
Exam Essentials
Review Questions
Chapter 15 Managing Network Connections
Configuring Network Features
Basic Network Troubleshooting
Advanced Network Troubleshooting
Summary
Exam Essentials
Review Questions
Appendix A Answers to Review Questions
Chapter 1: Selecting an Operating System
Chapter 2: Understanding Software Licensing
Chapter 3: Investigating Linux’s Principles and Philosophy
Chapter 4: Using Common Linux Programs
Chapter 5: Getting to Know the Command Line
Chapter 6: Managing Hardware
Chapter 7: Managing Files
Chapter 8: Searching, Extracting, and Archiving Data
Chapter 9: Exploring Processes and Process Data
Chapter 10: Editing Files
Chapter 11: Creating Scripts
Chapter 12: Understanding Basic Security
Chapter 13: Creating Users and Groups
Chapter 14: Setting Ownership and Permissions
Chapter 15: Managing Network Connections
Appendix B Setting Up a Linux Environment
Index
End User License Agreement
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
About the Authors
Next
Next Chapter
Introduction
CONTENTS
Cover
Acknowledgments
About the Authors
Introduction
Assessment Test
Answers to Assessment Test
Chapter 1 Selecting an Operating System
What Is an OS?
Investigating User Interfaces
Where Does Linux Fit in the OS World?
What Is a Distribution?
Embedded Linux Systems
Linux in the Cloud
Summary
Exam Essentials
Review Questions
Chapter 2 Understanding Software Licensing
Investigating Software Licenses
Looking at the Free Software Foundation
Looking at the Open Source Initiative
Looking at the Creative Commons
Using Open Source Licenses
Summary
Exam Essentials
Review Questions
Chapter 3 Investigating Linux’s Principles and Philosophy
Linux Through the Ages
Using Open Source Software
Understanding OS Roles
Summary
Exam Essentials
Review Questions
Chapter 4 Using Common Linux Programs
Using a Linux Desktop Environment
Working with Productivity Software
Using Server Programs
Managing Programming Languages
Handling Software Packages
Summary
Exam Essentials
Review Questions
Chapter 5 Getting to Know the Command Line
Starting a Command Line
Running Programs
Using Shell Features
Getting Help Using Man Pages
Review Questions
Chapter 6 Managing Hardware
Learning About Your CPU
Identifying Motherboard Capabilities
Sizing Your Power Supply
Understanding Disk Issues
Managing Displays
Handling USB Devices
Managing Drivers
Summary
Exam Essentials
Review Questions
Chapter 7 Managing Files
Understanding Where Things Go
Exploring Files and Directories
Manipulating Files
Manipulating Directories
Summary
Exam Essentials
Review Questions
Chapter 8 Searching, Extracting, and Archiving Data
Using Regular Expressions
Searching For and Extracting Data
Redirecting Input and Output
Archiving Data
Summary
Exam Essentials
Review Questions
Chapter 9 Exploring Processes and Process Data
Understanding Package Management
Understanding the Process Hierarchy
Identifying Running Processes
Using Log Files
Summary
Exam Essentials
Review Questions
Chapter 10 Editing Files
Understanding the Role of Text Files
Choosing an Editor
Editing Files with
nano
Editing Files with
vi
Summary
Exam Essentials
Review Questions
Chapter 11 Creating Scripts
Beginning a Shell Script
Using Commands
Using Arguments
Using Variables
Using Conditional Expressions
Using Loops
Using Functions
Setting the Script’s Exit Value
Summary
Exam Essentials
Review Questions
Chapter 12 Understanding Basic Security
Understanding Accounts
Using Account Tools
Working as
root
Summary
Exam Essentials
Review Questions
Chapter 13 Creating Users and Groups
Creating New Accounts
Modifying Accounts
Deleting Accounts
Managing Groups
Summary
Exam Essentials
Review Questions
Chapter 14 Setting Ownership and Permissions
Setting Ownership
Setting Permissions
Using Special Permission Bits and File Features
Summary
Exam Essentials
Review Questions
Chapter 15 Managing Network Connections
Configuring Network Features
Basic Network Troubleshooting
Advanced Network Troubleshooting
Summary
Exam Essentials
Review Questions
Appendix A Answers to Review Questions
Chapter 1: Selecting an Operating System
Chapter 2: Understanding Software Licensing
Chapter 3: Investigating Linux’s Principles and Philosophy
Chapter 4: Using Common Linux Programs
Chapter 5: Getting to Know the Command Line
Chapter 6: Managing Hardware
Chapter 7: Managing Files
Chapter 8: Searching, Extracting, and Archiving Data
Chapter 9: Exploring Processes and Process Data
Chapter 10: Editing Files
Chapter 11: Creating Scripts
Chapter 12: Understanding Basic Security
Chapter 13: Creating Users and Groups
Chapter 14: Setting Ownership and Permissions
Chapter 15: Managing Network Connections
Appendix B Setting Up a Linux Environment
Index
End User License Agreement
List of Tables
Chapter 1
Table 1.1
Chapter 4
Table 4.1
Chapter 5
Table 5.1
Table 5.2
Table 5.3
Table 5.4
Table 5.5
Chapter 7
Table 7.1
Table 7.2
Table 7.3
Table 7.4
Chapter 8
Table 8.1
Table 8.2
Table 8.3
Table 8.4
Table 8.5
Table 8.6
Table 8.7
Table 8.8
Table 8.9
Table 8.10
Table 8.11
Chapter 9
Table 9.1
Table 9.2
Chapter 12
Table 12.1
Chapter 13
Table 13.1
Table 13.2
Table 13.3
Chapter 14
Table 14.1
Table 14.2
Table 14.3
Chapter 15
Table 15.1
List of Illustrations
Chapter 1
Figure 1.1 Some text-mode programs take over the entire display.
Figure 1.2 Graphical login screens on Linux are similar to those for Windows or macOS.
Figure 1.3 Linux desktop environments provide the types of GUI controls that most users ex...
Figure 1.4 Cloud computing methods
Figure 1.5 The IaaS cloud model
Figure 1.6 The PaaS cloud model
Figure 1.7 The SaaS cloud model
Chapter 4
Figure 4.1 A typical Linux desktop login screen where you choose the user account
Figure 4.2 GUI login managers usually provide a selection of desktop environments from whi...
Figure 4.3 With panels you can launch popular programs in GNOME and some other desktop env...
Figure 4.4 Cinnamon’s desktop interface provides launch methods similar to those available...
Figure 4.5 GNOME Files provides a view of your files similar to that in other OSs’ file ma...
Figure 4.6 You can star folders to enable quick access to directories that interest you.
Figure 4.7 GNOME Files lets you associate document types with applications.
Chapter 5
Figure 5.1 Reaching a terminal via a menu on Cinnamon
Figure 5.2 Reaching a terminal via a search on GNOME
Figure 5.3 GNOME’s Terminal program is typical and is dominated by a textual display are...
Figure 5.4 Reaching and logging into a VT
Figure 5.5 Launching Firefox in the background to allow use of both the web browser and ...
Figure 5.6 The formatting of man pages helps you locate information quickly.
Chapter 6
Figure 6.1 Disk partitions are often visualized as boxes within a hard disk.
Figure 6.2 GParted, like other GUI disk partitioning tools, provides a graphical represe...
Figure 6.3 Linux file managers enable you to unmount removable media.
Figure 6.4 Most desktop environments provide GUI tools to help you set your display’s re...
Chapter 7
Figure 7.1 In Linux, all files are referred to relative to a single root (
/
) directory.
Chapter 8
Figure 8.1 Sorting a numeric data list
Figure 8.2 Using
cat
to display and concatenate files
Figure 8.3 Creating an archive tarball
Chapter 9
Figure 9.1 Most Linux distributions tell you when updates are available for your software....
Figure 9.2 Synaptic enables you to search for, select, install, and uninstall software on ...
Figure 9.3 Linux processes are arranged in a hierarchical tree.
Figure 9.4 The
top
command shows system summary information and information about the mo...
Chapter 10
Figure 10.1 The
nano
editor enables you to edit a text file in text mode.
Figure 10.2 The
nano
editor launched with no filename provided.
Figure 10.3 The last line of a
vi
display is a status line that shows messages from the p...
Chapter 12
Figure 12.1 Locating the Users and Groups account tool on Linux Mint
Figure 12.2 The Users and Groups account tool provides minimal account information.
Figure 12.3 Administrative tools in the GUI ask for a password when administrator privilege...
Chapter 13
Figure 13.1 The Linux Mint User and Groups Administration utility provides many options for...
Figure 13.2 You can enter all the basic account information using this dialog.
Figure 13.3 Set the user account’s password using the Change Password dialog.
Figure 13.4 The User and Groups Administration utility enables you to edit a few account pr...
Figure 13.5 The Users utility enables users to change their own passwords.
Figure 13.6 When you delete an account with a GUI utility, you are typically asked to confi...
Figure 13.7 The User and Groups Administration utility enables you to manage groups as well...
Figure 13.8 You can add users to a group after creating the group.
Chapter 14
Figure 14.1 Linux file managers give you access to the file’s ownership and permission me...
Figure 14.2 A symbolic representation of file permissions is broken into four parts.
Chapter 15
Figure 15.1: Network Manager showing a wireless network connection
Figure 15.2: The Network Connections dialog
Figure 15.3: The Network Manager
nmtui
command-line tool
Guide
Cover
Table of Contents
Introduction
Pages
i
ii
iii
v
vii
xix
xx
xxi
xxii
xxiii
xxiv
xxv
xxvi
xxvii
xxviii
xxix
xxx
xxxi
xxxii
xxxiii
xxxiv
xxxv
xxxvi
xxxvii
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset