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