[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[8ef8304] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-coreutils" role="wrap">
|
---|
[8ef8304] | 9 | <?dbhtml filename="coreutils.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>coreutils</productname>
|
---|
| 13 | <productnumber>&coreutils-version;</productnumber>
|
---|
| 14 | <address>&coreutils-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[8ef8304] | 17 | <title>Coreutils-&coreutils-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-coreutils">
|
---|
| 20 | <primary sortas="a-Coreutils">Coreutils</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[673b0d8] | 25 |
|
---|
[8ef8304] | 26 | <para>The Coreutils package contains utilities for showing and setting the
|
---|
| 27 | basic system characteristics.</para>
|
---|
[bc82645e] | 28 |
|
---|
[8ef8304] | 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 32 |
|
---|
[8ef8304] | 33 | <seglistitem>
|
---|
[e4a5635] | 34 | <seg>&coreutils-ch6-sbu;</seg>
|
---|
| 35 | <seg>&coreutils-ch6-du;</seg>
|
---|
[8ef8304] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
[673b0d8] | 38 |
|
---|
[8ef8304] | 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Coreutils</title>
|
---|
| 43 |
|
---|
| 44 | <para>A known issue with the <command>uname</command> program from
|
---|
| 45 | this package is that the <parameter>-p</parameter> switch always
|
---|
| 46 | returns <computeroutput>unknown</computeroutput>. The following patch
|
---|
| 47 | fixes this behavior for Intel architectures:</para>
|
---|
[73aedd1d] | 48 |
|
---|
[0445a3d] | 49 | <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
|
---|
[73aedd1d] | 50 |
|
---|
[8ef8304] | 51 | <para>POSIX requires that programs from Coreutils recognize character
|
---|
| 52 | boundaries correctly even in multibyte locales. The following patch
|
---|
| 53 | fixes this non-compliance and other internationalization-related bugs:</para>
|
---|
[fa21b3d] | 54 |
|
---|
[0445a3d] | 55 | <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen>
|
---|
[fa21b3d] | 56 |
|
---|
[8ef8304] | 57 | <para>In order for the tests added by this patch to pass, the permissions for
|
---|
| 58 | the test file have to be changed:</para>
|
---|
[fa21b3d] | 59 |
|
---|
[0445a3d] | 60 | <screen><userinput remap="pre">chmod +x tests/sort/sort-mb-tests</userinput></screen>
|
---|
[fa21b3d] | 61 |
|
---|
[8ef8304] | 62 | <note>
|
---|
| 63 | <para>In the past, many bugs were found in this patch. When reporting new
|
---|
| 64 | bugs to Coreutils maintainers, please check first if they are reproducible
|
---|
| 65 | without this patch.</para>
|
---|
| 66 | </note>
|
---|
[fa21b3d] | 67 |
|
---|
[8ef8304] | 68 | <para>Now prepare Coreutils for compilation:</para>
|
---|
[73aedd1d] | 69 |
|
---|
[c468484e] | 70 | <screen><userinput remap="configure">./configure --prefix=/usr --enable-install-program=hostname --enable-no-install-program=kill,uptime</userinput></screen>
|
---|
[615a565] | 71 |
|
---|
| 72 | <variablelist>
|
---|
| 73 | <title>The meaning of the configure options:</title>
|
---|
| 74 |
|
---|
| 75 | <varlistentry>
|
---|
[f44fff6] | 76 | <term><parameter>--enable-no-install-program=kill,uptime</parameter></term>
|
---|
[615a565] | 77 | <listitem>
|
---|
| 78 | <para>The purpose of this switch is to prevent Coreutils from
|
---|
| 79 | installing binaries that will be installed by other packages later.
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
| 83 | </variablelist>
|
---|
[73aedd1d] | 84 |
|
---|
[8ef8304] | 85 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 86 |
|
---|
[0445a3d] | 87 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 88 |
|
---|
[f4c628c] | 89 | <para>Skip down to <quote>Install the
|
---|
[8ef8304] | 90 | package</quote> if not running the test suite.</para>
|
---|
[81fd230] | 91 |
|
---|
[8ef8304] | 92 | <para>Now the test suite is ready to be run. First, run the tests that are
|
---|
| 93 | meant to be run as user <systemitem class="username">root</systemitem>:</para>
|
---|
[73aedd1d] | 94 |
|
---|
[0445a3d] | 95 | <screen><userinput remap="test">make NON_ROOT_USERNAME=nobody check-root</userinput></screen>
|
---|
[73aedd1d] | 96 |
|
---|
[a3b689f] | 97 | <para>We're going to run the remainder of the tests as the
|
---|
[9e85ca2] | 98 | <systemitem class="username">nobody</systemitem> user. Certain tests,
|
---|
| 99 | however, require that the user be a member of more than one group. So that
|
---|
| 100 | these tests are not skipped we'll add a temporary group and make the
|
---|
| 101 | user <systemitem class="username">nobody</systemitem> a part of it:</para>
|
---|
| 102 |
|
---|
[0445a3d] | 103 | <screen><userinput remap="test">echo "dummy:x:1000:nobody" >> /etc/group</userinput></screen>
|
---|
[9e85ca2] | 104 |
|
---|
[615a565] | 105 | <para>Fix some of the permissions so that the non-root user can compile and
|
---|
| 106 | run the tests:</para>
|
---|
| 107 |
|
---|
| 108 | <screen><userinput remap="test">chown -v nobody gnulib-tests/.deps</userinput></screen>
|
---|
| 109 |
|
---|
[9e85ca2] | 110 | <para>Now run the tests:</para>
|
---|
[73aedd1d] | 111 |
|
---|
[0445a3d] | 112 | <screen><userinput remap="test">su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
|
---|
[73aedd1d] | 113 |
|
---|
[9e85ca2] | 114 | <para>Remove the temporary group:</para>
|
---|
| 115 |
|
---|
[0445a3d] | 116 | <screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen>
|
---|
[9e85ca2] | 117 |
|
---|
[8ef8304] | 118 | <para>Install the package:</para>
|
---|
[73aedd1d] | 119 |
|
---|
[0445a3d] | 120 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 121 |
|
---|
[8ef8304] | 122 | <para>Move programs to the locations specified by the FHS:</para>
|
---|
[73aedd1d] | 123 |
|
---|
[0445a3d] | 124 | <screen><userinput remap="install">mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin
|
---|
[5735d99] | 125 | mv -v /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} /bin
|
---|
[5998892] | 126 | mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
|
---|
| 127 | mv -v /usr/bin/chroot /usr/sbin</userinput></screen>
|
---|
[73aedd1d] | 128 |
|
---|
[8ef8304] | 129 | <para>Some of the scripts in the LFS-Bootscripts package depend on
|
---|
[b540268] | 130 | <command>head</command>, <command>sleep</command>, and
|
---|
| 131 | <command>nice</command>. As <filename class="directory">/usr</filename>
|
---|
| 132 | may not be available during the early stages of booting, those binaries
|
---|
| 133 | need to be on the root partition:</para>
|
---|
[73aedd1d] | 134 |
|
---|
[0445a3d] | 135 | <screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice} /bin</userinput></screen>
|
---|
[73aedd1d] | 136 |
|
---|
[8ef8304] | 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 |
|
---|
| 140 | <sect2 id="contents-coreutils" role="content">
|
---|
| 141 | <title>Contents of Coreutils</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
| 144 | <segtitle>Installed programs</segtitle>
|
---|
| 145 |
|
---|
| 146 | <seglistitem>
|
---|
[d9dc49a] | 147 | <seg>base64, basename, cat, chgrp, chmod, chown, chroot, cksum, comm,
|
---|
| 148 | cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo, env,
|
---|
| 149 | expand, expr, factor, false, fmt, fold, groups, head, hostid, hostname,
|
---|
| 150 | id, install, join, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod,
|
---|
| 151 | mv, nice, nl, nohup, od, paste, pathchk, pinky, pr, printenv, printf,
|
---|
| 152 | ptx, pwd, readlink, rm, rmdir, seq, sha1sum, sha224sum, sha256sum,
|
---|
| 153 | sha384sum, sha512sum, shred, shuf, sleep, sort, split, stat, stty, sum,
|
---|
| 154 | sync, tac, tail, tee, test, touch, tr, true, tsort, tty, uname,
|
---|
| 155 | unexpand, uniq, unlink, users, vdir, wc, who, whoami, and yes</seg>
|
---|
[8ef8304] | 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
| 158 |
|
---|
| 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
| 162 | <?dbhtml list-presentation="table"?>
|
---|
| 163 |
|
---|
[d9dc49a] | 164 | <varlistentry id="base64">
|
---|
| 165 | <term><command>base64</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>Encodes and decodes data according to the base64 (RFC 3548)
|
---|
| 168 | specification</para>
|
---|
| 169 | <indexterm zone="ch-system-coreutils base64">
|
---|
| 170 | <primary sortas="b-base64">basename</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
[8ef8304] | 175 | <varlistentry id="basename">
|
---|
| 176 | <term><command>basename</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>Strips any path and a given suffix from a file name</para>
|
---|
| 179 | <indexterm zone="ch-system-coreutils basename">
|
---|
| 180 | <primary sortas="b-basename">basename</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="cat">
|
---|
| 186 | <term><command>cat</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>Concatenates files to standard output</para>
|
---|
| 189 | <indexterm zone="ch-system-coreutils cat">
|
---|
| 190 | <primary sortas="b-cat">cat</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="chgrp">
|
---|
| 196 | <term><command>chgrp</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>Changes the group ownership of files and directories</para>
|
---|
| 199 | <indexterm zone="ch-system-coreutils chgrp">
|
---|
| 200 | <primary sortas="b-chgrp">chgrp</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
| 205 | <varlistentry id="chmod">
|
---|
| 206 | <term><command>chmod</command></term>
|
---|
| 207 | <listitem>
|
---|
| 208 | <para>Changes the permissions of each file to the given mode; the mode
|
---|
| 209 | can be either a symbolic representation of the changes to make or an
|
---|
| 210 | octal number representing the new permissions</para>
|
---|
| 211 | <indexterm zone="ch-system-coreutils chmod">
|
---|
| 212 | <primary sortas="b-chmod">chmod</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="chown">
|
---|
| 218 | <term><command>chown</command></term>
|
---|
| 219 | <listitem>
|
---|
| 220 | <para>Changes the user and/or group ownership of files and
|
---|
| 221 | directories</para>
|
---|
| 222 | <indexterm zone="ch-system-coreutils chown">
|
---|
| 223 | <primary sortas="b-chown">chown</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="chroot">
|
---|
| 229 | <term><command>chroot</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>Runs a command with the specified directory as the
|
---|
| 232 | <filename class="directory">/</filename> directory</para>
|
---|
| 233 | <indexterm zone="ch-system-coreutils chroot">
|
---|
| 234 | <primary sortas="b-chroot">chroot</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="cksum">
|
---|
| 240 | <term><command>cksum</command></term>
|
---|
| 241 | <listitem>
|
---|
| 242 | <para>Prints the Cyclic Redundancy Check (CRC) checksum and the byte
|
---|
| 243 | counts of each specified file</para>
|
---|
| 244 | <indexterm zone="ch-system-coreutils cksum">
|
---|
| 245 | <primary sortas="b-cksum">cksum</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
| 250 | <varlistentry id="comm">
|
---|
| 251 | <term><command>comm</command></term>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>Compares two sorted files, outputting in three columns the lines
|
---|
| 254 | that are unique and the lines that are common</para>
|
---|
| 255 | <indexterm zone="ch-system-coreutils comm">
|
---|
| 256 | <primary sortas="b-comm">comm</primary>
|
---|
| 257 | </indexterm>
|
---|
| 258 | </listitem>
|
---|
| 259 | </varlistentry>
|
---|
| 260 |
|
---|
| 261 | <varlistentry id="cp">
|
---|
| 262 | <term><command>cp</command></term>
|
---|
| 263 | <listitem>
|
---|
| 264 | <para>Copies files</para>
|
---|
| 265 | <indexterm zone="ch-system-coreutils cp">
|
---|
| 266 | <primary sortas="b-cp">cp</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | <varlistentry id="csplit">
|
---|
| 272 | <term><command>csplit</command></term>
|
---|
| 273 | <listitem>
|
---|
| 274 | <para>Splits a given file into several new files, separating them
|
---|
| 275 | according to given patterns or line numbers and outputting the byte
|
---|
| 276 | count of each new file</para>
|
---|
| 277 | <indexterm zone="ch-system-coreutils csplit">
|
---|
| 278 | <primary sortas="b-csplit">csplit</primary>
|
---|
| 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 |
|
---|
| 283 | <varlistentry id="cut">
|
---|
| 284 | <term><command>cut</command></term>
|
---|
| 285 | <listitem>
|
---|
| 286 | <para>Prints sections of lines, selecting the parts according to given
|
---|
| 287 | fields or positions</para>
|
---|
| 288 | <indexterm zone="ch-system-coreutils cut">
|
---|
| 289 | <primary sortas="b-cut">cut</primary>
|
---|
| 290 | </indexterm>
|
---|
| 291 | </listitem>
|
---|
| 292 | </varlistentry>
|
---|
| 293 |
|
---|
| 294 | <varlistentry id="date">
|
---|
| 295 | <term><command>date</command></term>
|
---|
| 296 | <listitem>
|
---|
| 297 | <para>Displays the current time in the given format, or sets the
|
---|
| 298 | system date</para>
|
---|
| 299 | <indexterm zone="ch-system-coreutils date">
|
---|
| 300 | <primary sortas="b-date">date</primary>
|
---|
| 301 | </indexterm>
|
---|
| 302 | </listitem>
|
---|
| 303 | </varlistentry>
|
---|
| 304 |
|
---|
| 305 | <varlistentry id="dd">
|
---|
| 306 | <term><command>dd</command> </term>
|
---|
| 307 | <listitem>
|
---|
| 308 | <para>Copies a file using the given block size and count, while
|
---|
| 309 | optionally performing conversions on it</para>
|
---|
| 310 | <indexterm zone="ch-system-coreutils dd">
|
---|
| 311 | <primary sortas="b-dd">dd</primary>
|
---|
| 312 | </indexterm>
|
---|
| 313 | </listitem>
|
---|
| 314 | </varlistentry>
|
---|
| 315 |
|
---|
| 316 | <varlistentry id="df">
|
---|
| 317 | <term><command>df</command></term>
|
---|
| 318 | <listitem>
|
---|
| 319 | <para>Reports the amount of disk space available (and used) on all
|
---|
| 320 | mounted file systems, or only on the file systems holding the selected
|
---|
| 321 | files</para>
|
---|
| 322 | <indexterm zone="ch-system-coreutils df">
|
---|
| 323 | <primary sortas="b-df">df</primary>
|
---|
| 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
| 328 | <varlistentry id="dir">
|
---|
| 329 | <term><command>dir</command></term>
|
---|
| 330 | <listitem>
|
---|
| 331 | <para>Lists the contents of each given directory (the same as
|
---|
| 332 | the <command>ls</command> command)</para>
|
---|
| 333 | <indexterm zone="ch-system-coreutils dir">
|
---|
| 334 | <primary sortas="b-dir">dir</primary>
|
---|
| 335 | </indexterm>
|
---|
| 336 | </listitem>
|
---|
| 337 | </varlistentry>
|
---|
| 338 |
|
---|
| 339 | <varlistentry id="dircolors">
|
---|
| 340 | <term><command>dircolors</command></term>
|
---|
| 341 | <listitem>
|
---|
| 342 | <para>Outputs commands to set the <envar>LS_COLOR</envar>
|
---|
| 343 | environment variable to change the color scheme used by
|
---|
| 344 | <command>ls</command></para>
|
---|
| 345 | <indexterm zone="ch-system-coreutils dircolors">
|
---|
| 346 | <primary sortas="b-dircolors">dircolors</primary>
|
---|
| 347 | </indexterm>
|
---|
| 348 | </listitem>
|
---|
| 349 | </varlistentry>
|
---|
| 350 |
|
---|
| 351 | <varlistentry id="dirname">
|
---|
| 352 | <term><command>dirname</command></term>
|
---|
| 353 | <listitem>
|
---|
| 354 | <para>Strips the non-directory suffix from a file name</para>
|
---|
| 355 | <indexterm zone="ch-system-coreutils dirname">
|
---|
| 356 | <primary sortas="b-dirname">dirname</primary>
|
---|
| 357 | </indexterm>
|
---|
| 358 | </listitem>
|
---|
| 359 | </varlistentry>
|
---|
| 360 |
|
---|
| 361 | <varlistentry id="du">
|
---|
| 362 | <term><command>du</command></term>
|
---|
| 363 | <listitem>
|
---|
| 364 | <para>Reports the amount of disk space used by the current directory,
|
---|
| 365 | by each of the given directories (including all subdirectories) or by
|
---|
| 366 | each of the given files</para>
|
---|
| 367 | <indexterm zone="ch-system-coreutils du">
|
---|
| 368 | <primary sortas="b-du">du</primary>
|
---|
| 369 | </indexterm>
|
---|
| 370 | </listitem>
|
---|
| 371 | </varlistentry>
|
---|
| 372 |
|
---|
| 373 | <varlistentry id="echo">
|
---|
| 374 | <term><command>echo</command></term>
|
---|
| 375 | <listitem>
|
---|
| 376 | <para>Displays the given strings</para>
|
---|
| 377 | <indexterm zone="ch-system-coreutils echo">
|
---|
| 378 | <primary sortas="b-echo">echo</primary>
|
---|
| 379 | </indexterm>
|
---|
| 380 | </listitem>
|
---|
| 381 | </varlistentry>
|
---|
| 382 |
|
---|
| 383 | <varlistentry id="env">
|
---|
| 384 | <term><command>env</command></term>
|
---|
| 385 | <listitem>
|
---|
| 386 | <para>Runs a command in a modified environment</para>
|
---|
| 387 | <indexterm zone="ch-system-coreutils env">
|
---|
| 388 | <primary sortas="b-env">env</primary>
|
---|
| 389 | </indexterm>
|
---|
| 390 | </listitem>
|
---|
| 391 | </varlistentry>
|
---|
| 392 |
|
---|
| 393 | <varlistentry id="expand">
|
---|
| 394 | <term><command>expand</command></term>
|
---|
| 395 | <listitem>
|
---|
| 396 | <para>Converts tabs to spaces</para>
|
---|
| 397 | <indexterm zone="ch-system-coreutils expand">
|
---|
| 398 | <primary sortas="b-expand">expand</primary>
|
---|
| 399 | </indexterm>
|
---|
| 400 | </listitem>
|
---|
| 401 | </varlistentry>
|
---|
| 402 |
|
---|
| 403 | <varlistentry id="expr">
|
---|
| 404 | <term><command>expr</command></term>
|
---|
| 405 | <listitem>
|
---|
| 406 | <para>Evaluates expressions</para>
|
---|
| 407 | <indexterm zone="ch-system-coreutils expr">
|
---|
| 408 | <primary sortas="b-expr">expr</primary>
|
---|
| 409 | </indexterm>
|
---|
| 410 | </listitem>
|
---|
| 411 | </varlistentry>
|
---|
| 412 |
|
---|
| 413 | <varlistentry id="factor">
|
---|
| 414 | <term><command>factor</command></term>
|
---|
| 415 | <listitem>
|
---|
| 416 | <para>Prints the prime factors of all specified integer numbers</para>
|
---|
| 417 | <indexterm zone="ch-system-coreutils factor">
|
---|
| 418 | <primary sortas="b-factor">factor</primary>
|
---|
| 419 | </indexterm>
|
---|
| 420 | </listitem>
|
---|
| 421 | </varlistentry>
|
---|
| 422 |
|
---|
| 423 | <varlistentry id="false">
|
---|
| 424 | <term><command>false</command></term>
|
---|
| 425 | <listitem>
|
---|
| 426 | <para>Does nothing, unsuccessfully; it always exits with a status code
|
---|
| 427 | indicating failure</para>
|
---|
| 428 | <indexterm zone="ch-system-coreutils false">
|
---|
| 429 | <primary sortas="b-false">false</primary>
|
---|
| 430 | </indexterm>
|
---|
| 431 | </listitem>
|
---|
| 432 | </varlistentry>
|
---|
| 433 |
|
---|
| 434 | <varlistentry id="fmt">
|
---|
| 435 | <term><command>fmt</command></term>
|
---|
| 436 | <listitem>
|
---|
| 437 | <para>Reformats the paragraphs in the given files</para>
|
---|
| 438 | <indexterm zone="ch-system-coreutils fmt">
|
---|
| 439 | <primary sortas="b-fmt">fmt</primary>
|
---|
| 440 | </indexterm>
|
---|
| 441 | </listitem>
|
---|
| 442 | </varlistentry>
|
---|
| 443 |
|
---|
| 444 | <varlistentry id="fold">
|
---|
| 445 | <term><command>fold</command></term>
|
---|
| 446 | <listitem>
|
---|
| 447 | <para>Wraps the lines in the given files</para>
|
---|
| 448 | <indexterm zone="ch-system-coreutils fold">
|
---|
| 449 | <primary sortas="b-fold">fold</primary>
|
---|
| 450 | </indexterm>
|
---|
| 451 | </listitem>
|
---|
| 452 | </varlistentry>
|
---|
| 453 |
|
---|
| 454 | <varlistentry id="groups">
|
---|
| 455 | <term><command>groups</command></term>
|
---|
| 456 | <listitem>
|
---|
| 457 | <para>Reports a user's group memberships</para>
|
---|
| 458 | <indexterm zone="ch-system-coreutils groups">
|
---|
| 459 | <primary sortas="b-groups">groups</primary>
|
---|
| 460 | </indexterm>
|
---|
| 461 | </listitem>
|
---|
| 462 | </varlistentry>
|
---|
| 463 |
|
---|
| 464 | <varlistentry id="head">
|
---|
| 465 | <term><command>head</command></term>
|
---|
| 466 | <listitem>
|
---|
| 467 | <para>Prints the first ten lines (or the given number of lines)
|
---|
| 468 | of each given file</para>
|
---|
| 469 | <indexterm zone="ch-system-coreutils head">
|
---|
| 470 | <primary sortas="b-head">head</primary>
|
---|
| 471 | </indexterm>
|
---|
| 472 | </listitem>
|
---|
| 473 | </varlistentry>
|
---|
| 474 |
|
---|
| 475 | <varlistentry id="hostid">
|
---|
| 476 | <term><command>hostid</command></term>
|
---|
| 477 | <listitem>
|
---|
| 478 | <para>Reports the numeric identifier (in hexadecimal) of the host</para>
|
---|
| 479 | <indexterm zone="ch-system-coreutils hostid">
|
---|
| 480 | <primary sortas="b-hostid">hostid</primary>
|
---|
| 481 | </indexterm>
|
---|
| 482 | </listitem>
|
---|
| 483 | </varlistentry>
|
---|
| 484 |
|
---|
| 485 | <varlistentry id="hostname">
|
---|
| 486 | <term><command>hostname</command></term>
|
---|
| 487 | <listitem>
|
---|
| 488 | <para>Reports or sets the name of the host</para>
|
---|
| 489 | <indexterm zone="ch-system-coreutils hostname">
|
---|
| 490 | <primary sortas="b-hostname">hostname</primary>
|
---|
| 491 | </indexterm>
|
---|
| 492 | </listitem>
|
---|
| 493 | </varlistentry>
|
---|
| 494 |
|
---|
| 495 | <varlistentry id="id">
|
---|
| 496 | <term><command>id</command></term>
|
---|
| 497 | <listitem>
|
---|
| 498 | <para>Reports the effective user ID, group ID, and group memberships
|
---|
| 499 | of the current user or specified user</para>
|
---|
| 500 | <indexterm zone="ch-system-coreutils id">
|
---|
| 501 | <primary sortas="b-id">id</primary>
|
---|
| 502 | </indexterm>
|
---|
| 503 | </listitem>
|
---|
| 504 | </varlistentry>
|
---|
| 505 |
|
---|
| 506 | <varlistentry id="install">
|
---|
| 507 | <term><command>install</command> </term>
|
---|
| 508 | <listitem>
|
---|
| 509 | <para>Copies files while setting their permission modes and, if
|
---|
| 510 | possible, their owner and group</para>
|
---|
| 511 | <indexterm zone="ch-system-coreutils install">
|
---|
| 512 | <primary sortas="b-install">install</primary>
|
---|
| 513 | </indexterm>
|
---|
| 514 | </listitem>
|
---|
| 515 | </varlistentry>
|
---|
| 516 |
|
---|
| 517 | <varlistentry id="join">
|
---|
| 518 | <term><command>join</command></term>
|
---|
| 519 | <listitem>
|
---|
| 520 | <para>Joins the lines that have identical join fields from two
|
---|
| 521 | separate files</para>
|
---|
| 522 | <indexterm zone="ch-system-coreutils join">
|
---|
| 523 | <primary sortas="b-join">join</primary>
|
---|
| 524 | </indexterm>
|
---|
| 525 | </listitem>
|
---|
| 526 | </varlistentry>
|
---|
| 527 |
|
---|
| 528 | <varlistentry id="link">
|
---|
| 529 | <term><command>link</command></term>
|
---|
| 530 | <listitem>
|
---|
| 531 | <para>Creates a hard link with the given name to a file</para>
|
---|
| 532 | <indexterm zone="ch-system-coreutils link">
|
---|
| 533 | <primary sortas="b-link">link</primary>
|
---|
| 534 | </indexterm>
|
---|
| 535 | </listitem>
|
---|
| 536 | </varlistentry>
|
---|
| 537 |
|
---|
| 538 | <varlistentry id="ln">
|
---|
| 539 | <term><command>ln</command></term>
|
---|
| 540 | <listitem>
|
---|
| 541 | <para>Makes hard links or soft (symbolic) links between files</para>
|
---|
| 542 | <indexterm zone="ch-system-coreutils ln">
|
---|
| 543 | <primary sortas="b-ln">ln</primary>
|
---|
| 544 | </indexterm>
|
---|
| 545 | </listitem>
|
---|
| 546 | </varlistentry>
|
---|
| 547 |
|
---|
| 548 | <varlistentry id="logname">
|
---|
| 549 | <term><command>logname</command></term>
|
---|
| 550 | <listitem>
|
---|
| 551 | <para>Reports the current user's login name</para>
|
---|
| 552 | <indexterm zone="ch-system-coreutils logname">
|
---|
| 553 | <primary sortas="b-logname">logname</primary>
|
---|
| 554 | </indexterm>
|
---|
| 555 | </listitem>
|
---|
| 556 | </varlistentry>
|
---|
| 557 |
|
---|
| 558 | <varlistentry id="ls">
|
---|
| 559 | <term><command>ls</command></term>
|
---|
| 560 | <listitem>
|
---|
| 561 | <para>Lists the contents of each given directory</para>
|
---|
| 562 | <indexterm zone="ch-system-coreutils ls">
|
---|
| 563 | <primary sortas="b-ls">ls</primary>
|
---|
| 564 | </indexterm>
|
---|
| 565 | </listitem>
|
---|
| 566 | </varlistentry>
|
---|
| 567 |
|
---|
| 568 | <varlistentry id="md5sum">
|
---|
| 569 | <term><command>md5sum</command></term>
|
---|
| 570 | <listitem>
|
---|
| 571 | <para>Reports or checks Message Digest 5 (MD5) checksums</para>
|
---|
| 572 | <indexterm zone="ch-system-coreutils md5sum">
|
---|
| 573 | <primary sortas="b-md5sum">md5sum</primary>
|
---|
| 574 | </indexterm>
|
---|
| 575 | </listitem>
|
---|
| 576 | </varlistentry>
|
---|
| 577 |
|
---|
| 578 | <varlistentry id="mkdir">
|
---|
| 579 | <term><command>mkdir</command></term>
|
---|
| 580 | <listitem>
|
---|
| 581 | <para>Creates directories with the given names</para>
|
---|
| 582 | <indexterm zone="ch-system-coreutils mkdir">
|
---|
| 583 | <primary sortas="b-mkdir">mkdir</primary>
|
---|
| 584 | </indexterm>
|
---|
| 585 | </listitem>
|
---|
| 586 | </varlistentry>
|
---|
| 587 |
|
---|
| 588 | <varlistentry id="mkfifo">
|
---|
| 589 | <term><command>mkfifo</command></term>
|
---|
| 590 | <listitem>
|
---|
| 591 | <para>Creates First-In, First-Outs (FIFOs), a <quote>named
|
---|
| 592 | pipe</quote> in UNIX parlance, with the given names</para>
|
---|
| 593 | <indexterm zone="ch-system-coreutils mkfifo">
|
---|
| 594 | <primary sortas="b-mkfifo">mkfifo</primary>
|
---|
| 595 | </indexterm>
|
---|
| 596 | </listitem>
|
---|
| 597 | </varlistentry>
|
---|
| 598 |
|
---|
| 599 | <varlistentry id="mknod">
|
---|
| 600 | <term><command>mknod</command></term>
|
---|
| 601 | <listitem>
|
---|
| 602 | <para>Creates device nodes with the given names; a device node is a
|
---|
| 603 | character special file, a block special file, or a FIFO</para>
|
---|
| 604 | <indexterm zone="ch-system-coreutils mknod">
|
---|
| 605 | <primary sortas="b-mknod">mknod</primary>
|
---|
| 606 | </indexterm>
|
---|
| 607 | </listitem>
|
---|
| 608 | </varlistentry>
|
---|
| 609 |
|
---|
| 610 | <varlistentry id="mv">
|
---|
| 611 | <term><command>mv</command></term>
|
---|
| 612 | <listitem>
|
---|
| 613 | <para>Moves or renames files or directories</para>
|
---|
| 614 | <indexterm zone="ch-system-coreutils mv">
|
---|
| 615 | <primary sortas="b-mv">mv</primary>
|
---|
| 616 | </indexterm>
|
---|
| 617 | </listitem>
|
---|
| 618 | </varlistentry>
|
---|
| 619 |
|
---|
| 620 | <varlistentry id="nice">
|
---|
| 621 | <term><command>nice</command></term>
|
---|
| 622 | <listitem>
|
---|
| 623 | <para>Runs a program with modified scheduling priority</para>
|
---|
| 624 | <indexterm zone="ch-system-coreutils nice">
|
---|
| 625 | <primary sortas="b-nice">nice</primary>
|
---|
| 626 | </indexterm>
|
---|
| 627 | </listitem>
|
---|
| 628 | </varlistentry>
|
---|
| 629 |
|
---|
| 630 | <varlistentry id="nl">
|
---|
| 631 | <term><command>nl</command></term>
|
---|
| 632 | <listitem>
|
---|
| 633 | <para>Numbers the lines from the given files</para>
|
---|
| 634 | <indexterm zone="ch-system-coreutils nl">
|
---|
| 635 | <primary sortas="b-nl">nl</primary>
|
---|
| 636 | </indexterm>
|
---|
| 637 | </listitem>
|
---|
| 638 | </varlistentry>
|
---|
| 639 |
|
---|
| 640 | <varlistentry id="nohup">
|
---|
| 641 | <term><command>nohup</command></term>
|
---|
| 642 | <listitem>
|
---|
| 643 | <para>Runs a command immune to hangups, with its output redirected to
|
---|
| 644 | a log file</para>
|
---|
| 645 | <indexterm zone="ch-system-coreutils nohup">
|
---|
| 646 | <primary sortas="b-nohup">nohup</primary>
|
---|
| 647 | </indexterm>
|
---|
| 648 | </listitem>
|
---|
| 649 | </varlistentry>
|
---|
| 650 |
|
---|
| 651 | <varlistentry id="od">
|
---|
| 652 | <term><command>od</command></term>
|
---|
| 653 | <listitem>
|
---|
| 654 | <para>Dumps files in octal and other formats</para>
|
---|
| 655 | <indexterm zone="ch-system-coreutils od">
|
---|
| 656 | <primary sortas="b-od">od</primary>
|
---|
| 657 | </indexterm>
|
---|
| 658 | </listitem>
|
---|
| 659 | </varlistentry>
|
---|
| 660 |
|
---|
| 661 | <varlistentry id="paste">
|
---|
| 662 | <term><command>paste</command></term>
|
---|
| 663 | <listitem>
|
---|
| 664 | <para>Merges the given files, joining sequentially corresponding lines
|
---|
| 665 | side by side, separated by tab characters</para>
|
---|
| 666 | <indexterm zone="ch-system-coreutils paste">
|
---|
| 667 | <primary sortas="b-paste">paste</primary>
|
---|
| 668 | </indexterm>
|
---|
| 669 | </listitem>
|
---|
| 670 | </varlistentry>
|
---|
| 671 |
|
---|
| 672 | <varlistentry id="pathchk">
|
---|
| 673 | <term><command>pathchk</command></term>
|
---|
| 674 | <listitem>
|
---|
| 675 | <para>Checks if file names are valid or portable</para>
|
---|
| 676 | <indexterm zone="ch-system-coreutils pathchk">
|
---|
| 677 | <primary sortas="b-pathchk">pathchk</primary>
|
---|
| 678 | </indexterm>
|
---|
| 679 | </listitem>
|
---|
| 680 | </varlistentry>
|
---|
| 681 |
|
---|
| 682 | <varlistentry id="pinky">
|
---|
| 683 | <term><command>pinky</command></term>
|
---|
| 684 | <listitem>
|
---|
| 685 | <para>Is a lightweight finger client; it reports some information
|
---|
| 686 | about the given users</para>
|
---|
| 687 | <indexterm zone="ch-system-coreutils pinky">
|
---|
| 688 | <primary sortas="b-pinky">pinky</primary>
|
---|
| 689 | </indexterm>
|
---|
| 690 | </listitem>
|
---|
| 691 | </varlistentry>
|
---|
| 692 |
|
---|
| 693 | <varlistentry id="pr">
|
---|
| 694 | <term><command>pr</command></term>
|
---|
| 695 | <listitem>
|
---|
| 696 | <para>Paginates and columnates files for printing</para>
|
---|
| 697 | <indexterm zone="ch-system-coreutils pr">
|
---|
| 698 | <primary sortas="b-pr">pr</primary>
|
---|
| 699 | </indexterm>
|
---|
| 700 | </listitem>
|
---|
| 701 | </varlistentry>
|
---|
| 702 |
|
---|
| 703 | <varlistentry id="printenv">
|
---|
| 704 | <term><command>printenv</command></term>
|
---|
| 705 | <listitem>
|
---|
| 706 | <para>Prints the environment</para>
|
---|
| 707 | <indexterm zone="ch-system-coreutils printenv">
|
---|
| 708 | <primary sortas="b-printenv">printenv</primary>
|
---|
| 709 | </indexterm>
|
---|
| 710 | </listitem>
|
---|
| 711 | </varlistentry>
|
---|
| 712 |
|
---|
| 713 | <varlistentry id="printf">
|
---|
| 714 | <term><command>printf</command></term>
|
---|
| 715 | <listitem>
|
---|
| 716 | <para>Prints the given arguments according to the given format, much
|
---|
| 717 | like the C printf function</para>
|
---|
| 718 | <indexterm zone="ch-system-coreutils printf">
|
---|
| 719 | <primary sortas="b-printf">printf</primary>
|
---|
| 720 | </indexterm>
|
---|
| 721 | </listitem>
|
---|
| 722 | </varlistentry>
|
---|
| 723 |
|
---|
| 724 | <varlistentry id="ptx">
|
---|
| 725 | <term><command>ptx</command></term>
|
---|
| 726 | <listitem>
|
---|
| 727 | <para>Produces a permuted index from the contents of the given files,
|
---|
| 728 | with each keyword in its context</para>
|
---|
| 729 | <indexterm zone="ch-system-coreutils ptx">
|
---|
| 730 | <primary sortas="b-ptx">ptx</primary>
|
---|
| 731 | </indexterm>
|
---|
| 732 | </listitem>
|
---|
| 733 | </varlistentry>
|
---|
| 734 |
|
---|
| 735 | <varlistentry id="pwd">
|
---|
| 736 | <term><command>pwd</command></term>
|
---|
| 737 | <listitem>
|
---|
| 738 | <para>Reports the name of the current working directory</para>
|
---|
| 739 | <indexterm zone="ch-system-coreutils pwd">
|
---|
| 740 | <primary sortas="b-pwd">pwd</primary>
|
---|
| 741 | </indexterm>
|
---|
| 742 | </listitem>
|
---|
| 743 | </varlistentry>
|
---|
| 744 |
|
---|
| 745 | <varlistentry id="readlink">
|
---|
| 746 | <term><command>readlink</command></term>
|
---|
| 747 | <listitem>
|
---|
| 748 | <para>Reports the value of the given symbolic link</para>
|
---|
| 749 | <indexterm zone="ch-system-coreutils readlink">
|
---|
| 750 | <primary sortas="b-readlink">readlink</primary>
|
---|
| 751 | </indexterm>
|
---|
| 752 | </listitem>
|
---|
| 753 | </varlistentry>
|
---|
| 754 |
|
---|
| 755 | <varlistentry id="rm">
|
---|
| 756 | <term><command>rm</command></term>
|
---|
| 757 | <listitem>
|
---|
| 758 | <para>Removes files or directories</para>
|
---|
| 759 | <indexterm zone="ch-system-coreutils rm">
|
---|
| 760 | <primary sortas="b-rm">rm</primary>
|
---|
| 761 | </indexterm>
|
---|
| 762 | </listitem>
|
---|
| 763 | </varlistentry>
|
---|
| 764 |
|
---|
| 765 | <varlistentry id="rmdir">
|
---|
| 766 | <term><command>rmdir</command></term>
|
---|
| 767 | <listitem>
|
---|
| 768 | <para>Removes directories if they are empty</para>
|
---|
| 769 | <indexterm zone="ch-system-coreutils rmdir">
|
---|
| 770 | <primary sortas="b-rmdir">rmdir</primary>
|
---|
| 771 | </indexterm>
|
---|
| 772 | </listitem>
|
---|
| 773 | </varlistentry>
|
---|
| 774 |
|
---|
| 775 | <varlistentry id="seq">
|
---|
| 776 | <term><command>seq</command></term>
|
---|
| 777 | <listitem>
|
---|
| 778 | <para>Prints a sequence of numbers within a given range and with a
|
---|
| 779 | given increment</para>
|
---|
| 780 | <indexterm zone="ch-system-coreutils seq">
|
---|
| 781 | <primary sortas="b-seq">seq</primary>
|
---|
| 782 | </indexterm>
|
---|
| 783 | </listitem>
|
---|
| 784 | </varlistentry>
|
---|
| 785 |
|
---|
| 786 | <varlistentry id="sha1sum">
|
---|
| 787 | <term><command>sha1sum</command></term>
|
---|
| 788 | <listitem>
|
---|
| 789 | <para>Prints or checks 160-bit Secure Hash Algorithm 1 (SHA1)
|
---|
| 790 | checksums</para>
|
---|
| 791 | <indexterm zone="ch-system-coreutils sha1sum">
|
---|
| 792 | <primary sortas="b-sha1sum">sha1sum</primary>
|
---|
| 793 | </indexterm>
|
---|
| 794 | </listitem>
|
---|
| 795 | </varlistentry>
|
---|
| 796 |
|
---|
[d9dc49a] | 797 | <varlistentry id="sha224sum">
|
---|
| 798 | <term><command>sha224sum</command></term>
|
---|
| 799 | <listitem>
|
---|
| 800 | <para>Prints or checks 224-bit Secure Hash Algorithm checksums</para>
|
---|
| 801 | <indexterm zone="ch-system-coreutils sha224sum">
|
---|
| 802 | <primary sortas="b-sha224sum">sha224sum</primary>
|
---|
| 803 | </indexterm>
|
---|
| 804 | </listitem>
|
---|
| 805 | </varlistentry>
|
---|
| 806 |
|
---|
| 807 | <varlistentry id="sha256sum">
|
---|
| 808 | <term><command>sha256sum</command></term>
|
---|
| 809 | <listitem>
|
---|
| 810 | <para>Prints or checks 256-bit Secure Hash Algorithm checksums</para>
|
---|
| 811 | <indexterm zone="ch-system-coreutils sha256sum">
|
---|
| 812 | <primary sortas="b-sha256sum">sha256sum</primary>
|
---|
| 813 | </indexterm>
|
---|
| 814 | </listitem>
|
---|
| 815 | </varlistentry>
|
---|
| 816 |
|
---|
| 817 | <varlistentry id="sha384sum">
|
---|
| 818 | <term><command>sha384sum</command></term>
|
---|
| 819 | <listitem>
|
---|
| 820 | <para>Prints or checks 384-bit Secure Hash Algorithm checksums</para>
|
---|
| 821 | <indexterm zone="ch-system-coreutils sha384sum">
|
---|
| 822 | <primary sortas="b-sha384sum">sha384sum</primary>
|
---|
| 823 | </indexterm>
|
---|
| 824 | </listitem>
|
---|
| 825 | </varlistentry>
|
---|
| 826 |
|
---|
| 827 | <varlistentry id="sha512sum">
|
---|
| 828 | <term><command>sha512sum</command></term>
|
---|
| 829 | <listitem>
|
---|
| 830 | <para>Prints or checks 512-bit Secure Hash Algorithm checksums</para>
|
---|
| 831 | <indexterm zone="ch-system-coreutils sha512sum">
|
---|
| 832 | <primary sortas="b-sha512sum">sha512sum</primary>
|
---|
| 833 | </indexterm>
|
---|
| 834 | </listitem>
|
---|
| 835 | </varlistentry>
|
---|
| 836 |
|
---|
[8ef8304] | 837 | <varlistentry id="shred">
|
---|
| 838 | <term><command>shred</command></term>
|
---|
| 839 | <listitem>
|
---|
| 840 | <para>Overwrites the given files repeatedly with complex patterns,
|
---|
| 841 | making it difficult to recover the data</para>
|
---|
| 842 | <indexterm zone="ch-system-coreutils shred">
|
---|
| 843 | <primary sortas="b-shred">shred</primary>
|
---|
| 844 | </indexterm>
|
---|
| 845 | </listitem>
|
---|
| 846 | </varlistentry>
|
---|
| 847 |
|
---|
[d9dc49a] | 848 | <varlistentry id="shuf">
|
---|
| 849 | <term><command>shuf</command></term>
|
---|
| 850 | <listitem>
|
---|
| 851 | <para>Shuffles lines of text</para>
|
---|
| 852 | <indexterm zone="ch-system-coreutils shuf">
|
---|
| 853 | <primary sortas="b-shuf">shuf</primary>
|
---|
| 854 | </indexterm>
|
---|
| 855 | </listitem>
|
---|
| 856 | </varlistentry>
|
---|
| 857 |
|
---|
[8ef8304] | 858 | <varlistentry id="sleep">
|
---|
| 859 | <term><command>sleep</command></term>
|
---|
| 860 | <listitem>
|
---|
| 861 | <para>Pauses for the given amount of time</para>
|
---|
| 862 | <indexterm zone="ch-system-coreutils sleep">
|
---|
| 863 | <primary sortas="b-sleep">sleep</primary>
|
---|
| 864 | </indexterm>
|
---|
| 865 | </listitem>
|
---|
| 866 | </varlistentry>
|
---|
| 867 |
|
---|
| 868 | <varlistentry id="sort">
|
---|
| 869 | <term><command>sort</command></term>
|
---|
| 870 | <listitem>
|
---|
| 871 | <para>Sorts the lines from the given files</para>
|
---|
| 872 | <indexterm zone="ch-system-coreutils sort">
|
---|
| 873 | <primary sortas="b-sort">sort</primary>
|
---|
| 874 | </indexterm>
|
---|
| 875 | </listitem>
|
---|
| 876 | </varlistentry>
|
---|
| 877 |
|
---|
| 878 | <varlistentry id="split">
|
---|
| 879 | <term><command>split</command></term>
|
---|
| 880 | <listitem>
|
---|
| 881 | <para>Splits the given file into pieces, by size or by number of
|
---|
| 882 | lines</para>
|
---|
| 883 | <indexterm zone="ch-system-coreutils split">
|
---|
| 884 | <primary sortas="b-split">split</primary>
|
---|
| 885 | </indexterm>
|
---|
| 886 | </listitem>
|
---|
| 887 | </varlistentry>
|
---|
| 888 |
|
---|
| 889 | <varlistentry id="stat">
|
---|
| 890 | <term><command>stat</command></term>
|
---|
| 891 | <listitem>
|
---|
| 892 | <para>Displays file or filesystem status</para>
|
---|
| 893 | <indexterm zone="ch-system-coreutils stat">
|
---|
| 894 | <primary sortas="b-stat">stat</primary>
|
---|
| 895 | </indexterm>
|
---|
| 896 | </listitem>
|
---|
| 897 | </varlistentry>
|
---|
| 898 |
|
---|
| 899 | <varlistentry id="stty">
|
---|
| 900 | <term><command>stty</command></term>
|
---|
| 901 | <listitem>
|
---|
| 902 | <para>Sets or reports terminal line settings</para>
|
---|
| 903 | <indexterm zone="ch-system-coreutils stty">
|
---|
| 904 | <primary sortas="b-stty">stty</primary>
|
---|
| 905 | </indexterm>
|
---|
| 906 | </listitem>
|
---|
| 907 | </varlistentry>
|
---|
| 908 |
|
---|
| 909 | <varlistentry id="sum">
|
---|
| 910 | <term><command>sum</command></term>
|
---|
| 911 | <listitem>
|
---|
| 912 | <para>Prints checksum and block counts for each given file</para>
|
---|
| 913 | <indexterm zone="ch-system-coreutils sum">
|
---|
| 914 | <primary sortas="b-sum">sum</primary>
|
---|
| 915 | </indexterm>
|
---|
| 916 | </listitem>
|
---|
| 917 | </varlistentry>
|
---|
| 918 |
|
---|
| 919 | <varlistentry id="sync">
|
---|
| 920 | <term><command>sync</command></term>
|
---|
| 921 | <listitem>
|
---|
| 922 | <para>Flushes file system buffers; it forces changed blocks to disk
|
---|
| 923 | and updates the super block</para>
|
---|
| 924 | <indexterm zone="ch-system-coreutils sync">
|
---|
| 925 | <primary sortas="b-sync">sync</primary>
|
---|
| 926 | </indexterm>
|
---|
| 927 | </listitem>
|
---|
| 928 | </varlistentry>
|
---|
| 929 |
|
---|
| 930 | <varlistentry id="tac">
|
---|
| 931 | <term><command>tac</command></term>
|
---|
| 932 | <listitem>
|
---|
| 933 | <para>Concatenates the given files in reverse</para>
|
---|
| 934 | <indexterm zone="ch-system-coreutils tac">
|
---|
| 935 | <primary sortas="b-tac">tac</primary>
|
---|
| 936 | </indexterm>
|
---|
| 937 | </listitem>
|
---|
| 938 | </varlistentry>
|
---|
| 939 |
|
---|
| 940 | <varlistentry id="tail">
|
---|
| 941 | <term><command>tail</command></term>
|
---|
| 942 | <listitem>
|
---|
| 943 | <para>Prints the last ten lines (or the given number of lines) of each
|
---|
| 944 | given file</para>
|
---|
| 945 | <indexterm zone="ch-system-coreutils tail">
|
---|
| 946 | <primary sortas="b-tail">tail</primary>
|
---|
| 947 | </indexterm>
|
---|
| 948 | </listitem>
|
---|
| 949 | </varlistentry>
|
---|
| 950 |
|
---|
| 951 | <varlistentry id="tee">
|
---|
| 952 | <term><command>tee</command></term>
|
---|
| 953 | <listitem>
|
---|
| 954 | <para>Reads from standard input while writing both to standard output
|
---|
| 955 | and to the given files</para>
|
---|
| 956 | <indexterm zone="ch-system-coreutils tee">
|
---|
| 957 | <primary sortas="b-tee">tee</primary>
|
---|
| 958 | </indexterm>
|
---|
| 959 | </listitem>
|
---|
| 960 | </varlistentry>
|
---|
| 961 |
|
---|
| 962 | <varlistentry id="test">
|
---|
| 963 | <term><command>test</command></term>
|
---|
| 964 | <listitem>
|
---|
| 965 | <para>Compares values and checks file types</para>
|
---|
| 966 | <indexterm zone="ch-system-coreutils test">
|
---|
| 967 | <primary sortas="b-test">test</primary>
|
---|
| 968 | </indexterm>
|
---|
| 969 | </listitem>
|
---|
| 970 | </varlistentry>
|
---|
| 971 |
|
---|
| 972 | <varlistentry id="touch">
|
---|
| 973 | <term><command>touch</command></term>
|
---|
| 974 | <listitem>
|
---|
| 975 | <para>Changes file timestamps, setting the access and modification
|
---|
| 976 | times of the given files to the current time; files that do not exist
|
---|
| 977 | are created with zero length</para>
|
---|
| 978 | <indexterm zone="ch-system-coreutils touch">
|
---|
| 979 | <primary sortas="b-touch">touch</primary>
|
---|
| 980 | </indexterm>
|
---|
| 981 | </listitem>
|
---|
| 982 | </varlistentry>
|
---|
| 983 |
|
---|
| 984 | <varlistentry id="tr">
|
---|
| 985 | <term><command>tr</command></term>
|
---|
| 986 | <listitem>
|
---|
| 987 | <para>Translates, squeezes, and deletes the given characters from
|
---|
| 988 | standard input</para>
|
---|
| 989 | <indexterm zone="ch-system-coreutils tr">
|
---|
| 990 | <primary sortas="b-tr">tr</primary>
|
---|
| 991 | </indexterm>
|
---|
| 992 | </listitem>
|
---|
| 993 | </varlistentry>
|
---|
| 994 |
|
---|
| 995 | <varlistentry id="true">
|
---|
| 996 | <term><command>true</command></term>
|
---|
| 997 | <listitem>
|
---|
| 998 | <para>Does nothing, successfully; it always exits with a status code
|
---|
| 999 | indicating success</para>
|
---|
| 1000 | <indexterm zone="ch-system-coreutils true">
|
---|
| 1001 | <primary sortas="b-true">true</primary>
|
---|
| 1002 | </indexterm>
|
---|
| 1003 | </listitem>
|
---|
| 1004 | </varlistentry>
|
---|
| 1005 |
|
---|
| 1006 | <varlistentry id="tsort">
|
---|
| 1007 | <term><command>tsort</command></term>
|
---|
| 1008 | <listitem>
|
---|
| 1009 | <para>Performs a topological sort; it writes a completely ordered list
|
---|
| 1010 | according to the partial ordering in a given file</para>
|
---|
| 1011 | <indexterm zone="ch-system-coreutils tsort">
|
---|
| 1012 | <primary sortas="b-tsort">tsort</primary>
|
---|
| 1013 | </indexterm>
|
---|
| 1014 | </listitem>
|
---|
| 1015 | </varlistentry>
|
---|
| 1016 |
|
---|
| 1017 | <varlistentry id="tty">
|
---|
| 1018 | <term><command>tty</command></term>
|
---|
| 1019 | <listitem>
|
---|
| 1020 | <para>Reports the file name of the terminal connected to standard
|
---|
| 1021 | input</para>
|
---|
| 1022 | <indexterm zone="ch-system-coreutils tty">
|
---|
| 1023 | <primary sortas="b-tty">tty</primary>
|
---|
| 1024 | </indexterm>
|
---|
| 1025 | </listitem>
|
---|
| 1026 | </varlistentry>
|
---|
| 1027 |
|
---|
| 1028 | <varlistentry id="uname">
|
---|
| 1029 | <term><command>uname</command></term>
|
---|
| 1030 | <listitem>
|
---|
| 1031 | <para>Reports system information</para>
|
---|
| 1032 | <indexterm zone="ch-system-coreutils uname">
|
---|
| 1033 | <primary sortas="b-uname">uname</primary>
|
---|
| 1034 | </indexterm>
|
---|
| 1035 | </listitem>
|
---|
| 1036 | </varlistentry>
|
---|
| 1037 |
|
---|
| 1038 | <varlistentry id="unexpand">
|
---|
| 1039 | <term><command>unexpand</command></term>
|
---|
| 1040 | <listitem>
|
---|
| 1041 | <para>Converts spaces to tabs</para>
|
---|
| 1042 | <indexterm zone="ch-system-coreutils unexpand">
|
---|
| 1043 | <primary sortas="b-unexpand">unexpand</primary>
|
---|
| 1044 | </indexterm>
|
---|
| 1045 | </listitem>
|
---|
| 1046 | </varlistentry>
|
---|
| 1047 |
|
---|
| 1048 | <varlistentry id="uniq">
|
---|
| 1049 | <term><command>uniq</command></term>
|
---|
| 1050 | <listitem>
|
---|
| 1051 | <para>Discards all but one of successive identical lines</para>
|
---|
| 1052 | <indexterm zone="ch-system-coreutils uniq">
|
---|
| 1053 | <primary sortas="b-uniq">uniq</primary>
|
---|
| 1054 | </indexterm>
|
---|
| 1055 | </listitem>
|
---|
| 1056 | </varlistentry>
|
---|
| 1057 |
|
---|
| 1058 | <varlistentry id="unlink">
|
---|
| 1059 | <term><command>unlink</command></term>
|
---|
| 1060 | <listitem>
|
---|
| 1061 | <para>Removes the given file</para>
|
---|
| 1062 | <indexterm zone="ch-system-coreutils unlink">
|
---|
| 1063 | <primary sortas="b-unlink">unlink</primary>
|
---|
| 1064 | </indexterm>
|
---|
| 1065 | </listitem>
|
---|
| 1066 | </varlistentry>
|
---|
| 1067 |
|
---|
| 1068 | <varlistentry id="users">
|
---|
| 1069 | <term><command>users</command></term>
|
---|
| 1070 | <listitem>
|
---|
| 1071 | <para>Reports the names of the users currently logged on</para>
|
---|
| 1072 | <indexterm zone="ch-system-coreutils users">
|
---|
| 1073 | <primary sortas="b-users">users</primary>
|
---|
| 1074 | </indexterm>
|
---|
| 1075 | </listitem>
|
---|
| 1076 | </varlistentry>
|
---|
| 1077 |
|
---|
| 1078 | <varlistentry id="vdir">
|
---|
| 1079 | <term><command>vdir</command></term>
|
---|
| 1080 | <listitem>
|
---|
| 1081 | <para>Is the same as <command>ls -l</command></para>
|
---|
| 1082 | <indexterm zone="ch-system-coreutils vdir">
|
---|
| 1083 | <primary sortas="b-vdir">vdir</primary>
|
---|
| 1084 | </indexterm>
|
---|
| 1085 | </listitem>
|
---|
| 1086 | </varlistentry>
|
---|
| 1087 |
|
---|
| 1088 | <varlistentry id="wc">
|
---|
| 1089 | <term><command>wc</command></term>
|
---|
| 1090 | <listitem>
|
---|
| 1091 | <para>Reports the number of lines, words, and bytes for each given
|
---|
| 1092 | file, as well as a total line when more than one file is given</para>
|
---|
| 1093 | <indexterm zone="ch-system-coreutils wc">
|
---|
| 1094 | <primary sortas="b-wc">wc</primary>
|
---|
| 1095 | </indexterm>
|
---|
| 1096 | </listitem>
|
---|
| 1097 | </varlistentry>
|
---|
| 1098 |
|
---|
| 1099 | <varlistentry id="who">
|
---|
| 1100 | <term><command>who</command></term>
|
---|
| 1101 | <listitem>
|
---|
| 1102 | <para>Reports who is logged on</para>
|
---|
| 1103 | <indexterm zone="ch-system-coreutils who">
|
---|
| 1104 | <primary sortas="b-who">who</primary>
|
---|
| 1105 | </indexterm>
|
---|
| 1106 | </listitem>
|
---|
| 1107 | </varlistentry>
|
---|
| 1108 |
|
---|
| 1109 | <varlistentry id="whoami">
|
---|
| 1110 | <term><command>whoami</command></term>
|
---|
| 1111 | <listitem>
|
---|
| 1112 | <para>Reports the user name associated with the current effective
|
---|
| 1113 | user ID</para>
|
---|
| 1114 | <indexterm zone="ch-system-coreutils whoami">
|
---|
| 1115 | <primary sortas="b-whoami">whoami</primary>
|
---|
| 1116 | </indexterm>
|
---|
| 1117 | </listitem>
|
---|
| 1118 | </varlistentry>
|
---|
| 1119 |
|
---|
| 1120 | <varlistentry id="yes">
|
---|
| 1121 | <term><command>yes</command></term>
|
---|
| 1122 | <listitem>
|
---|
| 1123 | <para>Repeatedly outputs <quote>y</quote> or a given string until
|
---|
| 1124 | killed</para>
|
---|
| 1125 | <indexterm zone="ch-system-coreutils yes">
|
---|
| 1126 | <primary sortas="b-yes">yes</primary>
|
---|
| 1127 | </indexterm>
|
---|
| 1128 | </listitem>
|
---|
| 1129 | </varlistentry>
|
---|
| 1130 |
|
---|
| 1131 | </variablelist>
|
---|
| 1132 |
|
---|
| 1133 | </sect2>
|
---|
[673b0d8] | 1134 |
|
---|
| 1135 | </sect1>
|
---|