Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Manjaro Linux User Guide

You're reading from   Manjaro Linux User Guide Gain proficiency in Linux through one of its best user-friendly Arch-based distributions

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781803237589
Length 498 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Atanas Georgiev Rusev Atanas Georgiev Rusev
Author Profile Icon Atanas Georgiev Rusev
Atanas Georgiev Rusev
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Part 1: Installation, Editions, and Help
2. Chapter 1: Introduction to Manjaro and Linux FREE CHAPTER 3. Chapter 2: Editions Overview and Installation 4. Chapter 3: Editions and Flavors 5. Chapter 4: Help, Online Resources, Forums, and Updates 6. Part 2: Daily Usage
7. Chapter 5: Officially Supported Software – Part 1 8. Chapter 6: Officially Supported Software Part 2, 3D Games, and Windows SW 9. Chapter 7: All Basic Terminal Commands – Easy and with Examples 10. Part 3: Intermediate Topics for Daily Usage
11. Chapter 8: Package Management, Dependencies, Environment Variables, and Licenses 12. Chapter 9: Filesystem Basics, Structure, and Types, NTFS, Automount, and RAID 13. Chapter 10: Storage, Mounting, Encryption, and Backups 14. Chapter 11: Network Fundamentals, File Sharing, and SSH 15. Chapter 12: Internet, Network Security, Firewalls, and VPNs 16. Part 4: Advanced Topics
17. Chapter 13: Service Management, System Logs, and User Management 18. Chapter 14: System Cleanup, Troubleshooting, Defragmentation, and Reinstallation 19. Chapter 15: Shell Scripts and Automation 20. Chapter 16: Linux Kernel Basics and Switching 21. Index 22. Other Books You May Enjoy

Shell Scripts and Automation

In the previous chapter, we looked in detail at filesystem cleanup, exploring the pacman cache, uninstallation, and cleaning tool approaches. We then briefly covered the topic of defragmentation. After that, we moved on to system information extraction with inxi, along with a practical example of troubleshooting. We finished the chapter with easy instructions on reinstalling and keeping our original home partition.

In this chapter, we will continue with the basics of BASH shell scripts. They can execute any commands automatically, including those for system administration. We will explore their syntax, basic rules, and where to get more information and examples. We will then review the setup of periodic and calendar-based execution of commands and scripts, based on cron jobs and systemd timers. We will close the chapter by revealing how systemd timers can execute tasks related to system events for us.

The sections in this chapter are as follows:

...
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 $19.99/month. Cancel anytime
Banner background image