source: appendixa/coreutils-desc.xml@ 7acaebe

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 7acaebe was 7acaebe, checked in by Gerard Beekmans <gerard@…>, 21 years ago

added coreutils files

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2662 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 10.3 KB
Line 
1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
2
3<sect2><title>Descriptions</title>
4
5<para>Not yet fully checked.</para>
6
7<sect3><title>Program file descriptions</title>
8
9<sect4><title>basename</title>
10<para>basename strips directory and suffixes from filenames.</para></sect4>
11
12<sect4><title>cat</title>
13<para>cat concatenates file(s) or standard input to
14standard output.</para></sect4>
15
16<sect4><title>chgrp</title>
17<para>chgrp changes the group ownership of each given file to the named group,
18which can be either a group name or a numeric group ID.</para></sect4>
19
20<sect4><title>chmod</title>
21<para>chmod changes the permissions of each given file according to mode, which
22can be either a symbolic representation of changes to make or an octal
23number representing the bit pattern for the new permissions.</para></sect4>
24
25<sect4><title>chown</title>
26<para>chown changes the user and/or group ownership of each
27given file.</para></sect4>
28
29<sect4><title>chroot</title>
30<para>chroot runs a command or interactive shell with special
31root directory.</para></sect4>
32
33<sect4><title>cksum</title>
34<para>cksum prints CRC checksum and byte counts of each specified
35file.</para></sect4>
36
37<sect4><title>comm</title>
38<para>comm compares two sorted files line by line.</para></sect4>
39
40<sect4><title>cp</title>
41<para>cp copies files from one place to another.</para></sect4>
42
43<sect4><title>csplit</title>
44<para>csplit outputs pieces of a file separated by (a) pattern(s) to files
45xx01, xx02, ..., and outputs byte counts of each piece to standard
46output.</para></sect4>
47
48<sect4><title>cut</title>
49<para>cut prints selected parts of lines from specified files to standard
50output.</para></sect4>
51
52<sect4><title>date</title>
53<para>date displays the current time in a specified format, or sets
54the system date.</para></sect4>
55
56<sect4><title>dd</title>
57<para>dd copies a file (from the standard input to the standard output, by
58default) with a user-selectable blocksize, while optionally performing
59conversions on it.</para></sect4>
60
61<sect4><title>df</title>
62<para>df displays the amount of disk space available on the filesystem
63containing each file name argument. If no file name is given, the space
64available on all currently mounted filesystems is shown.</para></sect4>
65
66<sect4><title>dir, ls and vdir</title>
67<para>dir and vdir are versions of ls with different default output formats.
68These programs list each given file or directory name. Directory contents
69are sorted alphabetically. For ls, files are, by default, listed in columns
70sorted vertically if the standard output is a terminal; otherwise they
71are listed one per line. For dir, files are, by default, listed in columns
72sorted vertically. For vdir, files are, by default, listed in
73long format.</para></sect4>
74
75<sect4><title>dircolors</title>
76<para>dircolors outputs commands to set the LS_COLOR environment variable.
77The LS_COLOR variable is use to change the default color scheme used by
78ls and related utilities.</para></sect4>
79
80<sect4><title>dirname</title>
81<para>dirname strips non-directory suffixes from file name.</para></sect4>
82
83<sect4><title>du</title>
84<para>du displays the amount of disk space used by each file or directory
85listed on the command-line and by each of their subdirectories.</para></sect4>
86
87<sect4><title>echo</title>
88<para>echo displays a line of text.</para></sect4>
89
90<sect4><title>env</title>
91<para>env runs a program in a modified environment.</para></sect4>
92
93<sect4><title>expand</title>
94<para>expand converts tabs in files to spaces, writing to standard
95output.</para></sect4>
96
97<sect4><title>expr</title>
98<para>expr evaluates expressions.</para></sect4>
99
100<sect4><title>factor</title>
101<para>factor prints the prime factors of all specified
102integer numbers.</para></sect4>
103
104<sect4><title>false</title>
105<para>false always exits with a status code indicating failure.</para></sect4>
106
107<sect4><title>fmt</title>
108<para>fmt reformats each paragraph in the specified file(s), writing to
109standard output.</para></sect4>
110
111<sect4><title>fold</title>
112<para>fold wraps input lines in each specified file (standard input by default),
113writing to standard output.</para></sect4>
114
115<sect4><title>groups</title>
116<para>groups prints a user's group memberships.</para></sect4>
117
118<sect4><title>head</title>
119<para>head prints the first xx (10 by default) lines of each specified file to
120standard output.</para></sect4>
121
122<sect4><title>hostid</title>
123<para>hostid prints the numeric identifier (in hexadecimal) for the current
124host.</para></sect4>
125
126<sect4><title>id</title>
127<para>id prints the effective user and group IDs of the current
128user or a given user.</para></sect4>
129
130<sect4><title>install</title>
131<para>install copies files and sets their permission modes and, if possible,
132their owner and group.</para></sect4>
133
134<sect4><title>join</title>
135<para>join joins lines of two files on a common field.</para></sect4>
136
137<sect4><title>ln</title>
138<para>ln makes hard or soft (symbolic) links between files.</para></sect4>
139
140<sect4><title>logname</title>
141<para>logname prints the current user's login name.</para></sect4>
142
143<sect4><title>md5sum</title>
144<para>md5sum prints or checks MD5 checksums.</para></sect4>
145
146<sect4><title>mkdir</title>
147<para>mkdir creates directories with a given name.</para></sect4>
148
149<sect4><title>mkfifo</title>
150<para>mkfifo creates a FIFO with each given name.</para></sect4>
151
152<sect4><title>mknod</title>
153<para>mknod creates a FIFO, character special file or block special file
154with the given file name.</para></sect4>
155
156<sect4><title>mv</title>
157<para>mv moves files from one directory to another or renames files, depending
158on the arguments given to mv.</para></sect4>
159
160<sect4><title>nice</title>
161<para>nice runs a program with modified scheduling priority.</para></sect4>
162
163<sect4><title>nl</title>
164<para>nl writes each specified file to standard output, with line numbers
165added.</para></sect4>
166
167<sect4><title>nohup</title>
168<para>nohup runs a command immune to hangups, with output to a
169log file.</para></sect4>
170
171<sect4><title>od</title>
172<para>od writes an unambiguous representation, octal bytes by default, of a
173specified file to standard output.</para></sect4>
174
175<sect4><title>paste</title>
176<para>paste writes lines consisting of the sequentially corresponding
177lines from each specified file, separated by TABs,
178to standard output.</para></sect4>
179
180<sect4><title>pathchk</title>
181<para>pathchk checks whether file names are valid or portable.</para></sect4>
182
183<sect4><title>pinky</title>
184<para>pinky is a lightweight finger utility which retrieves information about
185a certain user.</para></sect4>
186
187<sect4><title>pr</title>
188<para>pr paginates or columnates files for printing.</para></sect4>
189
190<sect4><title>printenv</title>
191<para>printenv prints all or part of the environment.</para></sect4>
192
193<sect4><title>printf</title>
194<para>printf formats and prints data (the same as the C printf
195function).</para></sect4>
196
197<sect4><title>ptx</title>
198<para>ptx produces a permuted index of file contents.</para></sect4>
199
200<sect4><title>pwd</title>
201<para>pwd prints the name of the current/working directory.</para></sect4>
202
203<sect4><title>rm</title>
204<para>rm removes files or directories.</para></sect4>
205
206<sect4><title>rmdir</title>
207<para>rmdir removes directories, if they are empty.</para></sect4>
208
209<sect4><title>seq</title>
210<para>seq prints numbers in a certain range with a certain
211increment.</para></sect4>
212
213<sect4><title>shred</title>
214<para>shred deletes a file securely, overwriting it first so that its
215contents can't be recovered.</para></sect4>
216
217<sect4><title>sleep</title>
218<para>sleep delays for a specified amount of time.</para></sect4>
219
220<sect4><title>sort</title>
221<para>sort writes sorted concatenation of files to standard
222output.</para></sect4>
223
224<sect4><title>split</title>
225<para>split outputs fixed-size pieces of an input file to
226PREFIXaa, PREFIXab, ...</para></sect4>
227
228<sect4><title>stty</title>
229<para>stty changes and prints terminal line settings.</para></sect4>
230
231<sect4><title>su</title>
232<para>su runs a shell with substitute user and group IDs.</para></sect4>
233
234<sect4><title>sum</title>
235<para>sum prints checksum and block counts for each specified
236file.</para></sect4>
237
238<sect4><title>sync</title>
239<para>sync forces changed blocks to disk and updates the
240super block.</para></sect4>
241
242<sect4><title>tac</title>
243<para>tac writes each specified file to standard output, last line
244first.</para></sect4>
245
246<sect4><title>tail</title>
247<para>tail print the last xx (10 by default) lines of each specified file to
248standard output.</para></sect4>
249
250<sect4><title>tee</title>
251<para>tee reads from standard input and writes to standard output and
252files.</para></sect4>
253
254<sect4><title>test</title>
255<para>test checks file types and compares values.</para></sect4>
256
257<sect4><title>touch</title>
258<para>touch changes the access and modification times of each given file to the
259current time. Files that do not exist are created empty.</para></sect4>
260
261<sect4><title>tr</title>
262<para>tr translates, squeezes, and/or deletes characters from standard
263input, writing to standard output.</para></sect4>
264
265<sect4><title>true</title>
266<para>true always exits with a status code indicating success.</para></sect4>
267
268<sect4><title>tsort</title>
269<para>tsort writes totally ordered lists consistent with the partial ordering
270in specified files.</para></sect4>
271
272<sect4><title>tty</title>
273<para>tty prints the file name of the terminal connected to standard
274input.</para></sect4>
275
276<sect4><title>uname</title>
277<para>uname prints system information.</para></sect4>
278
279<sect4><title>unexpand</title>
280<para>unexpand converts spaces in each file to tabs, writing to standard
281output.</para></sect4>
282
283<sect4><title>uniq</title>
284<para>uniq removes duplicate lines from a sorted file.</para></sect4>
285
286<sect4><title>uptime</title>
287<para>uptime tells how long the system has been running.</para></sect4>
288
289<sect4><title>users</title>
290<para>users prints the user names of users currently logged in to the
291current host.</para></sect4>
292
293<sect4><title>wc</title>
294<para>wc prints line, word and byte counts for each specified file and a
295total line, if more than one file is specified.</para></sect4>
296
297<sect4><title>who</title>
298<para>who shows who is logged on.</para></sect4>
299
300<sect4><title>whoami</title>
301<para>whoami prints the user name associated with the current
302effective user ID.</para></sect4>
303
304<sect4><title>yes</title>
305<para>yes outputs 'y' or a given string repeatedly,
306until killed.</para></sect4>
307
308</sect3>
309
310</sect2>
311
Note: See TracBrowser for help on using the repository browser.