[LBo] Are HOWTOs installed? - Exercise chapter 3
Anita Lewis
a.lewis at linuxbasics.org
Sat Nov 18 14:08:06 CET 2006
On 11/16/2006 03:24 PM Rafi Gabzu wrote:
>
> 1. How can I tell if the HOWTOs are installed in my system ?
This depends a bit on the distro of Linux you are using. If it is
Debian-based try:
dpkg -l |grep doc-linux (or try just 'doc' instead of 'doc-linux')
If you have the Linux Docs installed, you should get output from that. I
have doc-linux-text installed, but there is an html version as well as
various languages. To show where the files are:
dpkg -L name-of-doc-linux-package-from-above-output
You may need to repeat that command with a pipe to less
dpkg -L package-name | less
If you have SUSE or Fedora or other rpm, something like:
rpm -qa |grep doc-linux
Also you could try:
locate howto
locate HOWTO
or
cd /usr
find -name *HOWTO*
find -name *howto*
There will be more than those in the specific Linux Documents package,
but you should see a bunch of files in something like
/usr/share/doc/HOWTO or howto.
Anita
More information about the QnA
mailing list