Common Linux Commands

1. ls Command This is an abbreviation for “list”. The ls command can be used to view the files contained in a Linux directory, as well as to check file permissions (including directory, folder, and file permissions), and to view directory information, etc. Common Parameter Combinations: ls -a List all files in the directory, including … Read more

Complete Guide to Linux File System Structure and User Management

Before delving into Linux system administration, it is crucial to understand the file system structure and user management mechanisms. This guide will detail the Linux File System Hierarchy Standard (FHS) and user permission management. Core Concepts of the Linux File System Basic Features of the File System There are several important features of the Linux … Read more

50 Important Linux Configuration Files Every Operations Engineer Must Know

50 Important Linux Configuration Files Every Operations Engineer Must Know

Today, I will share 50 important Linux configuration files that every operations engineer should be familiar with. How many do you know? 1 User and Permission Management Related File Path Function and Purpose <span><span>/etc/passwd</span></span> Stores basic information for all users, such as username, UID, GID, home directory, and default shell. It is the first step … Read more

Fundamentals of Linux System Administration (Essential for Java Developers)

Fundamentals of Linux System Administration (Essential for Java Developers)

For Java developers, mastering basic Linux system administration skills is essential. Whether it is deploying applications, troubleshooting issues, or performance tuning, interaction with the Linux system is necessary. This article will introduce the fundamental knowledge and practical skills of Linux system administration that Java developers must master. 1. Basic Concepts of Linux 1.1 Linux System … Read more

13 Essential Tools for Linux System Administration

13 Essential Tools for Linux System Administration

This article introduces several practical tools for Linux system administration, hoping to assist Linux administrators. 1. Monitor Process Bandwidth Usage – Nethogs Nethogs is a network traffic monitoring tool that runs in the terminal and can visually display the bandwidth used by each process. Download: http://sourceforge.net/projects/nethogs/files/nethogs/0.8/nethogs-0.8.0.tar.gz/download [root@localhost ~]# yum -y install libpcap-devel ncurses-devel [root@localhost ~]# … Read more

Security Hardening of Linux Systems

Security Hardening of Linux Systems

Security Hardening of Linux Systems Linux is a free and open-source Unix-like operating system. As an open-source operating system, Linux servers are widely used due to their significant advantages in security, efficiency, and stability. However, if permissions are not properly allocated, the security of the Linux system cannot be adequately guaranteed. Below, we will primarily … Read more

Linux Package Management

Linux Package Management

Linux Package Management In Linux systems, package management is the core mechanism for installing, updating, and maintaining software in the operating system. The package management systems in Linux are diverse, depending on the distribution, such as apt for Debian-based systems, yum/dnf for Red Hat-based systems, and pacman for Arch. These systems not only simplify software … Read more

Introduction to Linux System Emergency Response: Essential ‘System First Aid’ Skills You Must Master Amidst the Wave of Localization

Introduction to Linux System Emergency Response: Essential 'System First Aid' Skills You Must Master Amidst the Wave of Localization

1. Introduction: When Linux devices encounter issues, do you feel “at a loss”? When operations and maintenance personnel log into domestic Linux servers, they often find that SSH connections frequently fail, yet they do not know which command to use to check the login logs; small and medium-sized enterprises’ NAS devices running Ubuntu display a … Read more

Daily Linux Command: GroupAdd

Daily Linux Command: GroupAdd

<span>groupadd</span> is the command used in Linux systems to create new user groups. It is typically used by system administrators when managing user permissions or controlling resource access. πŸ”§ Basic Syntax groupadd [options] group_name βœ… Common Options Option Description <span>-g GID</span> Specifies the GID (Group ID) for the group, which must be a unique and … Read more

Daily Linux Command: UserAdd

Daily Linux Command: UserAdd

<span>useradd</span> is the command used in Linux systems to create new user accounts. It belongs to system management commands and typically requires root privileges (or the use of <span>sudo</span>) to execute. πŸ”§ Basic Syntax useradd [options] username πŸ“Œ Common Options Option Description <span>-m</span> Create the user’s home directory (usually named after the username, located at … Read more