Skip to content
LINUX · OPEN SOURCE · COMMUNITYIndependent editorial publication

Finding Reliable Command-Line Help on Debian

Computer keyboard in black and white
Illustrative photograph. Illustrative hardware photograph; not an original historical image. — Frederick Noronha; CC BY-SA 4.0. Source: https://commons.wikimedia.org/wiki/File:Computer_keyboard_in_black_and_white.jpg

Start with the local manual

The manual page for an installed command often provides the most relevant explanation of its options. Use man followed by the command name, and read the synopsis and examples before running an unfamiliar operation. Manual pages are divided into sections, so commands, configuration files and programming interfaces can have entries with similar names.

Check the version and package

Advice written for a different release may use options that are not available on the installed system. Record the version of the program and identify its package when comparing documentation. Many Debian packages also ship documentation under /usr/share/doc/. These files may explain Debian-specific packaging choices that do not appear in upstream instructions.

Test examples in a safe place

Create a temporary directory and sample files when experimenting with commands that move, rename or remove data. Read output carefully and avoid adding administrative privileges simply because a command failed. When asking for help, include the exact command, relevant error and version, while removing passwords and private identifiers. This gives another reader enough context to reproduce the issue without exposing unrelated information.

For related context, read Debian documentation and support. Visit the Debian Planet homepage for more guides.

References

Return to homepage