BilimEdtech Labs
Labs:
Cloud Computing Labs
NASM Assembly Code
C Programming
Operating Systems
Workshops:
Workshops
BilimEdtech Labs
»
Lab 7: Shell Scripting
View page source
Lab 7: Shell Scripting
Table of Contents
Lab 7: Shell Scripting
Goals for Lab 7
Step 1: Create a
Hello
World
Script
The Basics
Your First Script
Expected output
Step 2: Explore Shell Scripting Commands
Variables and Wildcards
Decision Making
Step 3: Scripting an Nginx Site
Setting up the Script
Prompt the User
Write the Site Data
Expected Output
Wrap up
Step 4: Create a Simple Backup Script
Backing up Data
Create a Backup Script
Step 5: Create a Cron Job
Build a Daily Cron Job
Testing your Cron Job
Backing up a Server
Example OpenVPN Script