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