source: appendixa/fileutils-desc.xml@ f5cc1c17

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 v4_0 v4_1 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 f5cc1c17 was 695ae0bc, checked in by Timothy Bauscher <timothy@…>, 22 years ago

Applied Bill's chapter 5 fixes patch.

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

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