Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
CompTIA Linux+ Practice Tests

You're reading from   CompTIA Linux+ Practice Tests The best practice test preparation for the foundational CompTIA Linux+ certification exam

Arrow left icon
Product type Paperback
Published in Jul 2019
Publisher Wiley
ISBN-13 9781119555964
Length 320 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Steve Suehring Steve Suehring
Author Profile Icon Steve Suehring
Steve Suehring
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

1. Cover FREE CHAPTER
2. Acknowledgments
3. About the Author
4. Introduction 5. Chapter 1 Hardware and System Configuration
6. Chapter 2 System Operations and Maintenance
7. Chapter 3 Security
8. Chapter 4 Linux Troubleshooting and Diagnostics
9. Chapter 5 Automation and Scripting
10. Chapter 6 Practice Exam
11. Answers and Explanations 12. Index
13. Comprehensive Online Learning Environment
14. WILEY END USER LICENSE AGREEMENT

Chapter 5
Automation and Scripting

THE FOLLOWING COMPTIA LINUX+ EXAM OBJECTIVES ARE COVERED IN THIS CHAPTER:

  • images  5.1 Given a scenario, deploy and execute bash scripts
    • Shell environments and shell variables
      • PATH
      • Global
      • Local
      • export
      • env
      • set
      • printenv
      • echo
    • #!/bin/bash
    • Sourcing scripts
    • Directory and file permissions
      • chmod
    • Extensions
    • Commenting
      • #
    • File globbing
    • Shell expansions
      • ${}
      • $()
      • ``
    • Redirection and piping
    • Exit codes
      • stderr
      • stdin
      • stdout
    • Metacharacters
    • Positional parameters
    • Looping constructs
      • while
      • for
      • until
    • Conditional statements
      • if
      • case
    • Escaping characters
  • images  5.2 Given a scenario, carry out version control using Git
    • Arguments
      • clone
      • push
      • pull
      • commit
      • merge
      • branch
      • log
      • init
      • config
    • Files:
      • .gitignore
      • .git/
  • images  5.3 Summarize orchestration processes and concepts
    • Agent
    • Agentless
    • Procedures
    • Attributes
    • Infrastructure automation
    • Infrastructure as code
    • Inventory
    • Automated configuration management
    • Build automation
  1. You are writing a shell script...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images