Originally Posted by
RFXCasey
I'm having some trouble though as I really have no clue as to what I am doing.
Ask the system: apropos
Let's suppose you wanted to do something that has to do with packages ... but you don't know exactly what and how. So you'd ask:
The system will then spit out all commands that it knows that have to do with this topic and give a brief explanation.
Example:
Code:
> apropos package
apt (8) - Advanced Package Tool
apt-cache (8) - APT package handling utility - cache manipulator
apt-extracttemplates (1) - Utility to extract DebConf config and templates fr...
apt-get (8) - APT package handling utility - command-line interface
apt-mark (8) - mark/unmark a package as being automatically-installed
apt-sortpkgs (1) - Utility to sort package index files
aptitude (8) - high-level interface to the package manager
apturl (8) - graphical apt-protocol interpreting package installer
deb (5) - Debian binary package format
deb-control (5) - Debian packages' master control file format
deb-old (5) - old style Debian binary package format
deb-triggers (5) - package triggers
deb-version (5) - Debian package version number format
...
Those numbers in brackets are chapter numbers of the "man" pages. I think someone already explained that.
So to lookup the exact syntax of a command you'd do e.g.
The reason for those chapter numbers is that sometimes there are two commands or libraries that might have the same name but a different meaning. Hence why it might be a good idea to always add the chapter number to make sure you get the correct page.
Originally Posted by
RFXCasey
I can't even tell what's installed on thins machine
Code:
dpkg -l '*' | grep ii | more
Bookmarks