source: trunk-3.0/docs/manpages/tdbtool.8@ 101

Last change on this file since 101 was 44, checked in by Paul Smedley, 18 years ago

Update source to 3.0.25b

File size: 2.6 KB
Line 
1.\"Generated by db2man.xsl. Don't modify this, modify the source.
2.de Sh \" Subsection
3.br
4.if t .Sp
5.ne 5
6.PP
7\fB\\$1\fR
8.PP
9..
10.de Sp \" Vertical space (when we can't use .PP)
11.if t .sp .5v
12.if n .sp
13..
14.de Ip \" List item
15.br
16.ie \\n(.$>=3 .ne \\$3
17.el .ne 3
18.IP "\\$1" \\$2
19..
20.TH "TDBTOOL" 8 "" "" ""
21.SH "NAME"
22tdbtool - manipulate the contents TDB files
23.SH "SYNOPSIS"
24.HP 1
25tdbtool
26.HP 1
27tdbtool \fITDBFILE\fR [\fICOMMANDS\fR...]
28.SH "DESCRIPTION"
29.PP
30This tool is part of the
31\fBsamba\fR(1)
32suite.
33.PP
34tdbtool
35a tool for displaying and altering the contents of Samba TDB (Trivial DataBase) files. Each of the commands listed below can be entered interactively or provided on the command line.
36.SH "COMMANDS"
37.PP
38\fBcreate\fR \fITDBFILE\fR
39.RS 3n
40Create a new database named
41\fITDBFILE\fR.
42.RE
43.PP
44\fBopen\fR \fITDBFILE\fR
45.RS 3n
46Open an existing database named
47\fITDBFILE\fR.
48.RE
49.PP
50\fBerase\fR
51.RS 3n
52Erase the current database.
53.RE
54.PP
55\fBdump\fR
56.RS 3n
57Dump the current database as strings.
58.RE
59.PP
60\fBcdump\fR
61.RS 3n
62Dump the current database as connection records.
63.RE
64.PP
65\fBkeys\fR
66.RS 3n
67Dump the current database keys as strings.
68.RE
69.PP
70\fBhexkeys\fR
71.RS 3n
72Dump the current database keys as hex values.
73.RE
74.PP
75\fBinfo\fR
76.RS 3n
77Print summary information about the current database.
78.RE
79.PP
80\fBinsert\fR \fIKEY\fR \fIDATA\fR
81.RS 3n
82Insert a record into the current database.
83.RE
84.PP
85\fBmove\fR \fIKEY\fR \fITDBFILE\fR
86.RS 3n
87Move a record from the current database into
88\fITDBFILE\fR.
89.RE
90.PP
91\fBstore\fR \fIKEY\fR \fIDATA\fR
92.RS 3n
93Store (replace) a record in the current database.
94.RE
95.PP
96\fBshow\fR \fIKEY\fR
97.RS 3n
98Show a record by key.
99.RE
100.PP
101\fBdelete\fR \fIKEY\fR
102.RS 3n
103Delete a record by key.
104.RE
105.PP
106\fBlist\fR
107.RS 3n
108Print the current database hash table and free list.
109.RE
110.PP
111\fBfree\fR
112.RS 3n
113Print the current database and free list.
114.RE
115.PP
116\fB!\fR \fICOMMAND\fR
117.RS 3n
118Execute the given system command.
119.RE
120.PP
121\fBfirst\fR
122.RS 3n
123Print the first record in the current database.
124.RE
125.PP
126\fBnext\fR
127.RS 3n
128Print the next record in the current database.
129.RE
130.PP
131\fBquit\fR
132.RS 3n
133Exit
134tdbtool.
135.RE
136.SH "CAVEATS"
137.PP
138The contents of the Samba TDB files are private to the implementation and should not be altered with
139tdbtool.
140.SH "VERSION"
141.PP
142This man page is correct for version 3.0.25 of the Samba suite.
143.SH "AUTHOR"
144.PP
145The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
146
Note: See TracBrowser for help on using the repository browser.