This repository contains operational scripts for various system and DevOps tasks. The collection will expand over time to meet evolving requirements.
-
Move the Script
- Use:
mv script.sh temp/
- Use:
-
Set Variables
- Configure any required variables before executing the script.
- You may set variables directly at the top of the script:
VAR_NAME=value
- Or export variables in your shell environment before running the script:
export VAR_NAME=value
-
Make Executable
- Ensure the script has execution permissions:
chmod +x temp/script.sh
- Ensure the script has execution permissions:
-
Run the Script
- Execute the script from the temp folder:
./temp/script.sh
- Execute the script from the temp folder:
- Only use scripts inside the
tempfolder or outside the repository directory. - The
tempfolder is untracked by git to prevent accidental commits of temporary or sensitive scripts. - Always review scripts before execution to ensure they meet your operational and security standards.