Chiamaka Daniel-Paulforshebourneagainshebourneagain.hashnode.dev·Nov 20, 2024Hands-on Bash: Task One — Writing Your First “Hello, World!” ScriptIn the past few months, I have been learning about bash scripting, and with every new knowledge, practice is important, so the knowledge sticks. Today, I'll be starting the Hands-on Bash note series where I will be working on tasks on Bash programmin...DiscussHands-on BashDevops
Chetan Mohanrao Mohoddevops-concepts-by-chetan.hashnode.dev·Nov 13, 2024Use Simple Shell Scripts to Automate Docker: Start, Check, and Update Containers with EaseUsing Docker makes running apps easier, but some tasks—like starting containers, watching logs, or updating images can feel repetitive. Luckily, shell scripts can handle these tasks automatically, saving you time. In this guide, we’ll review a few ea...DiscussDocker
Pooja Naitampoojanaitam.hashnode.dev·Nov 11, 2024Day 8 of 90DaysOfDevOps : Shell Scripting Challenge🐧Task 1: Adding Comments in Bash Scripts 📝 Comments are notes added in code to explain what each part does, making it easier for others (and yourself) to understand later. Comments in bash scripts start with a #. #!/bin/bash # This script greets the ...Discuss#90daysofdevops
Nishant Desainishant-desai.hashnode.dev·Nov 11, 2024Collaborate.sh: Fetch GitHub User Collaboration Details Using Shell ScriptIntroduction Managing contributors and collaborators in a GitHub repository is essential for smooth project development. While GitHub provides an interface for managing collaborators manually, automating this process can save time and reduce the chan...DiscussGithubApi
Pooja Naitampoojanaitam.hashnode.dev·Nov 9, 2024Day 6 of 90DaysOfDevOps : File Permissions and Access Control Lists1.Understanding File Permissions: Create a simple file and run ls -ltr to see the details of the files. Each of the three permissions are assigned to three defined categories of users. The categories are: Owner: The owner of the file or application. ...Discuss#90daysofdevops
Pooja Naitampoojanaitam.hashnode.dev·Nov 9, 2024Day 5 of 90DaysOfDevOps : Advanced Linux Shell Scripting for DevOps Engineers with User Management1. Create Directories Using Shell Script: Write a bash script createDirectories.sh that, when executed with three arguments (directory name, start number of directories, and end number of directories), creates a specified number of directories with ...Discussshell
Sharon Jonallagaddasharonlearns.hashnode.dev·Nov 9, 2024Variables in Bash ScriptingIn Bash scripting, variables allow us to store information for later use, minimizing repetition and enable us to save command outputs directly into variables. For example, the command file =$(ls) will execute ls, store its output in the file variable...DiscussShellBash
Amitabh soniamitabhdevops.hashnode.dev·Nov 8, 2024Backup with RotationAssignment: Backup with Rotation Introduction: In this assignment, we will create a shell script that automatically takes backups of a specified directory and impl ements rotation to keep only the latest three backups. We'll also automate the backup ...DiscussDevops
Amitabh soniamitabhdevops.hashnode.dev·Nov 8, 2024A Beginner's Guide to Shell Scripting in DevOpsShell Scripting for DevOps - Automate Your Tasks Lecture 8 in the DevOps journey dives deep into the essential topic of Shell Scripting. In this blog, we’ll cover what shell scripting is, its purpose, basic commands, script creation, automation using...DiscussDevops
Ashwinashwinrajendran.hashnode.dev·Nov 8, 2024What is Shell ScriptingShell scripting is a scripting language that runs on top of a shell environment which is used to perform automation for repetitive tasks, manage system configurations, and execute a series of commands by writing it in a script and running it. Some of...Discussshell script