Join 34,780 other Developers as we Learn, Build, and Grow Together.

Connect with fellow developers and gain access to tools that will help you build a profitable SaaS 🚀

Sign Up

Bash

Bash posts, videos, courses, and more

What is a Fork Bomb in Linux and how to stop it?

What is a Fork Bomb in Linux and how to stop it?

Introduction A fork bomb (also known as a rabbit virus) is a denial-of-service attack that consists of a process that constantly replicates itself to exhaust all available system resources, slowing down or crashing the system due to resource starvation. Here's an example of the most popular fork bomb in Linux: :(){ :|:& };:...

Bobby Iliev

3 months ago

8
Select One:
17 Special Characters in the Shell That You Should Know

17 Special Characters in the Shell That You Should Know

Introduction In Unix systems, the shell is a command-line interpreter. It provides a command-line user interface (CLI). The shell is a scripting language that you could use to write scripts like any other programming language and it is also an interactive command language. It is used by the operating system to control the execut...

Bobby Iliev

3 months ago

9
Select One:
[Video] Bash Scripting Crash Course + Giveaway ⭐

[Video] Bash Scripting Crash Course + Giveaway ⭐

Introduction Hello everybody! Welcome to this Introduction to bash scripting video series, where you will learn the basics of bash scripting and start creating some awesome scripts! My name is Bobby and I've been working as a Linux system administrator for the past 7 years and a few months ago I wrote an opensource ebook on how...

Bobby Iliev

7 months ago

6
Select One:
How to create an eBook from Markdown using Ibis?

How to create an eBook from Markdown using Ibis?

Introduction A few months ago I wrote an open-source eBook on how to get started with Bash Scripting. This is when I came across a tool called Ibis created by Mohamed Said who is a Developer at Laravel. Ibis allows you to generate an awesome PDF for your eBook, and you can just use markdown! In this tutorial, I will show you how...

Bobby Iliev

7 months ago

8
Select One:
Introduction to Bash Scripting

Introduction to Bash Scripting

Hello everybody! Welcome to this Introduction to bash scripting video series, where you will learn the basics of bash scripting and start creating some awesome scripts! My name is Bobby and I've been working as a Linux system administrator for the past 7 years and a few months ago I wrote an opensource ebook on how to get starte...

Bobby Iliev

7 months ago

7
Select One:
How to squash multiple commits into one with Git?

How to squash multiple commits into one with Git?

Introduction Git is a huge reason why the web dev community is so awesome. You can join an open-source project and add some amazing stuff to it. By committing your code and pushing it, you can share your creation with the project's creator and the open-source community. And while doing this, you are helping both yourself and the...

Bobby Iliev

7 months ago

8
Select One:
Here is why you should not be too quick at judging people by their GitHub activity stats

Here is why you should not be too quick at judging people by their GitHub activity stats

Introduction I am a supporter of the opensource movement and I truly admire people like Eddie Jaoude, Matt Cowley and all other open-source maintainers who work hard every day so that we could have awesome software! 🙏 I strongly encourage everyone to be active in the open-source world and make meaningful contributions. If you ar...

Bobby Iliev

7 months ago

11
Select One:
The best way of Recording and Sharing your Terminal with Asciinema

The best way of Recording and Sharing your Terminal with Asciinema

Introduction Many times, I've been in a situation where I want to share a recording of my screen with a colleague. Still, then the video size would be too large to share over email, or if you send it over Slack, it might take ages to upload, then sometimes the quality also drops, and it is basically unusable. Luckily Asciinema h...

Bobby Iliev

8 months ago

11
Select One:
11 Nano shortcuts that you should know

11 Nano shortcuts that you should know

Introduction Probably everyone that uses a Linux OS is familiar with what nano is. But if you aren't aware, don't worry. Nano is a Unix and Linux operating system command line text editor. What this means is that this is essentially a text editor built into your terminal. How awesome is that! Of course, it can not be compared to...

Bobby Iliev

8 months ago

10
Select One:
Open-Source Introduction to Bash Scripting Ebook/Guide

Open-Source Introduction to Bash Scripting Ebook/Guide

💡 Introduction to Bash Scripting Ebook/Guide I have just released an open-source introduction to Bash scripting ebook/guide that will help you learn the basics of Bash scripting and start writing awesome Bash scripts that will help you automate your daily SysOps, DevOps, and Dev tasks. No matter if you are a DevOps/SysOps engine...

Bobby Iliev

9 months ago

10
Select One:
Git Command Introduction

Git Command Introduction

Learning the Git commands can significantly increase your productivity. In this tutorial I'm going to show and explain to you some of the most common git commands, and commands you should probably know. Let's begin 🚀 Configure Git Before using Git, you will need to learn how to configure it on your machine. You can do that with...

Aman Jaswal

1 year ago

7
Select One:
How to create an interactive menu in Bash?

How to create an interactive menu in Bash?

Introduction No matter if you are a DevOps/SysOps engineer, developer, or just a Linux enthusiast, you can use Bash scripts to combine different Linux commands and automate boring and repetitive daily tasks, so that you can focus on more productive and fun things. In this tutorial, I will show you how to create a multiple-choice...

Bobby Iliev

1 year ago

9
Select One:
Top 10 Nginx Commands to Help You Manage Your Server Like a Pro

Top 10 Nginx Commands to Help You Manage Your Server Like a Pro

Introduction If you have ever done any web development, it is very likely that you've heard of Nginx. Nginx is an open-source web server. It can also be used as a reverse proxy, a caching server, a load balancing, even a media streaming server, and more. In this tutorial, I will show you 10 commands that will help you manage you...

