Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 961 Bytes

File metadata and controls

41 lines (30 loc) · 961 Bytes

BASH Scripts By Preetpal Basson


Overview

A collection of BASH scripts that execute shell commands to automate daily or specific tasks.


Features

Languages
Shell
Directory Description
/bashscripts_github-F/Find-Scripts Collection of Scripts using the Command Find

Usage

  1. Locally from Cloning
  2. Docker Container

Local

  1. Clone Project From Repo
  2. Execute Shell Script from Local Directory

Docker Container Usage

  1. Clone Project From Repo
  2. Build Docker Image:
    • docker build -t bashscripts_github:latest .
  3. Run Docker Container:
    • docker run --rm -d -it bashscripts_github:latest
  4. Check Docker Container is running and get the ContainerId for bashscripts_github:latest:
    • docker ps
  5. Execute Bash inside of Docker Container:
    • docker exec -it <container_id> bash
  6. Execute Shell Script from Docker Container