The Power of Bash For Loops: Streamlining Your Scripting Tasks
In the world of scripting and automation, Bash stands out as a versatile and widely-used shell in Unix and Linux systems. Among its many features, the for loop is a fundamental construct that empowers users to automate repetitive tasks efficiently. In this blog post, we’ll delve into the intricacies of Bash for loops, exploring their…
How to Enable SSH on Ubuntu: A Step-by-Step Guide
Introduction Secure Shell (SSH) is an essential tool for system administrators, developers, and IT professionals. It provides a secure way to access a remote server, making it an invaluable resource for managing systems remotely. For users of Ubuntu, one of the most popular Linux distributions, setting up SSH can greatly enhance the system’s usability and…
Vim: Mastering the Essentials for Efficient Editing
Introduction In the world of text editing, Vim stands out as a powerful, keyboard-centric editor that prioritizes efficiency and speed. Originating from the Unix environment, Vim (Vi Improved) is known for its versatility and the high level of productivity it offers once you get past its steep learning curve. In this article, we’ll delve into…
MySQL 8: Understanding and Fixing Error 1819
As a beginner in MySQL, you might encounter an error message that reads “ERROR 1819 (HY000): Your password does not satisfy the current policy requirements.” This error is not a bug, but a built-in security feature of MySQL that ensures users set strong passwords. This tutorial will guide you through understanding this error and how…
Unveiling the Mystery: Decoding IP Address Retrieval in Linux
Understanding how to retrieve an IP address in Linux can be a bit tricky, especially for beginners. The good news? It’s not as complicated as it seems! We’re here to simplify it for you. Let’s dive in. Getting Started In a nutshell, an IP address is a unique identifier for your machine on a network.…
CORS in Nginx: Configuration Guide for Enhanced Security
Cross-Origin Resource Sharing (CORS) is a crucial mechanism for enabling secure communication between web servers and browsers. By providing a way for web applications to request resources from different domains, CORS helps overcome the limitations of the Same-Origin Policy (SOP), which restricts web applications from accessing data on a different domain than the one serving…
SSL CA Problem on CentOS7 Docker and Solution
When I’m playing with CentOS7 docker image on MacBookPro M1, it looks like it doesn’t connect to the servers which require HTTPS connection. For example, when I run yum -y update the command it returns curl: (77) Problem with the SSL CA cert (path? access rights?). Hmm, it looks like an OS Bug because my…
Extend your ec2 Linux disk without reboot on Amazon Web Services
For some reason, you have to extend your ec2 Linux server with our reboot and securely. In this port, you will learn how you can extend your ec2 Linux disk on aws. In this example, you will see extend the disk size from 80GiB to 120GiB. Step 1: Modify Volume Login to your AWS Console…
Find large files in CentOS, ubuntu and MacOS easily
Sometimes, maybe everybody needs to check large files in the system. There some useful commands which I’m using often. Find the big files in Linux easily. Here is the first pattern: If file size more than 250 MB in the system: Here is the results: