Common Linux Commands Notes

Common Linux Commands Notes

1. Quick Reference Table for Linux Paths Syntax Meaning Example Description <span><span>/</span></span> πŸŸ₯ Root Directory <span><span>/etc/hosts</span></span> Starting point for all paths <span><span>.</span></span> 🟩 Current Directory <span><span>./script.sh</span></span> Indicates “in the current directory” <span><span>..</span></span> 🟨 Parent Directory <span><span>../file.txt</span></span> Parent directory of the current directory <span><span>~</span></span> 🟦 Current User’s Home Directory <span><span>~/docs</span></span> Equivalent to <span><span>/home/username</span></span> <span><span>~user</span></span> πŸŸͺ Specified … Read more

Essential Linux Commands for Interviews, Including Scenario-Based Questions

Essential Linux Commands for Interviews, Including Scenario-Based Questions

WeChat Official Account: Network Technology Alliance As a Linux user or operations engineer, mastering the Linux command line is one of the core competencies in interviews. Whether it’s checking system status, managing files, configuring networks, or troubleshooting issues, Linux command line tools can significantly enhance your efficiency. This article will provide a detailed overview of … Read more

Daily Linux Command: ls

Daily Linux Command: ls

<span>ls</span> is one of the most commonly used commands in Linux, used to list files and subdirectories in a directory. It is an abbreviation for “list”. 🧾 Basic Syntax ls [options] [filename or directory name] If no directory is specified, <span>ls</span> will list the contents of the current directory by default. πŸ“Œ Common Options Option … Read more

Summary of the 150 Most Common Commands for Linux System Administrators

Summary of the 150 Most Common Commands for Linux System Administrators

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

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