Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5313

Beginners • Re: OS documentation for omitted Linux commands?

$
0
0
You can install the package apt-file to search for packages by filename.
Note that apt file:
  1. downloads huge index files;
  2. can produce thousands of lines of not very useful output;
  3. may provide several alternatives without hinting which is more useful;
  4. is also slow.
For example, to search for the package that contains the "cal" command:

Code:

apt-file search cal | grep 'bin/cal$' 9base: /usr/lib/plan9/bin/calncal: /usr/bin/cal
The new user might assume that "9base" is a reasonable option (hey, it has "base" in it, so it must be fundamental, right?) but it turns out with further searching:

Code:

apt-cache search 9base9base - Plan 9 userland tools
So that's not the one you'd want (unless you were really into the Plan 9 OS).

OP: I don't think your questions are answerable. A missing command for you is a command I may never use (like ftp). You probably don't care about some commands we'll never see (like autotrace, a bitmap tracer that lost its Debian maintainer and thus its status). It's almost impossible to say what a "complete" system contains.

Statistics: Posted by scruss — Thu Aug 15, 2024 7:31 pm



Viewing all articles
Browse latest Browse all 5313

Trending Articles