The Official Comptia® Linux+® Student Guide (Exam XK0-004)
Total Page:16
File Type:pdf, Size:1020Kb
Trlegram Channel : @IRFaraExam The Official CompTIA® Linux+® Student Guide (Exam XK0-004) COURSE EDITION: 1.0 Acknowledgements Jason Nufryk, Author Thomas Reilly, Vice President Learning Damon Garn, Author Katie Hoenicke, Director of Product Management Brian Sullivan, Media Designer James Chesterfield, Manager, Learning Content and Design Peter Bauer, Content Editor Becky Mann, Senior Manager, Product Development Michelle Farney, Content Editor James Pengelly, Courseware Manager Notices DISCLAIMER While CompTIA, Inc. takes care to ensure the accuracy and quality of these materials, we cannot guarantee their accuracy, and all materials are provided without any warranty whatsoever, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. The use of screenshots, photographs of another entity's products, or another entity's product name or service in this book is for editorial purposes only. No such use should be construed to imply sponsorship or endorsement of the book by nor any affiliation of such entity with CompTIA. This courseware may contain links to sites on the Internet that are owned and operated by third parties (the "External Sites"). CompTIA is not responsible for the availability of, or the content located on or through, any External Site. Please contact CompTIA if you have any concerns regarding such links or External Sites. TRADEMARK NOTICES CompTIA®, Linux+®, and the CompTIA logo are registered trademarks of CompTIA, Inc., in the U.S. and other countries. CentOS® is a registered trademark of Red Hat Inc., in the U.S. and other countries; the Red Hat products and services discussed or described may be trademarks of Red Hat Inc. Ubuntu® is a registered trademark of Canonical Ltd., in the U.S. and other countries; the Canonical products and services discussed or described may be trademarks of Canonical Ltd. All other product and service names used may be common law or registered trademarks of their respective proprietors. COPYRIGHT NOTICE Copyright © 2019 CompTIA, Inc. All rights reserved. Screenshots used for illustrative purposes are the property of the software proprietor. Except as permitted under the Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of CompTIA, 3500 Lacey Road, Suite 100, Downers Grove, IL 60515-5439. This book conveys no rights in the software or other products about which it was written; all use or licensing of such software or other products is the responsibility of the user according to terms and conditions of the owner. If you believe that this book, related materials, or any other CompTIA materials are being reproduced or transmitted without permission, please call 1-866-835-8020 or visit www.help.comptia.org. Trlegram Channel : @IRFaraExam Table of Contents Lesson 1: Performing Basic Linux Tasks ......................................................................1 Topic A: Identify the Linux Design Philosophy................................................................2 Topic B: Enter Shell Commands ..................................................................................... 12 Topic C: Get Help with Linux .......................................................................................... 24 Lesson 2: Managing Users and Groups.......................................................................35 Topic A: Assume Superuser Privileges........................................................................... 36 Topic B: Create, Modify, and Delete Users.....................................................................44 Topic C: Create, Modify, and Delete Groups..................................................................56 Topic D: Query Users and Groups .................................................................................. 62 Topic E: Configure Account Profiles................................................................................68 Lesson 3: Managing Permissions and Ownership .................................................... 75 Topic A: Modify File and Directory Permissions............................................................76 Topic B: Modify File and Directory Ownership..............................................................87 Topic C: Configure Special Permissions and Attributes .............................................. 93 Topic D: Troubleshoot Permissions Issues.................................................................. 105 Lesson 4: Managing Storage ..................................................................................... 113 Topic A: Create Partitions..............................................................................................114 Topic B: Manage Logical Volumes.................................................................................130 Topic C: Mount File Systems..........................................................................................138 Topic D: Manage File Systems....................................................................................... 144 Topic E: Navigate the Linux Directory Structure........................................................ 154 Topic F: Troubleshoot Storage Issues...........................................................................162 Lesson 5: Managing Files and Directories ............................................................... 177 Topic A: Create and Edit Text Files................................................................................178 Topic B: Search for Files................................................................................................. 190 Topic C: Perform Operations on Files and Directories............................................... 198 Trlegram Channel : @IRFaraExam | The Official CompTIA® Linux+® Student Guide (Exam XK0-004) | Topic D: Process Text Files ............................................................................... 209 Topic E: Manipulate File Output.......................................................................226 Lesson 6: Managing Kernel Modules ............................................................ 237 Topic A: Explore the Linux Kernel ................................................................... 238 Topic B: Install and Configure Kernel Modules ............................................. 245 Topic C: Monitor Kernel Modules..................................................................... 253 Lesson 7: Managing the Linux Boot Process ............................................... 261 Topic A: Configure Linux Boot Components................................................... 262 Topic B: Configure GRUB 2................................................................................ 274 Lesson 8: Managing System Components ................................................... 283 Topic A: Configure Localization Options......................................................... 284 Topic B: Configure GUIs..................................................................................... 295 Topic C: Manage Services.................................................................................. 308 Topic D: Troubleshoot Process Issues..............................................................320 Topic E: Troubleshoot CPU and Memory Issues............................................. 334 Lesson 9: Managing Devices...........................................................................345 Topic A: Identify the Types of Linux Devices.................................................. 346 Topic B: Configure Devices................................................................................354 Topic C: Monitor Devices...................................................................................364 Topic D: Troubleshoot Hardware Issues..........................................................370 Lesson 10: Managing Networking..................................................................381 Topic A: Identify TCP/IP Fundamentals........................................................... 382 Topic B: Identify Linux Server Roles................................................................ 390 Topic C: Connect to a Network......................................................................... 398 Topic D: Configure DHCP and DNS Client Services......................................... 412 Topic E: Configure Cloud and Virtualization Technologies........................... 420 Topic F: Troubleshoot Networking Issues.......................................................432 Trlegram Channel : @IRFaraExam | The Official CompTIA® Linux+® Student Guide (Exam XK0-004) | Lesson 11: Managing Packages and Software..............................................453 Topic A: Identify Package Managers................................................................454 Topic B: Manage RPM Packages with YUM......................................................459 Topic C: Manage Debian Packages with APT...................................................465 Topic D: Configure Repositories ...................................................................... 470 Topic E: Acquire Software ................................................................................ 476 Topic F: Build Software from Source Code ..................................................... 481 Topic G: Troubleshoot Software Dependency Issues.....................................486