LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-23-2014, 02:49 AM   #1
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Rep: Reputation: 3
Is there any actually up-to-date large-scale linux documentation resource?


The linux documentation project was a great idea and was brilliant for someone looking for a how-to, or a quick refresher on a procedure, but most articles are now > 10years obsolete. Man pages are useful, but often times are also not as up-to-date as the software itself, or does a poor job of actually explaining things. Distro specific wiki pages are sometimes okay at explaining things (arch wiki and gentoo wiki are excellent, debian is ok, slackware is a little less than okay), but they aren't always a great place to reference for smaller tasks (or larger for that matter).

Now, while google is a great resource for people to try and find information, I know I'm not alone in the hours-long searches for a simple refresher on a command, or an explanation for a utility you've never needed until now, or whatever it is that comes up, only to be left with more questions than before. In times like that, there are always forums to turn to, but this isn't the ideal scenario. Ideally one would just type "man [program]" and all the answers would be right there with usage, option explanations, and hopefully some example uses of those options and so on.

I know this isn't exactly an easy task to keep things like that updated regularly. I mean, 1 universal wiki for *nux would be quite a large database to maintain, let alone edit, audit, and admin. But I feel like my thoughts on this matter aren't the first, so I was hoping the great people here would have more information on up-to-date documentation than google turned up, and could perhaps point me in a productive direction. I guess what I'm basically hoping for is "Wikipedia for Unix and Linux" or something there abouts.

Thanks for any info in advance!

Last edited by slacker_; 06-23-2014 at 11:18 PM.
 
Old 06-24-2014, 06:42 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Is there any actually up-to-date large-scale linux documentation resource?
Man?
 
Old 06-24-2014, 06:50 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Well, the OP has covered man however they're a tad unforgiving by complaining that sometimes man pages are out of date. That's not my experience.

I do agree that tldp.org has some very old documentation. The top level is rather unusable, instead what may happen is I find a document using Google and some results point to documents within TLDP.

IMHO there are plenty of wikipedia entries on Linux and I've never been frustrated in a search for information about a Linux topic.
 
Old 06-24-2014, 07:29 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
For up to date cmd defns I go with man on the system in qn, although I prefer http://linux.die.net/man/ for readability/search-ability.
For how to setup/use major tools/services and lots of other stuff www.linuxtopia.org.
 