Server Enthusiast

1 year ago

7
Select One:
How to Transfer Files from One Linux Server to Another Using rsync?

How to Transfer Files from One Linux Server to Another Using rsync?

Introduction The rsync command is probably one of the most used commands out there. It is used to securely copy files from one server to another over SSH. Compared to the scp command, which does a similar thing, rsync makes the transfer a lot faster, and in case of an interruption, you could restore/resume the transfer process....

Bobby Iliev

1 year ago

8
Select One:
Cool way of sharing your Linux terminal session with named pipe/FIFO

Cool way of sharing your Linux terminal session with named pipe/FIFO

Introduction In Linux and other Unix systems, a pipe is a way of redirecting the output of one command or a process to another. This is also known as an unnamed pipe. For example, you could combine the following two commands: ls -lah | grep some_string With the above command, you would forward the output of the ls -lah command...

Bobby Iliev

1 year ago

6
Select One:
How to change the Docker ps output format?

How to change the Docker ps output format?

Introduction Docker is an open platform for developing, shipping, and running applications. If you are new to Docker I would recommend going through this Introduction to Docker tutorial! In this tutorial, you’ll learn how to customize the output of the docker ps command so that it only shows the fields that you really need. Prer...

Bobby Iliev

1 year ago

7
Select One:
How to securely login to MySQL without providing password each time?

How to securely login to MySQL without providing password each time?

Introduction Using a long and secure MySQL password is necessary, however having to type that long password every time you run mysql -u root -p could be a bit frustrating especially if you want to run some MySQL commands in a script without being prompted for a password. One way to login to MySQL is to append your password right...

Bobby Iliev

1 year ago

6
Select One:
How to write your first Bash script?

How to write your first Bash script?

Introduction Bash scripting lets you automate a lot of your tasks on Linux and UNIX systems. Bash combines the power of the Linux commands and tools with a powerful and robust scripting language. Bash is widely available on various operating systems. In many cases, Bash is also the default command interpreter on most Linux syste...

Bobby Iliev

1 year ago

6
Select One:
Bash Script to Automatically Enable Cloudflare DDoS Protection

Bash Script to Automatically Enable Cloudflare DDoS Protection

Introduction 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 behind their CDN. My personal favorite Cloudflare feature is their free DDoS protec...

Bobby Iliev

1 year ago

7
Select One:
How to proxy your web traffic via your Linux Server without a VPN?

How to proxy your web traffic via your Linux Server without a VPN?

In this video I will show you a pretty cool and easy way on how to proxy your web traffic without having to install a VPN or do any special server configuration by just using SSH tunneling!All you would need is a server and SSH access.You can use my DigitalOcean referral code to get a free $100 credit to spin up your own servers...

Bobby Iliev

1 year ago

6
Select One:
How to create custom bash commands?

How to create custom bash commands?

Introduction As a developer or system administrator, you might have to spend a lot of time in your terminal. I always try to look for ways to optimize any repetitive tasks. One way to do that is to either write short bash scripts or create custom commands also known as aliases. For example, rather than typing a really long comma...

Bobby Iliev

1 year ago

6
Select One:
Fun tech quiz questions directly in your terminal

Fun tech quiz questions directly in your terminal

Introduction Quizzes are a great way to test your knowledge on a specific topic. So I decided to create a tool called the Quiz API! Quiz API is a simple HTTP REST API for technical quizzes including a wide variety of topics like: Linux, DevOps, Programming (PHP, JS, Python and etc.), Docker, Kubernetes and lots more! It is free...

Bobby Iliev

1 year ago

7
Select One:
SSL Checker Linux Command Line Tool

SSL Checker Linux Command Line Tool

IntroductionThe SSL Checker tool allows you to quickly diagnose problems with your SSL certificate installation and also gives you some useful information like when your SSL certificate would expire, the issuer of the certificate, and more.As a Linux terminal lover and a person who lives in the shell, I've decided to w...

Bobby Iliev

1 year ago

6
Select One:
BASH Script to Summarize Your NGINX and Apache Access Logs

BASH Script to Summarize Your NGINX and Apache Access Logs

IntroductionOne of the first things that I would usually do in case I notice a high CPU usage on some of my Linux servers would be to check the process list with either top or htop and in case that I notice a lot of Apache or Nginx process I would quickly check my access logs to determine what has caused or is causing the CPU sp...

Bobby Iliev

1 year ago

7
Select One:
How to work with JSON in BASH using jq?

How to work with JSON in BASH using jq?

IntroductionThe jq command-line tool is is a lightweight and flexible command-line JSON processor. It is great for parsing JSON output in BASH.One of the great things about jq is that it is written in portable C, and it has zero runtime dependencies. All you need to do is to download a single binary or use a package manager...

Bobby Iliev

1 year ago

6
Select One:
Executing BASH script on Multiple Remote Servers

Executing BASH script on Multiple Remote Servers

Bash is a Unix shell, which is a command line interface (CLI) for interacting with an operating system. Any command that you can run from the command line can be used in a bash script. Scripts are used to run a series of commands. Bash is available by default on Linux and macOS operating systems.Let's have a hypothetical scenari...

Bobby Iliev

2 years ago

5
Select One:
How to edit your bash prompt

How to edit your bash prompt

Learn how to edit your bash shell prompt. It's really easy. To change your bash shell prompt you will enter in the following in your ~/.bash_profile or .bashrc file:

Tony Lea

6 years ago

Select One:

Loading More Content