Cross Compilation Techniques for Embedded Systems Based on Buildroot

Cross Compilation Techniques for Embedded Systems Based on Buildroot

1. Introduction Nowadays, IOT device security research needs to address products with different architectures. Given that compiling for different architectures is a skill that practitioners need to master. The mainstream device architectures today mainly include x86_64, arm, and mips. The compilation for different instruction sets and how to handle errors is also the topic discussed … Read more

Linux Security Hardening: Prevention Is Key

Linux Security Hardening: Prevention Is Key

In today’s rapidly changing technology landscape, attackers are attempting to infiltrate enterprise IT infrastructures using ever-evolving malware and phishing techniques to obtain sensitive data. Particularly in Linux systems, the open-source nature can lead to default configurations becoming security blind spots, posing potential threats to the protection of core business assets. This article will mainly focus … Read more

Modify /tmp Auto Cleanup Cycle in Linux

Modify /tmp Auto Cleanup Cycle in Linux

1. Problem Phenomenon 2. Problem Resolution In Linux systems using the systemd program, files in the <span>/tmp</span> directory are automatically cleaned up. By default, the system uses the <span>systemd-tmpfiles-clean</span> service to manage files in the <span>/tmp</span> directory and decides when to delete them based on their access time. The specific cleanup strategy depends on the … Read more

Cross-Platform Sharing Using Samba (Linux and Windows)

Cross-Platform Sharing Using Samba (Linux and Windows)

1. Install Samba Service sudo apt update sudo apt install samba samba-common smbclient # Install core packages 2. Configure Samba Service Start and set the service to launch on boot: sudo systemctl start smbd nmbd # Start smbd and nmbd services sudo systemctl enable smbd nmbd # Set to launch on boot Create a shared … Read more

Multiple Ways and Tips for SSH Passwordless Login Between Linux Servers

Multiple Ways and Tips for SSH Passwordless Login Between Linux Servers

In Linux server management, achieving passwordless login cangreatly improve work efficiency, reducing the hassle of frequently entering passwords. However, in practical operations, we may encounter various restrictions, such asnot knowing the root user password,being unable to use<span>ssh-copy-id</span> command,SSH service running on a non-default port, etc. This article will detail how to achieve passwordless login between … Read more

6 Essential Commands to Restart Your Linux System from Terminal

6 Essential Commands to Restart Your Linux System from Terminal

In an era where you can manage everything with a mouse click, why still resort to command-line to restart your system? The answer is simple: the terminal is the soul of Linux. It allows you to maintain control over your system even when it crashes, during remote logins, or when you need to perform bulk … Read more

Why GNOME OS Is the Simple Choice Every Linux User Dreams Of

Why GNOME OS Is the Simple Choice Every Linux User Dreams Of

链接:https://www.linuxmi.com/gnome-os-is-worth-looking-forward-to.html For many years, I have been using Linux on and off, and for most of that time, I have chosen the GNOME desktop environment. Even the GNOME applications are my daily favorites. Honestly, I often wish I could just tell people, “I use GNOME,” instead of vaguely saying, “I use Linux.” This is also … Read more

Practical Linux Text Processing Tools: Essential Skills for Log Analysis

Practical Linux Text Processing Tools: Essential Skills for Log Analysis

tail, grep, and awk are three commonly used command-line tools in Linux/Unix environments. Each has its own focus, but they are often used together to process text data. 1. <span><span>tail</span></span>: View the end of a file Function: Displays the end portion of a file (default last 10 lines), commonly used for viewing logs or real-time … Read more

In-Depth Analysis of the Locate Command for Linux Experts

In-Depth Analysis of the Locate Command for Linux Experts

In the daily use of Linux systems, file searching is one of the high-frequency operations.<span><span>locate</span></span> command has become an “efficiency accelerator” for many developers and administrators due to its extremely fast search speed. Its core advantage lies in bypassing the cumbersome process of real-time traversing the file system, instead achieving “sub-second response” through a pre-built … Read more

Types of Signals in Linux

Types of Signals in Linux

Signals 1. Types of Signals 1.1 Special Keys in Terminal ctl + c generates SIGINT ctl + z generates SIGTSTP ctl + \ generates SIGQUIT kill -9 pid generates SIGKILL 1.2 Hardware Exceptions Illegal Instruction Privilege Instruction Division by Zero Segmentation Fault Bus Error 1.3 Software Exceptions Illegal Memory Access Out of Bounds Access Stack … Read more