Practical Guide to High-Risk Port Control Strategies and Firewall Configuration in Linux

Practical Guide to High-Risk Port Control Strategies and Firewall Configuration in Linux

In today’s rapidly accelerating digital transformation, the Linux operating system, as the mainstream OS for servers and edge computing devices, directly impacts the protection of enterprise data assets and user privacy. This guide will present a practical security hardening solution from the core dimensions of security reinforcement, combined with code examples, focusing on two key … Read more

A 10-Year Operations Veteran’s Linux Command Arsenal

A 10-Year Operations Veteran's Linux Command Arsenal

Click the blue “Most Programmer” to follow me! Add a “star“, every day at 18:03 to learn technology together Redirection Standard input stdin: code is 0, use < or <<Standard output stdout: code is 1, use > or >>Standard error output stderr: code is 2, use 2> or 2>>Special syntax: write both stdout and stderr … Read more

Linux Security: Easily Scan Your Servers for Rootkits

Linux Security: Easily Scan Your Servers for Rootkits

Open-source tools like Linux Malware Detect and Chkrootkit can alert you to unwanted visitors on your server. Translated from “Linux Security: Scan Your Servers for Rootkits With Ease” by Jack Wallen. Linux is one of the most secure operating systems on the planet. However, nothing is absolutely secure, and if a server is connected to … Read more

Comprehensive Guide to Linux Command Delimiters: A Veteran’s Insights on Command Line Mastery

Comprehensive Guide to Linux Command Delimiters: A Veteran's Insights on Command Line Mastery

As a Linux operations engineer, mastering command delimiters is a key skill to enhance work efficiency. This article will detail commonly used command delimiters in the CentOS7 system and their usage techniques, helping you operate the command line with ease. 01 Basic Delimiters Semicolon (;) and Logical AND (&&) 1. Semicolon (;) – Execute sequentially … Read more

Linux Scheduled Task Management Tips to Enhance Work Efficiency

Linux Scheduled Task Management Tips to Enhance Work Efficiency

In the digital age, operations and maintenance engineers often have a few “invisible employees” on their computers—these tools never complain about overtime, are on standby 24 hours a day, and complete every task on time. This is the superpower that Linux scheduled tasks provide to the system. When you notice that the server automatically backs … Read more

Fixing Special Characters in Linux Scripts

Fixing Special Characters in Linux Scripts

The scripts required for this article can be directly copied in the format of this article: train_script.sh #!/bin/bash train=( " ____ " " _|____|____ " " | _________ | " " | _ _ | " " |_| |_| |_| " ) cols=$(tput cols) train_width=0 for line in "${train[@]}"; do (( ${#line} > train_width )) … Read more

Changing Network Interface Names to eth0 and eth1 in Linux Systems

Changing Network Interface Names to eth0 and eth1 in Linux Systems

Warm Reminder Reading on WeChat public account may result in poor code formatting, incorrect formatting after copying code, outdated content, and advertisement issues. It is strongly recommended to click the Read the Original link at the bottom left of the article for viewing. Tips Changing Network Interface Names to eth0 and eth1 in Linux Systems … Read more

Learning Linux with an AI Teaching Assistant

Learning Linux with an AI Teaching Assistant

In the past couple of years, I often tell my students that when they encounter difficult problems, they should first consult the silicon-based AI assistant, and if that doesn’t solve the issue, then come to me, the carbon-based teacher. Recently, I developed an AI teaching assistant for learning Linux. After a period of testing, the … Read more

inxi: The Ultimate Tool for Retrieving Linux Hardware Information

inxi: The Ultimate Tool for Retrieving Linux Hardware Information

In the Linux world, there are many ways to obtain hardware information, such as <span>lscpu</span>, <span>free</span>, <span>lsblk</span>, and so on, but these commands usually focus on specific aspects. The uniqueness of <span>inxi</span> lies in its ability to integrate these scattered pieces of information. Today, we will explore this amazing tool. Installing inxi inxi can be … Read more