Discover user guides and manuals within your linux system
May 9th, 2008 mysurface Posted in Common, echo, find | Hits: 3104 |
Do you realized that we can obtain a lots of user manuals and guideline documents from our system? There is a folder /usr/share/doc, you may find some useful docs already preinstalled by your distro. Those docs are in pdf or html format. I manage to find user manuals for valgrind, ipython, systemtap, boost etc.
I believes you can download those docs from the internet too, but since it already preinstalled in your system, why bother to download it again? To reduce inconveniences of accessing those docs, we can extract all the docs links into a html where we can access those docs by just click on the links.
This is what I do with find command line:
echo "<html><head><title>My Linux Docs</title></head><body><H1>My Linux PDF docs at /usr/share/doc</H1>" > doc.htm
find /usr/share/doc/ -name "*.pdf" -printf "<a href='file://%p'>%p</a></br>" >> doc.htm
echo "</br><H1>My Linux html docs at /usr/share/doc</H1>" >> doc.htm
find /usr/share/doc/ -name "index.htm*" -printf "<a href='file://%p'>%p</a></br>" >> doc.htm
echo "</body></html>" >> doc.htm
Live Chat!









May 10th, 2008 at 2:12 am
another way for browsing the docs
htmlview file:///usr/share/doc/
May 10th, 2008 at 10:54 am
@KageSenshi yeah! your are right. Or just type file:///usr/share/doc to firefox.