1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY tree-download-http "http://mama.indstate.edu/users/ice/tree/src/tree-&tree-version;.tgz">
|
---|
8 | <!ENTITY tree-download-ftp "ftp://mama.indstate.edu/linux/tree/tree-&tree-version;.tgz">
|
---|
9 | <!ENTITY tree-md5sum "4caa5ac97ae9f9a47b8a657f548e99b6">
|
---|
10 | <!ENTITY tree-size "56 KB">
|
---|
11 | <!ENTITY tree-buildsize "488 KB">
|
---|
12 | <!ENTITY tree-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="tree" xreflabel="tree-&tree-version;">
|
---|
16 | <?dbhtml filename="tree.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>tree-&tree-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="tree">
|
---|
25 | <primary sortas="a-tree">tree</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to tree</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>tree</application> application, as the name suggests,
|
---|
33 | is useful to display, in a terminal, directory contents, including
|
---|
34 | directories, files, links.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs110a_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&tree-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&tree-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &tree-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &tree-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &tree-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &tree-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <para condition="html" role="usernotes">User Notes:
|
---|
74 | <ulink url="&blfs-wiki;/tree"/></para>
|
---|
75 |
|
---|
76 | </sect2>
|
---|
77 |
|
---|
78 | <sect2 role="installation">
|
---|
79 | <title>Installation of tree</title>
|
---|
80 |
|
---|
81 | <para>
|
---|
82 | Install <application>tree</application> by running the following
|
---|
83 | commands:
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <screen><userinput>make</userinput></screen>
|
---|
87 |
|
---|
88 | <para>
|
---|
89 | This package does not come with a test suite.
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <!-- Without MANDIR=/usr/share/man, it'll create /usr/share/man1/man1 and
|
---|
97 | install 'tree.1' there. Also, without prefix=/usr, it'll install the
|
---|
98 | 'tree' command in /usr/local/bin. -->
|
---|
99 |
|
---|
100 | <screen role="root"><userinput>make prefix=/usr MANDIR=/usr/share/man install &&
|
---|
101 | chmod -v 644 /usr/share/man/man1/tree.1</userinput></screen>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="content">
|
---|
106 | <title>Contents</title>
|
---|
107 |
|
---|
108 | <segmentedlist>
|
---|
109 | <segtitle>Installed Program</segtitle>
|
---|
110 | <segtitle>Installed Libraries</segtitle>
|
---|
111 | <segtitle>Installed Directories</segtitle>
|
---|
112 |
|
---|
113 | <seglistitem>
|
---|
114 | <seg>tree</seg>
|
---|
115 | <seg>None</seg>
|
---|
116 | <seg>None</seg>
|
---|
117 | </seglistitem>
|
---|
118 | </segmentedlist>
|
---|
119 |
|
---|
120 | <variablelist>
|
---|
121 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
122 | <?dbfo list-presentation="list"?>
|
---|
123 | <?dbhtml list-presentation="table"?>
|
---|
124 |
|
---|
125 | <varlistentry id="tree-app">
|
---|
126 | <term><command>tree</command></term>
|
---|
127 | <listitem>
|
---|
128 | <para>
|
---|
129 | displays a directory tree in a terminal
|
---|
130 | </para>
|
---|
131 | <indexterm zone="tree tree-app">
|
---|
132 | <primary sortas="b-tree">tree</primary>
|
---|
133 | </indexterm>
|
---|
134 | </listitem>
|
---|
135 | </varlistentry>
|
---|
136 |
|
---|
137 | </variablelist>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | </sect1>
|
---|