Welcome to the DevDojo

Join our developer community and we can all learn together, build together, and grow together.

Bash

Bash posts, videos, courses, and more

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 kno...
Git Command Introduction

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...
How to create an interactive menu in Bash?

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 lo...
Top 10 Nginx Commands to Help You Manage Your Server Like a Pro

How to get started with the apt command on Ubuntu/Debian Linux?

Introduction If you are just getting started with Ubuntu or any other Debian based Linux distributions, it is more likely than not for you to have used or heard of the apt command. APT stands for Adva...
How to get started with the apt command on Ubuntu/Debian Linux?

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 sim...
How to Transfer Files from One Linux Server to Another Using rsync?

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 th...
Cool way of sharing your Linux terminal session with named pipe/FIFO

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 tutor...
How to change the Docker ps output format?

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...
How to securely login to MySQL without providing password each time?

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...
How to write your first Bash script?

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 use...
Bash Script to Automatically Enable Cloudflare DDoS Protection

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 wou...
How to proxy your web traffic via your Linux Server without a VPN?

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 ei...
How to create custom bash commands?

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...
Fun tech quiz questions directly in your terminal

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 woul...
SSL Checker Linux Command Line Tool

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...
BASH Script to Summarize Your NGINX and Apache Access Logs

17 Special Characters in the Shell That You Should Know

IntroductionIn 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 a...
17 Special Characters in the Shell That You Should Know

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 writt...
How to work with JSON in BASH using jq?

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 use...
Executing BASH script on Multiple Remote Servers

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:
How to edit your bash prompt

Loading More Content

© 2020 DevDojo LLC. All rights reserved.