2 % This is part of CLFSja package.
4 % This is a CTIE change file for the original XML source of the CLFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <para>The Coreutils package contains utilities for showing and setting the
14 basic system characteristics.</para>
17 Coreutils パッケージはシステムの基本的な特性を表示したり設定したりするためのユーティリティを提供します。
22 <title>Installation of Coreutils</title>
24 <title>&InstallationOf1;Coreutils &InstallationOf2;</title>
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>
34 本パッケージの <command>uname</command> プログラムには <option>-p</option> スイッチが常に <computeroutput>unknown</computeroutput> を返すという不具合があります。
35 以下のパッチを適用してアーキテクチャーによらない処理となるように修正します。
40 <para os="c">Now prepare Coreutils for compilation:</para>
42 <para os="c">&PreparePackage1;Coreutils &PreparePackage2;</para>
46 <title>The meaning of the configure options:</title>
48 <title>&MeaningOfOption1;configure &MeaningOfOption2;</title>
51 @x FORCE_UNSAFE_CONFIGURE=1
52 <para>Forces Coreutils to compile when using the root user.</para>
55 この環境変数は root ユーザーによりパッケージをビルドできるようにします。
60 <para os="e">Compile the package:</para>
62 <para os="e">&CompileThePackage;</para>
66 <para os="g">Now the test suite is ready to be run. First, run
67 the tests that are meant to be run as user
68 <systemitem class="username">root</systemitem>:</para>
72 まずは <systemitem class="username">root</systemitem> ユーザーに対するテストを実行します。
77 <para os="i">The test suite will now be run as the
78 <systemitem class="username">nobody</systemitem> user. Some tests require
79 that the user be a member of more than one group. Add a temporary group
80 and make the user <systemitem class="username">nobody</systemitem> a part
81 of it so that the tests are not skipped:</para>
84 ここからは <systemitem class="username">nobody</systemitem> ユーザー向けのテストを実行します。
85 ただしテストの中には、複数のグループに属するユーザーを必要とするものがあります。
86 そのようなテストが確実に実施されるように、一時的なグループを作って <systemitem class="username">nobody</systemitem> ユーザーがそれに属するようにします。
91 <para os="k">Fix permissions of some files so the non-root user can compile
92 and run the tests:</para>
95 特定のファイルのパーミッションを変更して root ユーザー以外でもコンパイルとテストができるようにします。
100 <para os="m">Then run the remainder of the tests as the
101 <systemitem class="username">nobody</systemitem> user:</para>
104 <systemitem class="username">nobody</systemitem> ユーザーによりテストを実行します。
109 <para os="o">Remove the temporary group:</para>
117 <para os="q">Install the package:</para>
119 <para os="q">&InstallThePackage;</para>
123 <para os="s">Move programs to the locations specified by the FHS:</para>
126 FHS が規定しているディレクトリにプログラムを移します。
131 <title>Contents of Coreutils</title>
133 <title>&ContentsOf1;Coreutils &ContentsOf2;</title>
137 <segtitle>Installed programs</segtitle>
138 <segtitle>Installed library</segtitle>
139 <segtitle>Installed directory</segtitle>
141 <segtitle>&InstalledProgram;</segtitle>
142 <segtitle>&InstalledLibrary;</segtitle>
143 <segtitle>&InstalledDirectory;</segtitle>
147 <seg>[, base64, basename, cat, chcon, chgrp, chmod, chown, chroot,
148 cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du,
149 echo, env, expand, expr, factor, false, fmt, fold, groups, head,
150 hostid, hostname, id, install, join, link, ln, logname, ls, md5sum,
151 mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, nproc, numfmt, od, paste,
152 pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, realpath, rm,
153 rmdir, runcon, seq, sha1sum, sha224sum, sha256sum, sha384sum,
154 sha512sum, shred, shuf, sleep, sort, split, stat, stdbuf, stty, sum,
155 sync, tac, tail, tee, test, timeout, touch, tr, true, truncate, tsort,
156 tty, uname, unexpand, uniq, unlink, users, vdir, wc, who, whoami, yes</seg>
157 <seg>libstdbuf.so</seg>
158 <seg>/usr/lib/coreutils</seg>
160 <seg>[, base64, basename, cat, chcon, chgrp, chmod, chown, chroot,
161 cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du,
162 echo, env, expand, expr, factor, false, fmt, fold, groups, head,
163 hostid, hostname, id, install, join, link, ln, logname, ls, md5sum,
164 mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, nproc, numfmt, od, paste,
165 pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, realpath, rm,
166 rmdir, runcon, seq, sha1sum, sha224sum, sha256sum, sha384sum,
167 sha512sum, shred, shuf, sleep, sort, split, stat, stdbuf, stty, sum,
168 sync, tac, tail, tee, test, timeout, touch, tr, true, truncate, tsort,
169 tty, uname, unexpand, uniq, unlink, users, vdir, wc, who, whoami, yes</seg>
170 <seg>libstdbuf.so</seg>
171 <seg>/usr/lib/coreutils</seg>
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
181 <para>Base64 encode/decode data and print to standard output</para>
184 Base64 のエンコード、出コードを行い標準出力へ出力します。
189 <para>Strips any path and a given suffix from a file name</para>
192 ファイル名からパス部分と指定されたサフィックスを取り除きます。
197 <para>Concatenates files to standard output</para>
200 複数ファイルを連結して標準出力へ出力します。
205 <para>Changes security context for files and directories</para>
208 ファイルやディレクトリに対してセキュリティコンテキスト (security context) を変更します。
213 <para>Changes the group ownership of files and directories</para>
216 ファイルやディレクトリのグループ所有権を変更します。
221 <para>Changes the permissions of each file to the given mode; the mode
222 can be either a symbolic representation of the changes to make or an
223 octal number representing the new permissions</para>
226 指定されたファイルのパーミッションを指定されたモードに変更します。
227 モードは、変更内容を表す文字表現か8進数表現を用いることができます。
232 <para>Changes the user and/or group ownership of files and
236 ファイルやディレクトリの所有者またはグループを変更します。
241 <para>Runs a command with the specified directory as the
242 <filename class="directory">/</filename> directory</para>
245 指定したディレクトリを <filename
246 class="directory">/</filename> ディレクトリとみなしてコマンドを実行します。
251 <para>Prints the Cyclic Redundancy Check (CRC) checksum and the byte
252 counts of each specified file</para>
255 指定された複数ファイルについて、CRC (Cyclic Redundancy Check; 巡回冗長検査) チェックサム値とバイト数を表示します。
260 <para>Compares two sorted files, outputting in three columns the lines
261 that are unique and the lines that are common</para>
264 ソート済の二つのファイルを比較して、一致しない固有の行と一致する行を三つのカラムに分けて出力します。
269 <para>Copies files</para>
271 <para>ファイルをコピーします。</para>
275 <para>Splits a given file into several new files, separating them
276 according to given patterns or line numbers and outputting the byte
277 count of each new file</para>
280 指定されたファイルを複数の新しいファイルに分割します。
281 分割は指定されたパターンか行数により行います。
282 そして分割後のファイルにはバイト数を出力します。
287 <para>Prints sections of lines, selecting the parts according to given
288 fields or positions</para>
291 指定されたフィールド位置や文字位置によってテキスト行を部分的に取り出します。
296 <para>Displays the current time in the given format, or sets the
300 指定された書式により現在時刻を表示します。
306 <para>Copies a file using the given block size and count, while
307 optionally performing conversions on it</para>
310 指定されたブロックサイズとブロック数によりファイルをコピーします。
316 <para>Reports the amount of disk space available (and used) on all
317 mounted file systems, or only on the file systems holding the selected
321 マウントされているすべてのファイルシステムに対して、ディスクの空き容量 (使用量) を表示します。
322 あるいは指定されたファイルを含んだファイルシステムについてのみの情報を表示します。
327 <para>Lists the contents of each given directory (the same as
328 the <command>ls</command> command)</para>
331 指定されたディレクトリの内容を一覧表示します。(<command>ls</command> コマンドに同じ。)
336 <para>Outputs commands to set the <envar>LS_COLOR</envar>
337 environment variable to change the color scheme used by
338 <command>ls</command></para>
341 環境変数 <envar>LS_COLOR</envar> にセットするべきコマンドを出力します。
342 これは <command>ls</command> がカラー設定を行う際に利用します。
347 <para>Strips the non-directory suffix from a file name</para>
350 ファイル名からディレクトリ名以外のサフィックスを取り除きます。
355 <para>Reports the amount of disk space used by the current directory,
356 by each of the given directories (including all subdirectories) or by
357 each of the given files</para>
360 カレントディレクトリ、指定ディレクトリ (サブディレクトリを含む)、指定された個々のファイルについて、それらが利用しているディスク使用量を表示します。
365 <para>Displays the given strings</para>
373 <para>Runs a command in a modified environment</para>
381 <para>Converts tabs to spaces</para>
389 <para>Evaluates expressions</para>
397 <para>Prints the prime factors of all specified integer numbers</para>
400 指定された整数値すべてに対する素因数 (prime factor) を表示します。
405 <para>Does nothing, unsuccessfully; it always exits with a status code
406 indicating failure</para>
410 これは常に失敗を意味するステータスコードを返して終了します。
415 <para>Reformats the paragraphs in the given files</para>
418 指定されたファイル内にて段落を整形します。
423 <para>Wraps the lines in the given files</para>
431 <para>Reports a user's group memberships</para>
439 <para>Prints the first ten lines (or the given number of lines)
440 of each given file</para>
443 指定されたファイルの先頭10行 (あるいは指定された行数) を表示します。
448 <para>Reports the numeric identifier (in hexadecimal) of the host</para>
451 ホスト識別番号 (16進数) を表示します。
456 <para>Reports or sets the name of the host</para>
464 <para>Reports the effective user ID, group ID, and group memberships
465 of the current user or specified user</para>
468 現在のユーザーあるいは指定されたユーザーについて、有効なユーザーID、グループID、所属グループを表示します。
473 <para>Copies files while setting their permission modes and, if
474 possible, their owner and group</para>
477 ファイルコピーを行います。その際にパーミッションモードを設定し、可能なら所有者やグループも設定します。
482 <para>Joins the lines that have identical join fields from two
483 separate files</para>
486 2つのファイル内にて共通項を持つ行を結合します。
491 <para>Creates a hard link with the given name to a file</para>
494 指定された名称によりファイルへのハードリンクを生成します。
499 <para>Makes hard links or soft (symbolic) links between files</para>
502 ファイルに対するハードリンク、あるいはソフトリンク (シンボリックリンク) を生成します。
507 <para>Reports the current user's login name</para>
515 <para>Lists the contents of each given directory</para>
518 指定されたディレクトリ内容を一覧表示します。
523 <para>Reports or checks Message Digest 5 (MD5) checksums</para>
526 MD5 (Message Digest 5) チェックサム値を表示、あるいはチェックします。
531 <para>Creates directories with the given names</para>
534 指定された名前のディレクトリを生成します。
539 <para>Creates First-In, First-Outs (FIFOs), a <quote>named
540 pipe</quote> in UNIX parlance, with the given names</para>
543 指定された名前の FIFO (First-In, First-Out) を生成します。
544 これは UNIX の用語で "名前付きパイプ (named pipe)" とも呼ばれます。
549 <para>Creates device nodes with the given names; a device node is a
550 character special file, a block special file, or a FIFO</para>
553 指定された名前のデバイスノードを生成します。
554 デバイスノードはキャラクター型特殊ファイル (character special file)、ブロック特殊ファイル (block special file)、FIFO です。
559 <para>Creates temporary files in a secure manner; it is used in
569 <para>Moves or renames files or directories</para>
572 ファイルあるいはディレクトリを移動、名称変更します。
577 <para>Runs a program with modified scheduling priority</para>
580 スケジューリング優先度を変更してプログラムを実行します。
585 <para>Numbers the lines from the given files</para>
593 <para>Runs a command immune to hangups, with its output redirected to
597 ハングアップに関係なくコマンドを実行します。
598 その出力はログファイルにリダイレクトされます。
603 <para>Prints the number of processing units available to the current
607 プロセスが利用可能なプロセスユニット (processing unit) の数を表示します。
612 <para>Converts numbers to or from human-readable strings</para>
615 記述された文字列と数値を互いに変換します。
620 <para>Dumps files in octal and other formats</para>
623 ファイル内容を 8進数または他の書式でダンプします。
628 <para>Merges the given files, joining sequentially corresponding lines
629 side by side, separated by tab characters</para>
633 その際には各行を順に並べて結合し、その間をタブ文字で区切ります。
638 <para>Checks if file names are valid or portable</para>
641 ファイル名が有効で移植可能であるかをチェックします。
646 <para>Is a lightweight finger client; it reports some information
647 about the given users</para>
651 指定されたユーザーに関する情報を表示します。
656 <para>Paginates and columnates files for printing</para>
659 ファイルを印刷するために、ページ番号を振りカラム整形を行います。
664 <para>Prints the environment</para>
672 <para>Prints the given arguments according to the given format, much
673 like the C printf function</para>
676 指定された引数を指定された書式で表示します。
677 C 言語の printf 関数に似ています。
682 <para>Produces a permuted index from the contents of the given files,
683 with each keyword in its context</para>
686 指定されたファイル内のキーワードに対して整列済インデックス (permuted index) を生成します。
691 <para>Reports the name of the current working directory</para>
699 <para>Reports the value of the given symbolic link</para>
702 指定されたシンボリックリンクの対象を表示します。
707 <para>Prints the resolved path</para>
715 <para>Removes files or directories</para>
723 <para>Removes directories if they are empty</para>
726 ディレクトリが空である時にそのディレクトリを削除します。
731 <para>Runs a command with specified security context</para>
734 指定されたセキュリティコンテキストでコマンドを実行します。
739 <para>Prints a sequence of numbers within a given range and with a
740 given increment</para>
743 指定された範囲と増分に従って数値の並びを表示します。
748 <para>Prints or checks 160-bit Secure Hash Algorithm 1 (SHA1)
752 160 ビットの SHA1 (Secure Hash Algorithm 1) チェックサム値を表示またはチェックします。
757 <para>Prints or checks SHA224 checksums</para>
760 SHA224 チェックサム値を表示またはチェックします。
765 <para>Prints or checks SHA256 checksums</para>
768 SHA256 チェックサム値を表示またはチェックします。
773 <para>Prints or checks SHA384 checksums</para>
776 SHA384 チェックサム値を表示またはチェックします。
781 <para>Prints or checks SHA512 checksums</para>
784 SHA512 チェックサム値を表示またはチェックします。
789 <para>Overwrites the given files repeatedly with complex patterns,
790 making it difficult to recover the data</para>
793 指定されたファイルに対して、複雑なパターンデータを繰り返し上書きすることで、データ復旧を困難なものにします。
798 <para>Write a random permutation of the input lines to standard output or a file</para>
801 入力行をランダムに取り出して標準出力またはファイルへ出力します。
806 <para>Pauses for the given amount of time</para>
814 <para>Sorts the lines from the given files</para>
822 <para>Splits the given file into pieces, by size or by number of
826 指定されたファイルを、バイト数または行数を指定して分割します。
831 <para>Displays file or filesystem status</para>
834 ファイルやファイルシステムのステータスを表示します。
839 <para>Runs a command with modified buffering operations for its
840 standard streams</para>
843 標準ストリームのバッファリング操作を変更してコマンド実行します。
848 <para>Sets or reports terminal line settings</para>
856 <para>Prints checksum and block counts for each given file</para>
859 指定されたファイルのチェックサムやブロック数を表示します。
864 <para>Flushes file system buffers; it forces changed blocks to disk
865 and updates the super block</para>
869 変更のあったブロックは強制的にディスクに書き出し、スーパーブロック (super block) を更新します。
874 <para>Concatenates the given files in reverse</para>
877 指定されたファイルを逆順にして連結します。
882 <para>Prints the last ten lines (or the given number of lines) of each
886 指定されたファイルの最終の10行 (あるいは指定された行数) を表示します。
891 <para>Reads from standard input while writing both to standard output
892 and to the given files</para>
895 標準入力を読み込んで、標準出力と指定ファイルの双方に出力します。
900 <para>Compares values and checks file types</para>
903 ファイルタイプの比較やチェックを行います。
908 <para>Runs a command with a time limit</para>
916 <para>Changes file timestamps, setting the access and modification
917 times of the given files to the current time; files that do not exist
918 are created with zero length</para>
922 そのファイルに対するアクセス時刻、更新時刻を現在時刻にするものです。
923 そのファイルが存在しなかった場合はゼロバイトのファイルを新規生成します。
928 <para>Translates, squeezes, and deletes the given characters from
929 standard input</para>
932 標準入力から読み込んだ文字列に対して、変換、圧縮、削除を行います。
937 <para>Does nothing, successfully; it always exits with a status code
938 indicating success</para>
941 何も行わず処理に成功します。これは常に成功を意味するステータスコードを返して終了します。
946 <para>Shrinks or expands a file to the specified size</para>
949 ファイルを指定されたサイズに縮小または拡張します。
954 <para>Performs a topological sort; it writes a completely ordered list
955 according to the partial ordering in a given file</para>
958 トポロジカルソート (topological sort) を行います。
959 指定されたファイルの部分的な順序に従って並び替えリストを出力します。
964 <para>Reports the file name of the terminal connected to standard
968 標準入力に接続された端末のファイル名を表示します。
973 <para>Reports system information</para>
981 <para>Converts spaces to tabs</para>
989 <para>Discards all but one of successive identical lines</para>
992 連続する同一行を一行のみ残して削除します。
997 <para>Removes the given file</para>
1005 <para>Reports the names of the users currently logged on</para>
1008 現在ログインしているユーザー名を表示します。
1013 <para>Is the same as <command>ls -l</command></para>
1016 <command>ls -l</command> と同じ。
1021 <para>Reports the number of lines, words, and bytes for each given
1022 file, as well as a total line when more than one file is given</para>
1025 指定されたファイルの行数、単語数、バイト数を表示します。
1026 複数ファイルが指定された場合はこれに加えて合計も出力します。
1031 <para>Reports who is logged on</para>
1039 <para>Reports the user name associated with the current effective
1043 現在有効なユーザーIDに関連づいているユーザー名を表示します。
1048 <para>Repeatedly outputs <quote>y</quote> or a given string until
1052 処理が停止されるまで繰り返して<quote>y</quote>または指定文字を出力します。
1057 <para>Library used by <command>stdbuf</command></para>
1060 <command>stdbuf</command> が利用するライブラリ。