🌐
DEV Community
dev.to › prodevopsguytech › scripting-in-devops-a-complete-guide-from-beginner-to-advanced-noa
Scripting in DevOps: A Complete Guide from Beginner to Advanced - DEV Community
October 11, 2024 - For beginners, the best place to start scripting in DevOps is by writing basic shell scripts using Bash or PowerShell to automate everyday tasks. Example: A simple script to automate code deployment on a Linux server.
🌐
GitHub
github.com › codebytes › azure-devops-scripts
GitHub - codebytes/azure-devops-scripts: A repository with sample Azure DevOps scripts and pipelines · GitHub
A repository with sample Azure DevOps scripts and pipelines - codebytes/azure-devops-scripts
Starred by 2 users
Forked by 5 users
Languages   Shell
🌐
Medium
medium.com › @sreekanth.thummala › devops-zero-to-hero-day-15-mastering-shell-scripting-basics-to-advanced-fd50d11151a2
🚀DevOps Zero to Hero: 💡Day 15-Mastering Shell Scripting — Basics to Advanced🔥 | by Sreekanth Thummala | Medium
September 23, 2023 - Shell scripting is an essential skill for DevOps engineers, as it empowers you to automate tasks, streamline processes, and manage infrastructure more efficiently. In this comprehensive guide, we’ll take you on a journey from the basics of shell scripting to advanced techniques, complete with real-time examples and code snippets.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › devops › pipelines › scripts › powershell
PowerShell scripts for pipelines - Azure Pipelines | Microsoft Learn
For example, if your build number format definition $(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) produces the build number Build HelloWorld_2024.07.19.1, the script applies version 2024.07.19.1 to your assemblies.
🌐
DEV Community
dev.to › prodevopsguytech › devops-automation-with-shell-scripting-1p69
DevOps Automation with Shell Scripting 🚀 - DEV Community
October 26, 2024 - Use export to make a variable accessible to subprocesses. Use if, elif, and else to create conditional statements. if [ $USER == "devops" ]; then echo "Welcome, DevOps Engineer!" else echo "Access denied." fi
🌐
GitHub
github.com › HariSekhon › DevOps-Bash-tools
GitHub - HariSekhon/DevOps-Bash-tools: 1000+ DevOps Bash Scripts - AWS, GCP, Kubernetes, Docker, CI/CD, APIs, SQL, PostgreSQL, MySQL, Hive, Impala, Kafka, Hadoop, Jenkins, GitHub, GitLab, BitBucket, Azure DevOps, TeamCity, Spotify, MP3, LDAP, Code/Build Linting, pkg mgmt for Linux, Mac, Python, Perl, Ruby, NodeJS, Golang, Advanced dotfiles: .bashrc, .vimrc, .gitconfig, .screenrc, tmux.. · GitHub
Data format validation validate_*.py from DevOps Python Tools repo: ... yaml2json.sh - converts YAML to JSON - needed for some APIs like GitLab CI linting (see Gitlab section above) ... kafka_*.sh - scripts to make Kafka CLI usage easier including auto-setting Kerberos to source TGT from environment and auto-populating broker and zookeeper addresses.
Starred by 8.2K users
Forked by 1.6K users
Languages   Shell 97.4% | Makefile 1.1% | Vim Script 0.9% | AppleScript 0.3% | Groovy 0.2% | Ruby 0.1%
🌐
Nile Bits
nilebits.com › home › blog › devops › cloud
DevOps Automation With Shell Scripts | Nile Bits
June 30, 2024 - Automating the development and deployment processes is a core component of DevOps. Let’s write a little script to launch a web application automatically. #!/bin/bash # Build the application echo "Building the web application..." # Add build commands here # Deploy the application echo "Deploying the web application..." # Add deployment commands here echo "Deployment completed successfully." Integrating shell scripts into your CI/CD pipeline is essential for achieving continuous integration. Below is an example script that runs tests as part of a CI process.
🌐
GitHub
github.com › avinetworks › devops
GitHub - avinetworks/devops: Examples scripts for different environments to build and manage Avi Vantage
Examples scripts for different environments to build and manage Avi Vantage - avinetworks/devops
Starred by 98 users
Forked by 162 users
Languages   HTML 96.0% | Python 1.9% | CSS 1.4% | JavaScript 0.4% | PowerShell 0.1% | HCL 0.1% | HTML 96.0% | Python 1.9% | CSS 1.4% | JavaScript 0.4% | PowerShell 0.1% | HCL 0.1%
Find elsewhere
🌐
GitHub
github.com › bregman-arie › devops-exercises › blob › master › topics › shell › README.md
devops-exercises/topics/shell/README.md at master · bregman-arie/devops-exercises
Running the following bash script, we don't get 2 as a result, why? ... A short way of using if/else. An example:
Author   bregman-arie
🌐
BMC
docs.bmc.com › xwiki › bin › view › Mainframe › Data-for-Db2 › BMC-AMI-DevOps-for-Db2 › AMA13100 › Command-and-syntax-reference › Universal-Connector-samples-in-BMC-AMI-DevOps › Sample-pipeline-scripts-for-Azure-DevOps
Sample pipeline scripts for Azure DevOps - BMC Documentation
February 26, 2026 - # The sample pipeline script is defined to use various items like below: # a) References to variables added through Azure DevOps pipeline variable. # b) Use of Linux based sed command to replace input as variable name by variable definition from pipeline. # c) Use of configuration file (Config_Schema_Standards_Schema_Type_Impact_Report.yml), that is maintained in default root folder. # Example of properties of authentication step is taken from Config_Schema_Standards_Schema_Type_Impact_Report.yml file: # step authentication Config_Schema_Standards_Schema_Type_Impact_Report.yml # Note: If pipeline executes with default configuration file name config.yml, that is maintained in root folder, then file name is not required in step command.
🌐
Medium
medium.com › @saurabhdahibhate50 › devops-day-04-task-e51d64ffbf16
Shell Scripting for DevOps with Examples | Medium
July 12, 2023 - With shell scripting, DevOps engineers can write scripts to automate tasks such as installing software packages, configuring systems, setting up network connections, and managing files and directories. This reduces the manual effort required to perform these tasks, which in turn saves time and improves efficiency. For example, suppose a DevOps engineer wants to automate the process of deploying an application to a server.
🌐
Bogotobogo
bogotobogo.com › DevOps › DevOps-Sys-Admin-Interview-Questions-Scripting.php
DevOps / Sys admin Q & A #4 : Scripting (Bash) - 2021
AWS : EKS (Elastic Container Service for Kubernetes) AWS : Creating a snapshot (cloning an image) AWS : Attaching Amazon EBS volume to an instance AWS : Adding swap space to an attached volume via mkswap and swapon AWS : Creating an EC2 instance and attaching Amazon EBS volume to the instance ...
🌐
GitHub
github.com › AbeTavarez › Python_DevOps_Scripts
GitHub - AbeTavarez/Python_DevOps_Scripts: Python 👨🏻‍💻 Scripts for DevOps, SysAdmins, IT Specilist, Devs and more.
The main purpose of this repo is to create a huge collection of useful script for all levels (Beginners to Experts) of IT Specialits, SysAdmins, DevOps, Developers and more...
Starred by 82 users
Forked by 119 users
Languages   Python 90.0% | Shell 10.0%
🌐
GeeksforGeeks
geeksforgeeks.org › devops › scripting-in-devops
Python Scripting For DevOps : A Practical Guide - GeeksforGeeks
December 12, 2025 - There are Several Key areas where Python Scripting Play a major role in DevOps: 1. Automating Server Provisioning - Python can Interact with cloud like (AWS, Azure, GCP) to spin up virtual machines, set configurations, and manage cloud resources.
🌐
Medium
medium.com › @subhampradhan966 › 15-automation-scripts-every-devops-engineer-must-know-for-effective-monitoring-and-logging-ea36126a1bd0
15 Automation Scripts Every DevOps Engineer Must Know for Effective Monitoring and Logging | by Subham Pradhan | Medium
February 7, 2025 - Would you like to modify or integrate these scripts into any of your current projects? ... DevOps Engineer | CI/CD | K8S | Docker | Jenkins | Ansible | Git | Terraform | ArgoCD |Helm|Prometheus|Grafana|SonarQube|Trivy|Azure| Data Engineer| DevSecOps |
🌐
AIM Consulting
aimconsulting.com › insights › manage-azure-devops-scripting
Managing Azure DevOps with Scripts: Streamline Your Workflows
February 14, 2024 - Automate & streamline processes in Azure DevOps with scripting: measure backlog health, add iterations to a team & a NodeJS script.
🌐
Medium
medium.com › @kalimitalha8 › top-5-useful-python-scripts-for-devops-automation-02e49616ea8c
Top 5 Useful Python Scripts for DevOps Automation | by Mohammed Talha Kalimi | Medium
August 23, 2024 - def create_ec2_instance(): try: ec2 = boto3.resource('ec2', region_name='us-west-2') instance = ec2.create_instances( ImageId='ami-0abcdef1234567890', # Replace with your desired AMI ID MinCount=1, MaxCount=1, InstanceType='t2.micro', KeyName='your-key-pair-name', # Replace with your key pair name SecurityGroupIds=['sg-0123456789abcdef0'], # Replace with your security group ID SubnetId='subnet-0abcdef1234567890', # Replace with your subnet ID TagSpecifications=[ { 'ResourceType': 'instance', 'Tags': [ {'Key': 'Name', 'Value': 'DevOps-Automated-Instance'} ] } ] ) print(f"EC2 Instance created wi
🌐
BytePlus
byteplus.com › en › topic › 409366
DevOps Scripts Examples: Practical Automation Techniques
Explore practical examples of DevOps scripts, including shell and Python scripts for automation in your workflows.
🌐
Devopstraininginstitute
devopstraininginstitute.com › blog › top-10-python-scripts-for-devops-automation
Top 10 Python Scripts for DevOps Automation - Top DevOps Training Institute Blog | DevOps Tools, Tutorials & Career Tips [2025]
December 13, 2025 - Discover the 10 most indispensable Python scripts and libraries that form the backbone of modern DevOps automation. This guide provides actionable examples and use cases for everything from provisioning cloud infrastructure with Boto3 and Paramiko to orchestrating containers with the Kubernetes Python Client.