Master Linux Command Basics: Usage, Locations, and Help Retrieval
This article explains Linux command syntax, where program files are stored, how to obtain help for both internal and external commands, and outlines the structure and purpose of man page sections, providing a solid foundation for system administration tasks.
1. Linux command usage format
Linux commands follow a specific syntax: command [options] [arguments]. Options modify command behavior, while arguments specify targets or inputs.
2. Linux system program file locations
Executable program files are typically stored in directories such as /bin, /usr/bin, /sbin, and /usr/sbin. Libraries reside in /lib or /usr/lib, and configuration files are often found under /etc.
3. Linux get command help information
Distinguishing internal and external commands
Internal commands are loaded into memory at system startup and run efficiently, while external commands are separate executable files loaded from disk when needed.
Getting help for internal commands
Use #help COMMAND to display built‑in help.
Getting help for external commands
Manual page: #man COMMAND (files located in /usr/share/man)
Short help options: #COMMAND --help or #COMMAND -h Info pages: #info COMMAND Program documentation files: README, INSTALL, ChangeLog
Official documentation directories: Documentation, vendor docs
Search online (e.g., Google)
Man page sections
The manual is divided into sections such as:
Executable commands and files
System calls and kernel interfaces
Library functions (mostly C library)
Device file specifications (usually under /dev)
File formats and configuration files
Games
Conventions and standards (e.g., file system layout, network protocols, ASCII)
System administration commands
Kernel‑related files (post‑CentOS 7)
Understanding these sections helps users locate the information they need quickly.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
MaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
