Daily Linux Command: fdisk

Daily Linux Command: fdisk

<span>fdisk</span> is a commonly used command-line tool in Linux for disk partition management. It can create, delete, view, and modify disk partition tables, suitable for MBR (Master Boot Record) formatted disks. For GPT formatted disks, it is recommended to use <span>gdisk</span> or <span>parted</span>. 🔧 Basic Usage sudo fdisk [options] [device] For example: sudo fdisk /dev/sda … Read more

File Comparison in Linux

File Comparison in Linux

File Comparison in Linux In Linux systems, file comparison is a common task used to identify the differences between two files. File comparison can help us find out the discrepancies between two files or determine if they are identical. There are various methods to perform file comparison in Linux. 01. diff Command In Linux, the … Read more

150 Essential Linux Commands for Enterprise Operations Staff

150 Essential Linux Commands for Enterprise Operations Staff

Click ▲ to follow “IT168 Enterprise” and pin the public account More exciting content delivered to you first Command Function Description Online Query and Help Commands (2) man View command help, a dictionary of commands; more complex is info, but it’s not commonly used. help View help for built-in Linux commands, such as the cd … Read more

Shell Scripting for Gas Technology Stack: Building on Linux Commands

Shell Scripting for Gas Technology Stack: Building on Linux Commands

Shell scripts are used to accomplish complex tasks through a series of Shell commands. Mastering common Shell commands is a prerequisite for writing Shell scripts. Essentially, Shell commands are mature programs provided by the system, and some commands are very powerful, such as <span>find</span>, <span>grep</span>, <span>awk</span>, <span>sed</span>, etc. This article summarizes some commonly used Shell … Read more

Quick Start: Summary of Common Linux Commands

Quick Start: Summary of Common Linux Commands

Summary of Common Linux Commands Introduction As a mainstream operating system in the server field, the command line operations of Linux are essential skills for every developer and operations personnel. This article summarizes the most commonly used commands in the Linux system, covering various aspects such as system management, file operations, permission control, network configuration, … Read more

Common Linux Commands for Java Development

Common Linux Commands for Java Development

Introduction Although most of my work is related to Java development, I interact with the Linux system daily, especially after using a Mac, where I work in a command-line environment with a black background. My memory isn’t great, and I often forget many useful Linux commands, so I am gradually summarizing them for future reference. … Read more

Experiencing Disk I/O Lag on Linux? Step-by-Step Guide to Identify the Culprit Process!

Experiencing Disk I/O Lag on Linux? Step-by-Step Guide to Identify the Culprit Process!

Experiencing Disk I/O Lag on Linux? Step-by-Step Guide to Identify the Culprit Process! Have you ever encountered a situation while using Linux where the disk suddenly becomes sluggish, the system response is delayed, and even entering commands takes forever? It is very likely that a certain process is excessively reading and writing to the disk, … Read more

Essential Linux Commands for Embedded Development

Essential Linux Commands for Embedded Development

w- Displays the currently logged-in user information in the system. ab- Apache server performance testing tool. ld- Links object files to create an executable program. xz- A tool for POSIX platform development with high compression rates. ln- Used to create links for files. ar- Creates or modifies archive files, or extracts from archive files. fg- … Read more

Summary of Commonly Used Linux Commands (Super Practical)

Summary of Commonly Used Linux Commands (Super Practical)

Click the blue text to follow us This article summarizes super practical Linux commands, absolutely packed with useful information. cd command 1. Syntax cd [target path] The target path can be an absolute path or a relative path. 2. Function Switch the current working directory to the specified directory. 3. Common Usage cd .. Switch … Read more

Do Not Confuse Shell Commands with Linux Commands!

Do Not Confuse Shell Commands with Linux Commands!

Under the black curtain of the terminal, Shell commands and Linux commands are like twin flames, intertwined yet distinctly characterized. Beginners often confuse the two, but in reality, they are mirror projections of ‘environment’ and ‘system’. 1. Definition Distinction: Interpreter vs Kernel Shell commands: Instructions executed through a Shell interpreter (such as Bash/Zsh), essentially serving … Read more