Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Yvick on April 09, 2005, 07:52:40 AM

Title: SME Server /sbin/e-smith/ utilities documentation
Post by: Yvick on April 09, 2005, 07:52:40 AM
Hello all,

Browsing through the HOWTOs to get answers, I found that many of my questions were answered by using utilities in the /sbin/e-smith/ directory with various parameters.

Is there any documentation for these ? If so where can I find them ( I tried searching but with no luck ...)

Thanks !

Yvick
Title: SME Server /sbin/e-smith/ utilities documentation
Post by: raem on April 09, 2005, 12:21:26 PM
What are you referring to here, can you give an example ?
Title: SME Server /sbin/e-smith/ utilities documentation
Post by: Yvick on April 09, 2005, 01:02:13 PM
Hi Ray,

I'm talking about the utilities found under the /sbin/e-smith/ folder.

I'm looking for documentation for the various programs inside this directory like db, config ...

Cheers,

Yvick

PS: I'm using the 6.5 RC1 ...
Title: SME Server /sbin/e-smith/ utilities documentation
Post by: raem on April 10, 2005, 12:55:24 AM
Sorry, misread the location.

I don't think there is specific documentation.
As you have seen you can pick up a lot of info in HOWTOs & reading these forums & I gather by also anaylsing the code in rpms & the base distribution.

For syntax do:
/sbin/e-smith/db

usage:
    /sbin/e-smith/db dbfile keys
    /sbin/e-smith/db dbfile print [key]
    /sbin/e-smith/db dbfile show [key]
    /sbin/e-smith/db dbfile get key
    /sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
    /sbin/e-smith/db dbfile setdefault key type [prop1 val1] [prop2 val2] ...
    /sbin/e-smith/db dbfile delete key
    /sbin/e-smith/db dbfile printtype [key]
    /sbin/e-smith/db dbfile gettype key
    /sbin/e-smith/db dbfile settype key type
    /sbin/e-smith/db dbfile printprop key [prop1] [prop2] [prop3] ...
    /sbin/e-smith/db dbfile getprop key prop
    /sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...
    /sbin/e-smith/db dbfile delprop key prop1 [prop2] [prop3] ...
Title: SME Server /sbin/e-smith/ utilities documentation
Post by: raem on April 10, 2005, 12:59:20 AM
Have you read all the Documentation at contribs.org:
http://no.longer.valid/phpwiki/
Title: SME Server /sbin/e-smith/ utilities documentation
Post by: Yvick on April 10, 2005, 03:26:34 PM
I have now, there is a lot of great stuff in the Wiki.

I did not find where to report broken links, for there is a few.

Cheers,

Y
Title: SME Server /sbin/e-smith/ utilities documentation
Post by: raem on April 10, 2005, 08:04:04 PM
Yvick

Yes there is a lot of stuff there if you go looking !

>....where to report broken links....

If you register yourself at contribs.org & log on using that username, then you can edit most pages on the wiki, if not report problems to
staff AT contribs.org
see the Contact Us link.
Title: SME Server /sbin/e-smith/ utilities documentation
Post by: raem on April 10, 2005, 11:12:49 PM
Just came across this, it's in french but may be of use.
HowTo use SME db command line
http://www.muzo.homeip.net/nest/contribs/HowTo/howto-use_SME_db_command-line.htm