Old 06-24-2014, 07:58 AM   #5
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Man can be...dense reading, but I've never found it out to be out of date either. I use die.net as the back-up for man as well.
One of the things I've goofed around with is a bash script that runs through the FS looking for index.html files and produces a mozilla compliant bookmarks file that can be imported, giving most web browsers an "on board documentation" folder in their toolbar but I'm not really familiar with the file structure of non-Slackware distros so I'm not sure it would work,
There is actually a lot of interesting and valuable documentation included in most distros in the form of HTML pages (at least it's in Slackware) that most people don't seem aware of.
Do other distros have a similar resource?

Last edited by dijetlo; 06-24-2014 at 07:59 AM.
 
Old 06-24-2014, 08:11 AM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
A very small (roughly 15%) subset of the board html documentation in the form of index pages only included in the Slackware distribution:
Quote:
/opt/openoffice4/share/config/wizard/web/layouts/frame_bottom/index.html.xsl
/opt/openoffice4/share/config/wizard/web/layouts/diagonal/index.html.xsl
/opt/openoffice4/share/config/wizard/web/layouts/frame_left/index.html.xsl
/opt/openoffice4/share/config/wizard/web/layouts/frame_top/index.html.xsl
/opt/openoffice4/share/config/wizard/web/layouts/zigzag/index.html.xsl
/opt/openoffice4/share/config/wizard/web/layouts/simple/index.html.xsl
/opt/openoffice4/share/config/wizard/web/layouts/table_2/index.html.xsl
/opt/openoffice4/share/config/wizard/web/layouts/table_3/index.html.xsl
/opt/openoffice4/share/config/wizard/web/layouts/frame_right/index.html.xsl
/usr/share/texmf/doc/index.html
/usr/share/texmf/doc/help/Catalogue/index.html
/usr/share/texmf/doc/help/Catalogue/entries/bibindex.html
/usr/share/texmf/doc/help/Catalogue/entries/index.html
/usr/share/texmf/doc/help/Catalogue/entries/makeindex.html
/usr/share/texmf/doc/help/Catalogue/entries/authorindex.html
/usr/share/texmf/doc/help/Catalogue/entries/forindex.html
/usr/share/texmf/doc/help/Catalogue/entries/splitindex.html
/usr/share/texmf/doc/help/Catalogue/entries/addindex.html
/usr/share/texmf/doc/help/Catalogue/entries/ltxindex.html
/usr/share/texmf/doc/help/Catalogue/entries/varindex.html
/usr/share/texmf/doc/help/Catalogue/entries/esindex.html
/usr/share/texmf/doc/help/ctan/index.html
/usr/share/texmf/doc/help/faq/uktug-faq/index.html
/usr/share/texmf/doc/help/faq/uktug-faq/FAQ-makeindex.html
/usr/share/texmf/doc/latex/tex-refs/index.html
/usr/share/texmf/doc/latex/tex-refs/makeindex.html
/usr/share/texmf/doc/polish/index.html
/usr/share/texmf/doc/helpindex.html
/usr/share/ghostscript/9.07/doc/index.html
/usr/share/xfce4/doc/ast/index.html
/usr/share/lynx/lynx_help/index.html.gz
/usr/share/lynx/lynx_help/keystrokes/index.html.gz
/usr/share/lynx/lynx_doc/test/index.html
/usr/share/lynx/lynx_doc/docs/index.html
/usr/share/lynx/lynx_doc/samples/index.html
/usr/share/gtk-doc/html/libvirt/index.html
/usr/share/gtk-doc/html/exo-1/index.html
/usr/share/gtk-doc/html/gconf/index.html
/usr/share/gtk-doc/html/NetworkManager/index.html
/usr/share/gtk-doc/html/rsvg-2.0/index.html
/usr/share/gtk-doc/html/gdk2/index.html
/usr/share/gtk-doc/html/loudmouth/index.html
/usr/share/gtk-doc/html/libnotify/index.html
/usr/share/gtk-doc/html/redland/index.html
/usr/share/gtk-doc/html/gst-plugins-base-libs-0.10/index.html
/usr/share/gtk-doc/html/liboil/index.html
/usr/share/gtk-doc/html/libxml2/index.html
/usr/share/gtk-doc/html/udisks2/index.html
/usr/share/gtk-doc/html/udisks2/api-index.html
/usr/share/gtk-doc/html/gcr-3/index.html
/usr/share/gtk-doc/html/libgimpthumb/index.html
/usr/share/gtk-doc/html/libgimpthumb/libgimpthumb-index.html
/usr/share/gtk-doc/html/libgimpconfig/index.html
/usr/share/gtk-doc/html/libgimpconfig/libgimpconfig-index.html
 
Old 06-24-2014, 11:10 AM   #7
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
Well on my Arch based distro I found 10644 html files ... so not too bad a resource

@dijetlo - wouldn't mind seeing that script ... be cool idea I think

Last edited by grail; 06-24-2014 at 11:12 AM.
 
Old 06-24-2014, 11:17 AM   #8
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
@ grail OK, but you're about to see how poor a scripter I really am though....
 
Old 06-24-2014, 11:58 AM   #9
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I think one of the points made here also is that the documentation "relevant" to one's distribution is typically included in that distro. Which is a good thing, because if someone chooses to maintain an older distro, that's their choice and the documentation on their system or on their install disk is most relevant copy.
 
Old 06-24-2014, 12:10 PM   #10
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
We could always make sure the LQ Command Wiki is up to date. Also looks like there is plenty that could be added to it.
 
1 members found this post helpful.
Old 06-27-2014, 08:26 PM   #11
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
This is as far as I've been able to get with the bookmark maker.
Code:
#!/bin/bash
# a script for digging out and formatting local index.html files to a bookmarks compatible html file
# Creates the base index.html collection in bookmarks.html
# date in the bookmarking world is the number of seconds in the epoch (midnight + 1 sec, Jan1 1970)
TICK=$(date +%s)

# The boilerplate that goes atop these files
function Head_Plate(){
echo '<!DOCTYPE NETSCAPE-Bookmark-file-1> ' > bookmarks.html
echo '<!-- This is an automatically generated file.' >> bookmarks.html
echo '     It will be read and overwritten.' >> bookmarks.html
echo '     DO NOT EDIT! -->' >> bookmarks.html
echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">' >> bookmarks.html
echo '<TITLE>Bookmarks</TITLE>' >> bookmarks.html
echo '<H1>Bookmarks</H1>' >> bookmarks.html
echo '<DL><p>' >> bookmarks.html
echo "<DT><H3 ADD_DATE="$TICK" LAST_MODIFIED="$TICK" PERSONAL_TOOLBAR_FOLDER='true'>Bookmarks bar</H3>" >> bookmarks.html
echo '<DL><p>' >> bookmarks.html
}
# The boilderplate that closes them off
function Butt_Plate() {
echo '</DL><p>' >> bookmarks.html
echo '</DL><p>' >> bookmarks.html
}
# The Problem
function Grinder(){
find / -iname index.html 2>/dev/null 1> bookmarks.tmp
while read bookmark; do
  echo "<DT><A HREF=file://"$bookmark" ADD_DATE="$TICK"ICON=''"$bookmark | grep -i title"</A>"
done <bookmarks.tmp
}

Head_Plate
Grinder
Butt_Plate

exit 0
Grinder makes a tmp file that gets fed into a do while loop. It reads off line by line through the temp file and formats each line to be a "bookmark" in the final file (bookmark.html). The problem is the name (or title) of the bookmark. I'm trying to pull it out of the html "Title"(<title> </title>) of the page.
Getting it to write the file is easy, we'll just put a redirector to "bookmarks.html" the end of the line, it's easier to troubleshoot with it printing across the screen though, so that's the way I've left it.
Any thoughts?
 
Old 06-27-2014, 08:44 PM   #12
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Code:
TITLE=$(grep -i -o -P '(?<=<title>).*(?=</title>)' $bookmark )
echo "<DT><A HREF=file://"$bookmark" ADD_DATE="$TICK" ICON=''"$TITLE"</A>"
Resolves that problem but the bookmarks aren't importing...hmmmm
Chrome imports them as a folder however the folder is empty.....
This is the file it creates, btw.
Code:
!DOCTYPE NETSCAPE-Bookmark-file-1> 
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE=1403919611 LAST_MODIFIED=1403919611 PERSONAL_TOOLBAR_FOLDER='true'>Bookmarks bar</H3>
<DL><p>
<DT><A HREF=file:///tmp/SBo/package-libmspack/usr/doc/libmspack-0.4alpha/html/index.html ADD_DATE=1403919611 ICON=''libmspack: Main Page</A>
<DT><A HREF=file:///tmp/SBo/package-wxPython/usr/doc/wxPython-2.8.12.1/docs/html/wx/index.html ADD_DATE=1403919611 ICON=''wxWidgets 2.8.12: A portable C++ and Python GUI toolkit</A>
<DT><A HREF=file:///tmp/SBo/package-wxPython/usr/doc/wxPython-2.8.12.1/docs/html/gettext/index.html ADD_DATE=1403919611 ICON=''GNU gettext utilities - Table of Contents</A>
<DT><A HREF=file:///tmp/SBo/package-libvirt/usr/share/gtk-doc/html/libvirt/index.html ADD_DATE=1403919611 ICON=''libvirt Reference Manual</A>
I'll keep at it and post back when I have a better solution.

Last edited by dijetlo; 06-27-2014 at 08:45 PM.
 
Old 06-27-2014, 09:16 PM   #13
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
This....
Code:
#!/bin/bash
#
# a script for digging out and formatting local index.html files to a bookmarks compatible html file
# 
# Creates the base index.html collection in bookmarks.html
# date in the netscape world is the number of seconds in the epoch (midnight, 1970)
TICK=$(date +%s)
function Top_Plate(){
echo '<!DOCTYPE NETSCAPE-Bookmark-file-1> ' > bookmarks.html
echo '<!-- This is an automatically generated file.' >> bookmarks.html
echo '     It will be read and overwritten.' >> bookmarks.html
echo '     DO NOT EDIT! -->' >> bookmarks.html
echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">' >> bookmarks.html
echo '<TITLE>Bookmarks</TITLE>' >> bookmarks.html
echo "<DT><H3 ADD_DATE="$TICK" LAST_MODIFIED="$TICK" PERSONAL_TOOLBAR_FOLDER='true'>Bookmarks bar</H3>" >> bookmarks.html
echo '<DL><p>' >> bookmarks.html
}
function Butt_Plate() {
echo '</DL><p>' >> bookmarks.html
#echo '</DL><p>' >> bookmarks.html
}
function Grinder(){
find / -iname index.html 2>/dev/null 1> bookmarks.tmp
while read bookmark; do
  TITLE=$(grep -i -o -P '(?<=<title>).*(?=</title>)' $bookmark )
  echo "<DT><A HREF=file://"$bookmark" ADD_DATE= "$TICK" ICON= > "$TITLE" </A>">> bookmarks.html
done <bookmarks.tmp
}

Top_Plate
Grinder
Butt_Plate

exit 0
Actually produces a firefox importable file...
Chrome?
Still being persnickety.
 
Old 06-28-2014, 10:30 AM   #14
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Moved to here
 
  


Reply

Tags
documentation



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Resource Manager required for large scale workflows. srikraj8341 Linux - Software 0 12-11-2011 11:44 PM
designing large scale websites run on Linux dazdaz Linux - General 4 04-05-2011 12:32 AM
Large-scale Management? jsteel Linux - Server 8 03-01-2010 10:10 AM
LXer: Gems aims to make large-scale Gentoo Linux management easier LXer Syndicated Linux News 0 08-03-2006 04:21 PM
Large Scale porting lucky6969b Programming 2 01-26-2006 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration