UsefulLinks
Computer Science
Operating Systems
Linux
Linux Administration
1. Introduction to Linux and System Administration
2. The Command-Line Interface (CLI)
3. User and Group Management
4. File Permissions and Ownership
5. Process Management
6. Software and Package Management
7. System Services and Daemons
8. Networking
9. Storage Management
10. System Security
11. Shell Scripting and Automation
12. System Monitoring and Performance
13. Backup and Recovery
14. Advanced Topics
11.
Shell Scripting and Automation
11.1.
Bash Scripting Fundamentals
11.1.1.
Script Structure and Shebang
11.1.2.
Declaring and Using Variables
11.1.3.
Command Substitution
11.1.4.
Quoting and Escaping in Scripts
11.1.5.
Conditional Statements
11.1.5.1.
if Statements
11.1.5.2.
case Statements
11.1.6.
Loops
11.1.6.1.
for Loops
11.1.6.2.
while Loops
11.1.6.3.
until Loops
11.1.7.
Functions
11.1.7.1.
Defining and Calling Functions
11.1.7.2.
Passing Arguments
11.1.8.
Reading User Input
11.1.8.1.
read Command
11.1.8.2.
Input Validation
11.1.9.
Error Handling and Exit Status
11.1.10.
Debugging Scripts
11.2.
Task Scheduling
11.2.1.
Scheduling Recurring Tasks with cron
11.2.1.1.
Crontab Syntax
11.2.1.2.
User vs. System Crontabs
11.2.1.3.
Managing Crontab Entries
11.2.2.
Scheduling One-Time Tasks with at
11.2.2.1.
at Command Usage
11.2.2.2.
Managing at Jobs
Previous
10. System Security
Go to top
Next
12. System Monitoring and Performance