mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
2c094d60db
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2138 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
99 lines
3.6 KiB
XML
99 lines
3.6 KiB
XML
<sect2><title>Contents of Fileutils</title>
|
|
|
|
<para>Last checked against version &fileutils-contversion;.</para>
|
|
|
|
<sect3><title>Program Files</title>
|
|
<para>chgrp, chmod, chown, cp, dd, df, dir, dircolors, du, install, ln,
|
|
ls, mkdir, mkfifo, mknod, mv, rm, rmdir, shred, sync, touch
|
|
and vdir</para></sect3>
|
|
|
|
<sect3><title>Descriptions</title>
|
|
|
|
<sect4><title>chgrp</title>
|
|
<para>chgrp changes the group ownership of each given file to the named group,
|
|
which can be either a group name or a numeric group ID.</para></sect4>
|
|
|
|
<sect4><title>chmod</title>
|
|
<para>chmod changes the permissions of each given file according to mode, which
|
|
can be either a symbolic representation of changes to make or an octal
|
|
number representing the bit pattern for the new permissions.</para></sect4>
|
|
|
|
<sect4><title>chown</title>
|
|
<para>chown changes the user and/or group ownership of each
|
|
given file.</para></sect4>
|
|
|
|
<sect4><title>cp</title>
|
|
<para>cp copies files from one place to another.</para></sect4>
|
|
|
|
<sect4><title>dd</title>
|
|
<para>dd copies a file (from the standard input to the standard output, by
|
|
default) with a user-selectable blocksize, while optionally performing
|
|
conversions on it.</para></sect4>
|
|
|
|
<sect4><title>df</title>
|
|
<para>df displays the amount of disk space available on the filesystem
|
|
containing each file name argument. If no file name is given, the space
|
|
available on all currently mounted filesystems is shown.</para></sect4>
|
|
|
|
<sect4><title>dir, ls and vdir</title>
|
|
<para>dir and vdir are versions of ls with different default output formats.
|
|
These programs list each given file or directory name. Directory contents
|
|
are sorted alphabetically. For ls, files are, by default, listed in columns
|
|
sorted vertically if the standard output is a terminal; otherwise they
|
|
are listed one per line. For dir, files are, by default, listed in columns
|
|
sorted vertically. For vdir, files are, by default, listed in
|
|
long format.</para></sect4>
|
|
|
|
<sect4><title>dircolors</title>
|
|
<para>dircolors outputs commands to set the LS_COLOR environment variable.
|
|
The LS_COLOR variable is use to change the default color scheme used by
|
|
ls and related utilities.</para></sect4>
|
|
|
|
<sect4><title>du</title>
|
|
<para>du displays the amount of disk space used by each file or directory
|
|
listed on the command-line and by each of their subdirectories.</para></sect4>
|
|
|
|
<sect4><title>install</title>
|
|
<para>install copies files and sets their permission modes and, if possible,
|
|
their owner and group.</para></sect4>
|
|
|
|
<sect4><title>ln</title>
|
|
<para>ln makes hard or soft (symbolic) links between files.</para></sect4>
|
|
|
|
<sect4><title>mkdir</title>
|
|
<para>mkdir creates directories with a given name.</para></sect4>
|
|
|
|
<sect4><title>mkfifo</title>
|
|
<para>mkfifo creates a FIFO with each given name.</para></sect4>
|
|
|
|
<sect4><title>mknod</title>
|
|
<para>mknod creates a FIFO, character special file or block special file
|
|
with the given file name.</para></sect4>
|
|
|
|
<sect4><title>mv</title>
|
|
<para>mv moves files from one directory to another or renames files, depending
|
|
on the arguments given to mv.</para></sect4>
|
|
|
|
<sect4><title>rm</title>
|
|
<para>rm removes files or directories.</para></sect4>
|
|
|
|
<sect4><title>rmdir</title>
|
|
<para>rmdir removes directories, if they are empty.</para></sect4>
|
|
|
|
<sect4><title>shred</title>
|
|
<para>shred deletes a file securely, overwriting it first so that its
|
|
contents can't be recovered.</para></sect4>
|
|
|
|
<sect4><title>sync</title>
|
|
<para>sync forces changed blocks to disk and updates the
|
|
super block.</para></sect4>
|
|
|
|
<sect4><title>touch</title>
|
|
<para>touch changes the access and modification times of each given file to the
|
|
current time. Files that do not exist are created empty.</para></sect4>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|