source: appendixa/coreutils-desc.xml@ 431f48d1

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 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 431f48d1 was ab6f1859, checked in by Alex Gronenwoud <alex@…>, 21 years ago

small things around coreutils and bugs #518 and #520

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

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