Goodness Chris-Ugarigoodiec.hashnode.net·Mar 1, 2021Beginners Guide to Shell ScriptingIntroduction This tutorial will introduce you to scripting in a Bash shell, its structure, and how you can get started with it. In this tutorial, I assume that you are already familiar with or have some knowledge of the shell and Linux commands. If y...33 likes·396 readsBeginner Developers
Deepdeeppande.hashnode.net·Jan 2, 2023Get Started with Bash ScriptingWhat is a Bash script? A Bash script is a plain text file which contains a series of commands. These commands are a mixture of commands we would normally type ourselves on the command line . These scripts can be used to automate the repeatable tasks ...16 likes·102 readsBlogsWithCC
Dr. Ehoneah Obedehoneahobed.hashnode.net·Jun 4, 2022Write a script that compiles a C file but does not linkIn my previous post, I wrote on how you can write a script that preprocesses a C source code and produce the output into a new file. In that article I described the four main stages of C program compilation; Preprocessing Actual compilation Assembly...9 likes·4.2K readsC Programmingc programming
Lionel Tchamiapoti.hashnode.net·Apr 23, 2023Bash Script to Automatically Enable Cloudflare DDoS ProtectionIntroduction I host all of my websites on DigitalOcean Droplets and I also use Cloudflare as my CDN provider. One of the benefits of using Cloudflare is that it reduces the overall traffic to your user and also hides your actual server IP address beh...cloudflare
Adinath Salunkesalunkeadinath.hashnode.net·Apr 19, 2023Day 5 Task: Advanced Linux Shell Scripting for DevOps Engineers with User managementTABLE OF CONTENTS 1. Write a bash script createDirectories.sh that when the script is executed with three given arguments (one is directory name and second is start number of directories and third is the end number of directories ) it creates specif...#shubhamLondhe
Gurudath K Pgurudath.hashnode.net·Apr 17, 2023Basic Linux Shell Scripting for DevOps Engineers.What is Shell Scripting for DevOps? Shell scripting refers to writing a script in a text file containing writing a script in a text file that contains a series of commands, which can be executed by the shell. These commands can automate tasks. For ...Bash
Shikhar Shuklashikhar99.hashnode.net·Apr 14, 2023How to Create a Docker Image for Your Bash Script: A Step-by-Step GuideTo create a Docker image for your bash script, follow these steps: Create a new file called Dockerfile in your project directory. Inside the Dockerfile, add the following contents: bashCopy codeFROM alpine:latest COPY your_script.sh /usr/src/app/...Docker
Babu Annamalaimysticmind.hashnode.net·Apr 12, 2023How to create unique file names in bash shellFor debugging purposes, we had to profile a Python program using cProfile which will create a .prof file with the profiled data. Also, we wanted to create unique file names for each run using a bash shell. We had a couple of options: Use Unix epoch ...Bash
Yash Kumaryashkdevops.hashnode.net·Apr 9, 2023Advanced Linux Shell Scripting for DevOps with User managementWrite a bash script createDirectories.sh that when the script is executed with three given arguments (one is directory name and second is start number of directories and third is the end number of directories ) it creates specified number of director...Devops
Krupa Patelregarding-cloud-and-devops.hashnode.net·Apr 4, 2023Basic Linux Shell Scripting for DevOps.Shell Scripting in DevOps. Shell scripting is the process of creating computer programs or scripts that are interpreted by a Unix or Linux shell, such as bash or sh. It involves writing commands and instructions in a text file that can be executed ...1 likebash script
Ruchira Barairuchiradevops.hashnode.net·Apr 1, 2023Shell Scripting Mini ProjectHello readers! In this mini project, I have written a shell script that provides the details of the server based on the below criteria. Welcoming the user with the username Information regarding the Current date and time Show the uptime of the ser...3 likes·72 readsDevops
vishal singhvishal21121.hashnode.net·Mar 31, 2023Bash Scripting 101: A Comprehensive Guide to Building Powerful ScriptsIntroduction A common command-line interface and scripting language used in Unix-based operating systems like Linux and macOS is called Bash (Bourne-Again Shell). It is an open-source application that offers a text-based user interface for communicat...1 like·34 readsBash
Akshat Aroraakshatarora.hashnode.net·Mar 30, 2023Bash ScriptingBash Scripting consists of two words bash and scripting, bash is the shell in which we are gonna write our scripts. Now, what are these scripts? Scripts are text files having one or more commands written in them, when executed the commands within the...3 likes·90 readsDevOpsLinux