Summary of Common Linux Commands and Their Full English Names

  • 1 Why are Linux commands abbreviated?
  • 2 List of Common Linux Commands and Their Full English Names
    • 2.1 File and Directory Operation Commands
    • 2.2 System Management and Permission Management Commands
    • 2.3 Network Related Commands
    • 2.4 Text Processing and Search Commands
    • 2.5 Other Common Commands and Terms
  • 3 Some Interesting Facts About Abbreviations
  • 4 Conclusion

Hello everyone, I am Keweizhou, today I will share with you the common Linux commands and their English abbreviations. For more technical content, please follow the WeChat public account Keweizhou’s AI Notes~

1 Why are Linux commands abbreviated?

The Linux operating system is known for its powerful command line interface. Behind this efficient toolset is a design philosophy aimed at enhancing efficiency. In a pure terminal environment, every keystroke is crucial. Using lengthy full-name commands (for example, having to type <span>change directory</span> instead of <span>cd</span>) is undoubtedly inefficient and tedious. Therefore, shortening commands to concise abbreviations has become a necessity.

These abbreviations are not created arbitrarily, but follow some common rules:

  • Initialism: The most common rule, which takes the first letters of keywords that describe the command’s function. For example:<span>cd</span> = <span>Change Directory</span>, <span>pwd</span> = <span>Print Working Directory</span>, <span>ps</span> = <span>Process Status</span>.
  • Taking the first few letters of a word: For single words, usually the first two or three letters are taken. For example:<span>cp</span> = <span>CoPy</span>, <span>ls</span> = <span>LiSt</span>, <span>mv</span> = <span>MoVe</span>, <span>rm</span> = <span>ReMove</span>, <span>su</span> = <span>Substitute User</span> or <span>Switch User</span>.
  • Retaining pronunciation or common combinations: When the first letter is followed by “h”, it is usually retained. For example:<span>chmod</span> = <span>CHange MODe</span>, <span>chown</span> = <span>CHange OWNer</span>.
  • Recursive abbreviations: Some abbreviations contain self-reference, with a unique sense of humor among geeks. For example:<span>GNU</span> = <span>GNU's Not Unix</span>, <span>PHP</span> = <span>PHP: Hypertext Preprocessor</span>, <span>WINE</span> = <span>WINE Is Not an Emulator</span>.

Understanding these full English names can help you visually remember the function of commands and allow you to gain a deeper understanding of Linux’s design philosophy. When you know that <span>grep</span> is the abbreviation for <span>Global Regular Expression Print</span>, you can immediately understand that the core function of this command is to match and print with global regular expressions.

2 List of Common Linux Commands and Their Full English Names

The table below categorizes common commands in Linux along with their full English names and brief descriptions.

2.1 File and Directory Operation Commands

These commands are used to manage files and directories and are the most frequently used group of commands.

Command Full English Name Chinese Meaning Function Summary
<span>ls</span> <span>List</span> List List directory contents
<span>cd</span> <span>Change Directory</span> Change Directory Change the current working directory
<span>pwd</span> <span>Print Working Directory</span> Print Working Directory Display the full path of the current directory
<span>cp</span> <span>CoPy</span> Copy Copy files or directories
<span>mv</span> <span>MoVe</span> Move Move or rename files or directories
<span>rm</span> <span>ReMove</span> Delete Delete files or directories
<span>mkdir</span> <span>MaKe Directory</span> Create Directory Create a new directory
<span>rmdir</span> <span>ReMove Directory</span> Delete Directory Delete an empty directory
<span>touch</span> <span>Touch</span> Touch Create an empty file or update the file timestamp
<span>cat</span> <span>CATenate</span> Concatenate Concatenate files and print to standard output
<span>more</span> <span>More</span> More Display file contents page by page (forward)
<span>less</span> <span>Less</span> Less Similar to <span>more</span>, but with more features (can page back and forth)
<span>head</span> <span>Head</span> Head Display the beginning part of a file
<span>tail</span> <span>Tail</span> Tail Display the end part of a file
<span>find</span> <span>Find</span> Find Search for files in a specified directory
<span>tar</span> <span>Tape ARchive</span> Tape Archive Package or unpack multiple files
<span>gzip</span> <span>GNU Zip</span> GNU Compression Compress files
<span>gunzip</span> <span>GNU UnZip</span> GNU Decompression Decompress files compressed by gzip
<span>diff</span> <span>DIFFerence</span> Difference Compare the differences between two files
<span>wc</span> <span>Word Count</span> Word Count Count lines, words, and bytes in a file

2.2 System Management and Permission Management Commands

These commands are used to manage system processes, user permissions, and shutdown/reboot operations.

