ArticleslgStudy

science

Apropos (Unix)

Apropos (Unix) is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Apropos (Unix) rather than just read about it. In short: In computing, apropos is a command to search the man page files in Unix and Unix-like operating systems. Apropos takes its name from the French "à propos" (Latin "ad prōpositum") which means about.

Key takeaways

  • Apropos (Unix) belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Apropos (Unix) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Apropos (Unix) from memory before moving on to harder problems.

Reference excerpt

In computing, apropos is a command to search the man page files in Unix and Unix-like operating systems. Apropos takes its name from the French "à propos" (Latin "ad prōpositum") which means about. It is particularly useful when searching for commands without knowing their exact names.

Behavior Often a wrapper for the man -k command, the apropos command is used to search the "name" sections of all manual pages for the specified string or strings (called keywords). The output is a list of all manual pages containing the search term (case insensitive) in their name or description. This is often useful if one knows the action that is desired, but does not remember the exact command or page name. apropos usually searches in a precompiled database that is shared with whatis, a command for obtaining the brief description of a specific command whose exact name is already known.

Sample usage The following example demonstrates the output of the apropos command:

In this example, apropos is used to search for the keyword "mount", and apropos returns the indicated man pages that include the term "mount". The following example demonstrates the output of the apropos command with an regexp keyword (abc.n) and a regular keyword:

In this example, apropos is used to search for the keywords (with a regular expression) "abc.n" and xzless, and apropos returns the indicated man pages that include the keywords.

Related utilities whatis is a command for obtaining the brief description of a specific command whose exact name is already known. It uses the same database as apropos does. On systems with mandoc, it is a wrapper for apropos -f (search by name only).

makewhatis is a command for indexing all on-disk manuals into a database that apropos and whatis can read from. It first appeared in the 2BSD of 1979, but has since been rewritten multiple times in different implementations of man. mandb is a command that performs the same function in man-db. The database is traditionally plain text, but man-db, the implementation found on many Linux distributions, use a Berkeley DB instead. The mandoc implementation used on many BSD distributions likewise has its own innovations on the format.

See also whatis

References

External links apropos(1) – BSD General Commands Manual apropos(1) – OpenBSD General Commands Manual apropos(1) – Linux General Commands Manual from ManKier.com Apropos at the LinuxQuestions.org wiki

Worked examples

Example 1 — a first encounter with Apropos (Unix)

Start with the simplest possible case. Write down what Apropos (Unix) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Apropos (Unix) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Apropos (Unix) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Apropos (Unix)

In research
Apropos (Unix) appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Apropos (Unix) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Apropos (Unix) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Unix text processing utilities, so understanding it makes those chapters shorter.
In everyday life
Look for Apropos (Unix) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Apropos (Unix)” →

How to study Apropos (Unix) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Apropos (Unix) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Apropos (Unix) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Apropos (Unix) in simple terms?

In computing, apropos is a command to search the man page files in Unix and Unix-like operating systems. Apropos takes its name from the French "à propos" (Latin "ad prōpositum") which means about.

Why does Apropos (Unix) matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Apropos (Unix)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Apropos (Unix).

Tags

  • Unix text processing utilities

Keep exploring