BilimEdtech Labs

Labs:

  • Cloud Computing Labs
    • Lab 1: Set up your VPS
    • Lab 2: Configure Nginx as a Reverse Proxy
    • Lab 3: Docker Compose and Volumes
    • Lab 4: Modifying a Dockerfile
    • Lab 5: Building a Docker Image
    • Lab 6: OpenVPN
    • Lab 7: Shell Scripting
      • Lab 7: Shell Scripting
      • Step 1: Create a Hello World Script
      • Step 2: Explore Shell Scripting Commands
      • Step 3: Scripting an Nginx Site
      • Step 4: Create a Simple Backup Script
      • Step 5: Create a Cron Job
      • Backing up a Server
      • Example OpenVPN Script
    • Lab 8: VPS Security
    • Reference Guides
  • NASM Assembly Code
  • C Programming
  • Operating Systems

Workshops:

  • Workshops
BilimEdtech Labs
  • »
  • Cloud Computing 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
Next Previous

© Copyright 2020, BilimEdtech | CC BY 4.0 | Licensed under the Creative Commons Attribution 4.0 International license

Built with Sphinx using a theme provided by Read the Docs.