Command Full English Name Chinese Meaning Function Summary
<span>ps</span> <span>Process Status</span> Process Status Display the status information of current processes
<span>top</span> <span>Table Of Processes</span> Process List Dynamically display system processes and resource usage
<span>kill</span> <span>Kill</span> Terminate Send a signal to a process to terminate it
<span>shutdown</span> <span>Shutdown</span> Shutdown Safely shut down or reboot the system
<span>reboot</span> <span>Reboot</span> Reboot Restart the system
<span>sudo</span> <span>Super User DO</span> Super User Execute Execute commands with superuser (root) privileges
<span>su</span> <span>Substitute User</span> Switch User Switch user identity
<span>passwd</span> <span>PASSWorD</span> Password Change user password
<span>chmod</span> <span>CHange MODe</span> Change Mode Change access permissions of files or directories
<span>chown</span> <span>CHange OWNer</span> Change Owner Change the owner of files or directories
<span>chgrp</span> <span>CHange GRouP</span> Change Group Change the group ownership of files or directories
<span>df</span> <span>Disk Free</span> Disk Free Space Display disk space usage of the file system
<span>du</span> <span>Disk Usage</span> Disk Usage Display disk usage of files or directories
<span>uname</span> <span>Unix Name</span> Unix Name Print system information
<span>man</span> <span>MANual</span> Manual View the help manual for commands

2.3 Network Related Commands

These commands are used to configure networks, check network status, and perform remote logins.

Command Full English Name Chinese Meaning Function Summary
<span>ssh</span> <span>Secure SHell</span> Secure Shell Securely log in to a remote host via an encrypted connection
<span>scp</span> <span>Secure CoPy</span> Secure Copy Securely copy files between local and remote hosts
<span>ping</span> <span>Packet InterNet Groper</span> Internet Packet Explorer Test network connectivity to another host
<span>ifconfig</span> <span>Interface CONFIGure</span> Interface Configuration Configure or display network interface parameters
<span>netstat</span> <span>NETwork STATistics</span> Network Statistics Display network connections, routing tables, interface statistics, etc.
<span>wget</span> <span>World Wide Web GET</span> World Wide Web Get Download files from the web
<span>curl</span> <span>Client for URLs</span> URL Client A file transfer tool that works with URL rules in the command line

2.4 Text Processing and Search Commands

These commands are powerful tools for text processing, especially suitable for handling log files and configuration files.

Command Full English Name Chinese Meaning Function Summary
<span>grep</span> <span>Global Regular Expression Print</span> Global Regular Expression Print Search text using regular expressions and print matching lines
<span>sed</span> <span>Stream EDitor</span> Stream Editor A stream editor for parsing and transforming text
<span>awk</span> <span>Aho, Weinberger, Kernighan</span> Initials of the three founders A powerful text analysis programming language
<span>sort</span> <span>Sort</span> Sort Sort text lines
<span>uniq</span> <span>UNIQue</span> Unique Report or ignore duplicate lines in a file
<span>vi</span>/<span>vim</span> <span>Visual Editor</span> / <span>Vi IMproved</span> Visual Editor / Improved Vi A powerful text editor
<span>nano</span> <span>Nano's ANOther editor</span> Another editor by Nano An easy-to-use command line text editor

2.5 Other Common Commands and Terms

Command/Term Full English Name Chinese Meaning Function Summary
<span>dd</span> <span>Disk Dump</span> (or <span>Convert and Copy</span>) Disk Dump Used for converting and copying files, often used in disk operations
<span>ln</span> <span>LiNk</span> Link Create file links (hard links or soft links)
<span>echo</span> <span>Echo</span> Echo Display a line of text in the terminal
<span>alias</span> <span>Alias</span> Alias Create an alias for a command
<span>bash</span> <span>Bourne-Again SHell</span> Bourne Again Shell The most popular Linux command line interpreter
<span>cron</span> <span>Chronos</span> (Greek for time) Scheduled Tasks A daemon for executing scheduled tasks

3 Some Interesting Facts About Abbreviations

The world of Linux is not only full of efficiency but also fun. For example:

  • biff: The name of this mail notification command comes from a dog owned by developer Heidi Stettner at the University of California, Berkeley, who particularly liked to bark at the mailman.
  • apt: A powerful package management tool for Ubuntu/Debian systems, the full name is <span>Advanced Packaging Tool</span> (Advanced Packaging Tool).
  • MySQL: The <span>My</span> in MySQL is the name of the daughter of co-founder Michael Widenius, and <span>SQL</span> stands for <span>Structured Query Language</span> (Structured Query Language).

4 Conclusion

Familiarity with these commands’ full English names not only helps to remember the functions of the commands themselves, but also allows you to quickly infer their possible uses based on their abbreviations when encountering new commands. For example, when you see commands starting with <span>ch</span> (such as <span>chmod</span>, <span>chown</span>), you can guess that they are likely related to “changing” certain settings.

Ultimately, the best way to master Linux commands is to practice in the command line environment and make good use of the <span>man</span> (manual) command to consult official documentation. I hope this summary can be a powerful tool for your exploration of the Linux world.

【Reprint Notice】: Please indicate the original source and author information when reprinting

Leave a Comment