[Top] | [Contents] | [Index] | [ ? ] |
@insertcopying
1. はじめに | Caveats, overview, and authors. | |
2. 共通のオプション | Common options. | |
3. ファイル全体の出力 | cat tac nl od | |
4. ファイルの内容の書式化 | fmt pr fold | |
5. ファイルの一部の出力 | head tail split csplit | |
6. ファイルの要約 | wc sum cksum md5sum | |
7. ソートされたファイルの処理 | sort uniq comm ptx tsort | |
8. 行のフィールドの処理 | cut paste join | |
9. 文字の処理 | tr expand unexpand | |
10. ディレクトリのリストアップ | ls dir vdir d v dircolors | |
11. 基本的なオペレーション | cp dd install mv rm shred | |
12. 特殊ファイルの形式 | ln mkdir rmdir mkfifo mknod | |
13. ファイル属性の変更 | chgrp chmod chown touch | |
14. ディクスの使用 | df du stat sync | |
15. テキストの表示 | echo printf yes | |
16. 条件文 | false true test expr | |
17. リダイレクション | tee | |
18. ファイル名の操作 | dirname basename pathchk | |
19. 作業の状況 | pwd stty printenv tty | |
20. ユーザ情報 | id logname whoami groups users who | |
21. システムの状況 | date uname hostname | |
22. 修正されたコマンドの呼び出し | chroot env nice nohup su | |
23. プロセス制御 | kill | |
24. 遅延 | sleep | |
25. 数値処理 | factor seq | |
26. ファイルの許可 | Access modes. | |
27. 日付入力の書式 | Specifying date strings. | |
28. ソフトウェア・ツールボックスを開く | The software tools philosophy. | |
A. GNU Free Documentation License | The license for this documentation. | |
索引 | General index. | |
-- 詳細なノードリスト --- | ||
---|---|---|
共通のオプション | ||
2.1 終了ステータス | Indicating program success or failure. | |
2.2 バックアップオプション | Backup options | |
2.3 ブロックサイズ | Block size | |
2.4 ターゲットディレクトリ | Target directory | |
2.5 末尾のスラッシュ | Trailing slashes | |
2.6 標準への準拠 | Standards conformance | |
ファイル全体を出力 | ||
3.1 cat : ファイルを連結し書き込む | Concatenate and write files. | |
3.2 tac : 逆順にファイルを連結し書き込む | Concatenate and write files in reverse. | |
3.3 nl : 行に番号を付けファイルに書き込む | Number lines and write files. | |
3.4 od : 八進数やその他の書式でファイルを書き出す | Write files in octal or other formats. | |
ファイルの内容の書式化 | ||
4.1 fmt : 段落のテキストを再書式化する. | Reformat paragraph text. | |
4.2 pr : 印刷のためのファイルのページ化とコラム化 | Paginate or columnate files for printing. | |
4.3 fold : 指定された幅に合わせるため,入力行を折り曲げる | Wrap input lines to fit in specified width. | |
ファイルの一部を出力 | ||
5.1 head : ファイルの最初の部分を出力 | Output the first part of files. | |
5.2 tail : ファイルの最後の部分を出力 | Output the last part of files. | |
5.3 split : ファイルを固定サイズの部分に分割 | Split a file into fixed-size pieces. | |
5.4 csplit : ファイルを文脈で決定された部分に分割 | Split a file into context-determined pieces. | |
ファイルの要約 | ||
6.1 wc : バイト,単語,行数を出力 | Print byte, word, and line counts. | |
6.2 sum : チェックサムとブロック数を出力 | Print checksum and block counts. | |
6.3 cksum : CRCチェックサムとバイトカウントを出力 | Print CRC checksum and byte counts. | |
6.4 md5sum : メッセージダイジェストの出力と調査 | Print or check message-digests. | |
ソートされたファイルの操作 | ||
7.1 sort : テキストファイルをソート | Sort text files. | |
7.2 uniq : ファイルのユニーク化 | Uniquify files. | |
7.3 comm : 二つのソートされた行と行の比較 | Compare two sorted files line by line. | |
7.6 ptx : 並べ替えた索引の生成 | Produce a permuted index of file contents. | |
7.4 tsort : 位相幾何学的なソート | Topological sort. | |
ptx : 並べ替えした索引の生成
| ||
7.6.1 一般的なオプション | Options which affect general program behavior. | |
7.6.2 文字セットの選択 | Underlying character set considerations. | |
7.6.3 単語の選択と入力の処理 | Input fields, contexts, and keyword selection. | |
7.6.4 出力の書式 | Types of output format, and sizing the fields. | |
7.6.5 ptx のGNU拡張 | The GNU extensions to ptx | |
行のフィールドの操作 | ||
8.1 cut : 行の選択した部分の出力 | Print selected parts of lines. | |
8.2 paste : ファイルの行を統合します | Merge lines of files. | |
8.3 join : 共通のフィールドで行を結合 | Join lines on a common field. | |
文字の操作 | ||
9.1 tr : 文字の変換,圧縮,そして/または,削除 | Translate, squeeze, and/or delete characters. | |
9.2 expand : タブをスペースに変換 | Convert tabs to spaces. | |
9.3 unexpand : スペースをタブに変換する | Convert spaces to tabs. | |
tr : 文字を置換する,まとめる,そして/または削除する
| ||
9.1.1 文字の組の指定 | Specifying sets of characters. | |
9.1.2 変換 | Changing one characters to another. | |
9.1.3 繰り返しの圧縮と削除 | Squeezing repeats and deleting. | |
9.1.4 警告メッセージ | Warning messages. | |
ディレクトリのリストアップ | ||
10.1 ls : ディレクトリの内容をリストアップ | List directory contents | |
10.2 dir : ディレクトリの内容の短いリスト | Briefly list directory contents | |
10.3 vdir : ディレクトリの内容の冗長なリスト | Verbosely list directory contents | |
10.4 dircolors : ls の色をセットアップ | Color setup for ls | |
ls : ディレクトリの内容をリストアップする
| ||
10.1.1 リストアップされるファイル | Which files are listed | |
10.1.2 リストアップされる情報 | What information is listed | |
10.1.3 出力の並べ替え | Sorting the output | |
10.1.4 バージョンの並べ替えの詳細 | More details about version sort | |
10.1.5 一般的な出力書式 | General output formatting | |
10.1.7 ファイル名の書式化 | Formatting the file names | |
基本操作 | ||
11.1 cp : ファイルとディレクトリのコピー | Copy files and directories | |
11.2 dd : ファイルの変換とコピー | Convert and copy a file | |
11.3 install : ファイルのコピーと属性の設定 | Copy files and set attributes | |
11.4 mv : ファイルの移動(名前の変更) | Move (rename) files | |
11.5 rm : ファイルやディレクトリの削除 | Remove files or directories | |
11.6 shred : より安全なファイルの削除 | Remove files more securely | |
特殊なファイル形式 | ||
12.1 link : linkシステムコールでハードリンクを作成する | Make a hard link via the link syscall | |
12.2 ln : ファイル間にリンクを作成 | Make links between files | |
12.3 mkdir : ディレクトリの作成 | Make directories | |
12.4 mkfifo : FIFO(名前付きパイプ)の作成 | Make FIFOs (named pipes) | |
12.5 mknod : ブロックやキャラクタ特殊ファイルの作成 | Make block or character special files | |
12.6 readlink : シンボリックリンクの対象を出力 | Print the referent of a symbolic link | |
12.7 rmdir : 空のディレクトリの削除 | Remove empty directories | |
12.8 unlink : unlinkシステムコールでファイルを削除 | Remove files via unlink syscall | |
ファイルの属性を変更する | ||
13.1 chown : ファイルの所有者とグループの変更 | Change file owner and group | |
13.2 chgrp : グループの所有権の変更 | Change group ownership | |
13.3 chmod : アクセス許可の変更 | Change access permissions | |
13.4 touch : ファイルのタイプスタンプの変更 | Change file timestamps | |
ディスクの利用状況 | ||
14.1 df : ファイルシステムのディスクスペースの使用の報告 | Report filesystem disk space usage | |
14.2 du : ファイルスペースの使用を推定 | Estimate file space usage | |
14.3 stat : ファイルやファイルシステムのステータスを報告 | Report file or filesystem status | |
14.4 sync : ディスクのデータとメモリの同期 | Synchronize data on disk with memory | |
テキストの出力 | ||
15.1 echo : テキストの行を表示 | Print a line of text | |
15.2 printf : データの書式化と出力 | Format and print data | |
15.3 yes : 中断するまで文字列を出力 | Print a string until interrupted | |
条件文 | ||
16.1 false : 何もせず失敗します | Do nothing, unsuccessfully | |
16.2 true : 何もせず成功します | Do nothing, successfully | |
16.3 test : ファイル形式の調査と値の比較 | Check file types and compare values | |
16.4 expr : 式の評価 | Evaluate expressions | |
test : ファイル形式の調査と値の比較
| ||
16.3.1 ファイル形式のテスト | File type tests | |
16.3.2 アクセス許可のテスト | Access permission tests | |
16.3.3 ファイルの特徴テスト | File characteristic tests | |
16.3.4 文字列のテスト | String tests | |
16.3.5 数値テスト | Numeric tests | |
expr : 式の評価
| ||
16.4.1 文字列式 | + : match substr index length | |
16.4.2 数式 | ||
16.4.3 expr の関係式 | | & < <= = == != >= > | |
16.4.4 expr の使用例 | Examples of using expr | |
リダイレクト | ||
17.1 tee : 出力を複数のファイルにリダイレクトする | Redirect output to multiple files | |
ファイル名の操作 | ||
18.1 basename : ディレクトリと接尾子をファイル名から除去 | Strip directory and suffix from a file name | |
18.2 dirname : ディレクトリ以外の接尾子をファイル名から除去 | Strip non-directory suffix from a file name | |
18.3 pathchk : ファイル名の移植性を調査 | Check file name portability | |
作業中の状況 | ||
19.1 pwd : 作業中のディレクトリを表示 | Print working directory | |
19.2 stty : 端末の特徴を表示または変更 | Print or change terminal characteristics | |
19.3 printenv : すべてまたはいくつかの環境変数を出力 | Print all or some environment variables | |
19.4 tty : 標準入力につながっている端末のファイル名を出力 | Print file name of terminal on standard input | |
stty : 端末の特徴の出力や変更
| ||
19.2.1 制御設定 | Control settings | |
19.2.2 入力設定 | Input settings | |
19.2.3 出力設定 | Output settings | |
19.2.4 ローカル設定 | Local settings | |
19.2.5 組み合わせ設定 | Combination settings | |
19.2.6 特殊文字 | Special characters | |
19.2.7 特殊設定 | Special settings | |
ユーザの情報 | ||
20.1 id : 実際と実効のuidとgidを出力 | Print real and effective uid and gid | |
20.2 logname : 現在のログイン名を出力 | Print current login name | |
20.3 whoami : 実効ユーザidの出力 | Print effective user id | |
20.4 groups : ユーザが所属するグループ名を出力 | Print group names a user is in | |
20.5 users : 現在ログインしているユーザのログイン名を出力 | Print login names of users currently logged in | |
20.6 who : 現在ログインしているユーザを出力 | Print who is currently logged in | |
システムの状況 | ||
21.1 date : システムの日付と時間を出力または設定 | Print or set system date and time | |
21.2 uname : システム情報の出力 | Print system information | |
21.3 hostname : システム名の出力や設定 | Print or set system name | |
21.4 hostid : 数値でホストの識別子を出力 | Print numeric host identifier. | |
date : システムの日時の出力と設定
| ||
21.1.1 時間指示語 | Time directives | |
21.1.2 日付指示語 | Date directives | |
21.1.3 リテラル指示語 | Literal directives | |
21.1.4 パディング | Padding | |
21.1.5 時間の設定 | Setting the time | |
21.1.6 date のオプション | Options for date | |
21.1.7 date の例 | Examples of date | |
コマンドの呼び出しを修正 | ||
22.1 chroot : 異なるルートディレクトリでコマンドを実行 | Run a command with a different root directory | |
22.2 env : 変更された環境変数でコマンドを実行 | Run a command in a modified environment | |
22.3 nice : 変更されたスケジュール優先順位でコマンドを実行 | Run a command with modified scheduling priority | |
22.4 nohup : ハングアップを免除したコマンドの実行 | Run a command immune to hangups | |
22.5 su : 適切なユーザとグループidを用いてコマンドを実行 | Run a command with substitute user and group id | |
プロセス制御 | ||
23.1 kill : プロセスにシグナルを送る | Sending a signal to processes. | |
遅延 | ||
24.1 sleep : 指定した時間の遅延 | Delay for a specified time | |
数学的操作 | ||
25.1 factor : 素因数を出力 | Print prime factors | |
25.2 seq : 数列を出力 | Print numeric sequences | |
ファイルの許可 | ||
26.1 ファイルの許可の構造 | Structure of File Permissions | |
26.2 象徴的なモード | Mnemonic permissions representation | |
26.3 数値的なモード | Permissions as octal numbers | |
日付の入力書式 | ||
27.1 一般的な日付の構文 | ||
27.2 カレンダーの日付の項目 | ||
27.3 日付の時間の項目 | ||
27.4 タイムゾーンの項目 | ||
27.5 曜日の項目 | ||
27.6 日付文字の相対的な項目 | ||
27.7 日付文字列の純粋な数字 | ||
27.8 getdate の著者 | ||
ソフトウェアツールボックスを開く | ||
ツールボックスの紹介 | Toolbox introduction | |
I/O リダイレクション | I/O redirection | |
who コマンド | The who command | |
cut コマンド | The cut command | |
sort コマンド | The sort command | |
uniq コマンド | The uniq command | |
ツールの統合 | Putting the tools together | |
ADDENDUM: How to use this License for your documents | ||