[bdc08c1] | 1 | <sect2><title>Contents of fileutils-&fileutils-contversion;</title>
|
---|
[6370fa6] | 2 |
|
---|
[bdc08c1] | 3 | <sect3><title>Program Files</title>
|
---|
| 4 | <para>chgrp, chmod, chown, cp, dd, df, dir, dircolors, du, install, ln,
|
---|
| 5 | ls, mkdir, mkfifo, mknod, mv, rm, rmdir, shred, sync, touch
|
---|
| 6 | and vdir</para></sect3>
|
---|
[6370fa6] | 7 |
|
---|
[bdc08c1] | 8 | <sect3><title>Descriptions</title>
|
---|
[6370fa6] | 9 |
|
---|
[bdc08c1] | 10 | <sect4><title>chgrp</title>
|
---|
[b822811] | 11 | <para>chgrp changes the group ownership of each given file to the named group,
|
---|
[bdc08c1] | 12 | which can be either a group name or a numeric group ID.</para></sect4>
|
---|
[6370fa6] | 13 |
|
---|
[bdc08c1] | 14 | <sect4><title>chmod</title>
|
---|
[b822811] | 15 | <para>chmod changes the permissions of each given file according to mode, which
|
---|
[6370fa6] | 16 | can be either a symbolic representation of changes to make, or an octal
|
---|
[bdc08c1] | 17 | number representing the bit pattern for the new permissions.</para></sect4>
|
---|
[6370fa6] | 18 |
|
---|
[bdc08c1] | 19 | <sect4><title>chown</title>
|
---|
[53ad30a] | 20 | <para>chown changes the user and/or group ownership of each
|
---|
[bdc08c1] | 21 | given file.</para></sect4>
|
---|
[6370fa6] | 22 |
|
---|
[bdc08c1] | 23 | <sect4><title>cp</title>
|
---|
| 24 | <para>cp copies files from one place to another.</para></sect4>
|
---|
[6370fa6] | 25 |
|
---|
[bdc08c1] | 26 | <sect4><title>dd</title>
|
---|
[b822811] | 27 | <para>dd copies a file (from the standard input to the standard output, by
|
---|
| 28 | default) with a user-selectable blocksize, while optionally performing
|
---|
[bdc08c1] | 29 | conversions on it.</para></sect4>
|
---|
[6370fa6] | 30 |
|
---|
[bdc08c1] | 31 | <sect4><title>df</title>
|
---|
[b822811] | 32 | <para>df displays the amount of disk space available on the filesystem
|
---|
[6370fa6] | 33 | containing each file name argument. If no file name is given, the space
|
---|
[bdc08c1] | 34 | available on all currently mounted filesystems is shown.</para></sect4>
|
---|
[6370fa6] | 35 |
|
---|
[bdc08c1] | 36 | <sect4><title>dir, ls and vdir</title>
|
---|
[b822811] | 37 | <para>dir and vdir are versions of ls with different default output formats.
|
---|
[6370fa6] | 38 | These programs list each given file or directory name. Directory contents
|
---|
| 39 | are sorted alphabetically. For ls, files are by default listed in columns,
|
---|
| 40 | sorted vertically, if the standard output is a terminal; otherwise they
|
---|
| 41 | are listed one per line. For dir, files are by default listed in columns,
|
---|
[53ad30a] | 42 | sorted vertically. For vdir, files are by default listed in
|
---|
[bdc08c1] | 43 | long format.</para></sect4>
|
---|
[6370fa6] | 44 |
|
---|
[bdc08c1] | 45 | <sect4><title>dircolors</title>
|
---|
[b822811] | 46 | <para>dircolors outputs commands to set the LS_COLOR environment variable.
|
---|
[6370fa6] | 47 | The LS_COLOR variable is use to change the default color scheme used by
|
---|
[bdc08c1] | 48 | ls and related utilities.</para></sect4>
|
---|
[6370fa6] | 49 |
|
---|
[bdc08c1] | 50 | <sect4><title>du</title>
|
---|
[b822811] | 51 | <para>du displays the amount of disk space used by each argument and for each
|
---|
[bdc08c1] | 52 | subdirectory of directory arguments.</para></sect4>
|
---|
[6370fa6] | 53 |
|
---|
[bdc08c1] | 54 | <sect4><title>install</title>
|
---|
[b822811] | 55 | <para>install copies files and sets their permission modes and, if possible,
|
---|
[bdc08c1] | 56 | their owner and group.</para></sect4>
|
---|
[6370fa6] | 57 |
|
---|
[bdc08c1] | 58 | <sect4><title>ln</title>
|
---|
| 59 | <para>ln makes hard or soft (symbolic) links between files.</para></sect4>
|
---|
[6370fa6] | 60 |
|
---|
[bdc08c1] | 61 | <sect4><title>mkdir</title>
|
---|
| 62 | <para>mkdir creates directories with a given name.</para></sect4>
|
---|
[6370fa6] | 63 |
|
---|
[bdc08c1] | 64 | <sect4><title>mkfifo</title>
|
---|
| 65 | <para>mkfifo creates a FIFO with each given name.</para></sect4>
|
---|
[6370fa6] | 66 |
|
---|
[bdc08c1] | 67 | <sect4><title>mknod</title>
|
---|
[b822811] | 68 | <para>mknod creates a FIFO, character special file, or block special file
|
---|
[bdc08c1] | 69 | with the given file name.</para></sect4>
|
---|
[6370fa6] | 70 |
|
---|
[bdc08c1] | 71 | <sect4><title>mv</title>
|
---|
[b822811] | 72 | <para>mv moves files from one directory to another or renames files, depending
|
---|
[bdc08c1] | 73 | on the arguments given to mv.</para></sect4>
|
---|
[6370fa6] | 74 |
|
---|
[bdc08c1] | 75 | <sect4><title>rm</title>
|
---|
| 76 | <para>rm removes files or directories.</para></sect4>
|
---|
[6370fa6] | 77 |
|
---|
[bdc08c1] | 78 | <sect4><title>rmdir</title>
|
---|
| 79 | <para>rmdir removes directories, if they are empty.</para></sect4>
|
---|
[6370fa6] | 80 |
|
---|
[bdc08c1] | 81 | <sect4><title>shred</title>
|
---|
[b822811] | 82 | <para>shred deletes a file securely, overwriting it first so that its
|
---|
[bdc08c1] | 83 | contents can't be recovered.</para></sect4>
|
---|
[0f4f81c] | 84 |
|
---|
[bdc08c1] | 85 | <sect4><title>sync</title>
|
---|
[53ad30a] | 86 | <para>sync forces changed blocks to disk and updates the
|
---|
[bdc08c1] | 87 | super block.</para></sect4>
|
---|
[6370fa6] | 88 |
|
---|
[bdc08c1] | 89 | <sect4><title>touch</title>
|
---|
[b822811] | 90 | <para>touch changes the access and modification times of each given file to the
|
---|
[bdc08c1] | 91 | current time. Files that do not exist are created empty.</para></sect4>
|
---|
| 92 |
|
---|
| 93 | </sect3>
|
---|
[6370fa6] | 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|