Comprehensive Guide to File Matching in Linux: From Wildcards to Regular Expressions

When operating files in Linux, the most common actions are viewing, copying, moving, and deleting. Behind these commands, a low-key yet ubiquitous helper is the wildcard. However, sometimes the filenames to match are too numerous or complex, and wildcards fall short. At this point, regular expressions come into play. In this article, we will clarify … Read more

Daily Linux Command: mkdir

Do you need to memorize Linux commands? Daily Linux Command: man The mkdir(1) command is used to create directories, with its argument being the path name of the new directory. ✦•———-Basic Usage———-•✦ Simply follow the command with the path of the new directory. It can be either a relative path or an absolute path. If … Read more

Understanding Core Concepts and Pattern Rules in Makefile

Recently, I have been learning about the wildcard % in makefiles. At first, I found it quite confusing, but gradually I understood that it is fundamentally different from the wildcard * in Linux; it is more like a wildcard specifically designed for makefiles. Let’s break this down step by step. First, let’s understand the core … Read more

Understanding MQTT Topics

Understanding MQTT Topics

Table of Contents Series Article Directory Introduction 1. Topic Wildcards 1.1 Single-Level Wildcards 1.2 Multi-Level Wildcards 2. System Topics 3. Testing System Topics with MQTTX 3.1 Enable Access Permissions 3.2 EMQX Cluster Node List 3.3 Subscribe to EMQX Version Topic 3.4 Subscribe to Online/Offline Topics Conclusion Introduction The MQTT topic is essentially a UTF-8 encoded … Read more