Archive of posts with category 'Linux'

How to Configure Docker Rotate Log on Amazon Linux 2

A growing e-commerce company needed to manage logs from its Docker containers on Amazon Linux 2. With thousands of orders processed daily, server logs grew quickly and became hard to...

Reasons to Love Linux

The Linux operating system (OS) works on servers, desktop computers, laptops, and various mobile devices, and provides a system basis for Android, Tizen, and Sailfish OS. Major computer hardware vendors,...

Custom Keyboard Shortcut Linux [Example: Generate AWS MFA Tokens]

I’ve been using this trick for a few months now. Every morning I need my AWS MFA code. Open phone, find authenticator app, squint at 6 digits, type them in...

Adding SSH Key on Gitlab – Speed up SSH communication

If you work with GitLab, you probably type your username and password every time you push code. It gets old fast. SSH keys fix that: once set up, GitLab authenticates...

Delete a File Linux - Secrets that you didn't know about it [Complete Guide]

Here is the thing about deleting files on Linux: the commands are simple, but the consequences are permanent. The rm, unlink, and rmdir commands delete files and directories, and they...

How to Merge PDF on Linux

Merging PDFs on Linux is one of those things that sounds harder than it is. Whether you’re combining signed contracts, stacking reports, or just cleaning up a folder full of...

Find command example in Linux

Find Command Example In Linux - On Linux, the Find command is one of the most useful command utilities in Unix-like operating systems.

Creating Linux Users the Right Way: Beyond useradd

I’ve broken a production server twice by creating users wrong. Once by assigning the wrong UID. Once by not understanding how the primary group assignment works. Neither time was obvious...

How to unpack tar gz files, your Ultimate Guide

If you work with Linux, you’ll run into tar.gz files constantly. Open-source projects love them. They’re like the zip format of the Unix world—everywhere you look.

Change files permissions on Linux

Managing file permissions is one of those Linux skills you need early. Get it wrong and you’re either locked out of your own files or, worse, you’ve created a security...

Rename folder on Linux

Renaming folders on Linux is straightforward once you know a few commands. I’ll cover the tools I use daily: mv for simple renames and rename for batch operations.

Zip a folder in Linux

In this post, I’ll show you how to zip folders in Linux with practical examples. I’ve been using zip for years to organize files, save disk space, and move data...

How to copy directory in Linux

Copying files and directories is one of those things I do every day on Linux. Whether I’m backing up config files, moving photos around, or deploying code to servers, knowing...

How to Flush DNS Cache on Linux

I’ve been managing Linux servers for over a decade, and DNS issues still catch me off guard sometimes. You type in a domain, hit Enter, and… nothing. Or worse, you’re...

How to Learn Linux Step by Step

How to Learn Linux Step by Step: A guide for beginners

What is xargs in Linux

What is xargs in Linux: 20 practical examples

Xargs in Linux with bash -c and create a group of commands.

Xargs in Linux transforms standard input into command arguments. Put simply, it takes the output of one command and uses it as input for another.