Rutvik Mangukiyarutvikmangukiya.hashnode.dev·Jul 25, 2024Shell Scripting Challenge Error Handling #Day 11Objectives Understanding how to handle errors in shell scripts is crucial for creating robust and reliable scripts. Today, you'll learn how to use various techniques to handle errors effectively in your bash scripts. Topics to Cover Understanding Ex...DiscussDevOps#90daysofdevops
Tushar Lahamgetusharlahamge.hashnode.dev·Jul 24, 2024Introduction to Shell Scripting in DevOpsShell scripting is a crucial skill for DevOps engineers. It allows them to automate routine tasks, set up environments, deploy applications, and manage infrastructure. In this blog, we'll cover the basics of shell scripting, explain why it's importan...Discuss#90daysofdevops
Rutvik Mangukiyarutvikmangukiya.hashnode.dev·Jul 23, 2024Shell Scripting Challenge Log Analyzer and Report Generator #Day 10Scenario You are a system administrator responsible for managing a network of servers. Every day, a log file is generated on each server containing important system events and error messages. As part of your daily tasks, you need to analyze these log...DiscussDevOps#90daysofdevops
Rutvik Mangukiyarutvikmangukiya.hashnode.dev·Jul 23, 2024Shell Scripting Challenge Directory Backup with Rotation #Day 9Challenge Description Your task is to create a bash script that takes a directory path as a command-line argument and performs a backup of the directory. The script should create timestamped backup folders and copy all the files from the specified di...DiscussDevOps#90daysofdevops
Anand Ravalanandraval.hashnode.dev·Jul 23, 2024Day 9 :- Shell Scripting Challenge: 📂 Directory Backup with Rotation 🔄Day 9 :- TASK #!/bin/bash <<readme info : This script will create backup ./createBackup.sh <source_dir> <target_dir> readme source_dir=$1 target_dir=$2 timestamp=$(date "+%Y-%m-%d-%H-%M-%S") backup_dir="${target_dir}/backup_${timestamp}" zip -r ...Discuss90DaysOfDevops#90daysofdevops
Nitin Dhimannitindhiman22.hashnode.dev·Jul 23, 2024Advanced Linux Shell Scripting for DevOps Engineers with User ManagementAs part of my continuous learning journey in DevOps, I delved into advanced Linux shell scripting and user management. These skills are essential for automating repetitive tasks and managing user access, which are crucial for any DevOps engineer. Bef...DiscussLinux
Saurabh Adhaudevopsvoyager.hashnode.dev·Jul 23, 2024Exploring Shell Arithmetic in Shell ScriptingShell scripting offers robust support for performing arithmetic operations directly within scripts, allowing developers to perform calculations and manipulate numeric data efficiently. In this guide, we'll delve into the basics of shell arithmetic, i...DiscussScriptingshell
Saurabh Adhaudevopsvoyager.hashnode.dev·Jul 22, 2024Mastering the Echo Command in Shell ScriptingIntroduction In the vast landscape of shell scripting, the echo command stands tall as a stalwart tool for displaying text and variable values to the standard output. Understanding its nuances and capabilities can significantly enhance your scripting...DiscussScriptingshell
Khushbu Koradiyakhushbuk0714.hashnode.dev·Jul 21, 2024Day 8 Task: Shell Scripting ChallengeTask 1: Comments In bash scripts, comments are used to add explanatory notes or disable certain lines of code. Your task is to create a bash script with comments explaining what the script does. Task 2: Echo The echo command is used to display messag...Discuss·37 readsLinux
Saurabh Adhaudevopsvoyager.hashnode.dev·Jul 21, 2024Mastering User-Defined Variables (UDVs) in Shell Scripting: Printing and Accessing ValuesIntroduction User-defined variables (UDVs) are a cornerstone of shell scripting, allowing scriptwriters to store and manipulate data within their scripts. Knowing how to print or access the value of these variables is essential for building powerful ...Discuss·10 likesScriptingshell