OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / GNU_fileutils / draft / man1 / ls.1
1 .\" Japanese Version Copyright (c) 1997 Tanoshima Hidetohsi
2 .\"         all rights reserved.
3 .\" Translated Jan 31, 1997
4 .\"         by Tanoshima Hidetoshi <tano@sainet.or.jp>
5 .\" Updated Tue May  8 16:54:29 JST 2001
6 .\"         by Asakawa Satoshi <rod@i.am>
7 .\"
8 .\" WORD:        octal escapes             8進数のシーケンス
9 .\" WORD:        change time               最終変更時刻
10 .\" WORD:        ctime                     最終変更時刻
11 .\" WORD:        modification time         最終変更時刻
12 .\" WORD:        access time               最終アクセス時刻
13 .\" WORD:        atime                     最終アクセス時刻
14 .\" WORD:        Emacs' dired mode         Emacsのディレクトリエディタモード
15 .\" WORD:        index number              i-node番号
16 .\"
17 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.5.1.2.
18 .TH LS 1 "November 1998" "GNU fileutils 4.0" "FSF"
19 .\"O .SH NAME
20 .SH 名前
21 .\"O ls \- list directory contents
22 ls \- ディレクトリの内容をリスト表示する
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .B ls
26 .\"O [\fIOPTION\fR]... [\fIFILE\fR]...
27 [\fIオプション\fR]... [\fIFILE\fR]...
28 .\"O .SH DESCRIPTION
29 .SH 説明
30 .PP
31 .\" Add any additional description here
32 .PP
33 .\"O List information about the FILEs (the current directory by default).
34 .\"O Sort entries alphabetically if none of \fB\-cftuSUX\fR nor \fB\-\-sort\fR.
35 指定したFILEについての情報をリスト表示する (デフォルトはカレントディレクトリ)。
36 \fB\-cftuSUX\fR や \fB\-\-sort\fR のオプション指定がなければ、
37 アルファベット順にソートして表示する。
38 .TP
39 \fB\-a\fR, \fB\-\-all\fR
40 .\"O do not hide entries starting with .
41 `.' で始まる名前のファイルを隠さずに、全てのファイルをリスト表示する。
42 .TP
43 \fB\-A\fR, \fB\-\-almost\-all\fR
44 .\"O do not list implied . and ..
45 `.' と `..' 以外の全てのファイルをリスト表示する。
46 .TP
47 \fB\-b\fR, \fB\-\-escape\fR
48 .\"O print octal escapes for nongraphic characters
49 非表示文字を8進数のシーケンスで表示する。
50 .TP
51 \fB\-\-block\-size\fR=\fISIZE\fR
52 .\"O use SIZE-byte blocks
53 ブロックサイズをSIZEバイトで表示する。
54 .TP
55 \fB\-B\fR, \fB\-\-ignore\-backups\fR
56 .\"O do not list implied entries ending with ~
57 `~' で終わるファイルをリスト表示しない。
58 (訳注: 但し、引数でファイルを指定した場合は表示する。)
59 .TP
60 \fB\-c\fR
61 .\"O sort by change time; with \fB\-l\fR: show ctime
62 最終変更時刻でソートする。
63 .\"O motoki: patch [JM:12854]
64 オプション \fB\-lt\fR を伴う場合には最終変更時刻を表示する。
65 オプション \fB\-l\fR のみの場合には名前でソートされ、最終変更時刻を表示する。
66 .TP
67 \fB\-C\fR
68 .\"O list entries by columns
69 複数列でリスト表示する。
70 .TP
71 \fB\-\-color\fR[=\fIWHEN\fR]
72 .\"O control whether color is used to distinguish file types.  WHEN may be `never', `always', or `auto'
73 ファイルタイプを区別するための色づけの有無を指定する。
74 WHEN は `never', `always',  `auto' のいずれか。
75 .TP
76 \fB\-d\fR, \fB\-\-directory\fR
77 .\"O list directory entries instead of contents
78 .\"O motoki: patch [JM:12854]
79 ディレクトリの中身を表示する代わりに、
80 ディレクトリ名をリスト表示し、シンボリックリンクを参照しない。
81 .TP
82 \fB\-D\fR, \fB\-\-dired\fR
83 .\"O generate output designed for Emacs' dired mode
84 Emacsのディレクトリエディタモードのために必要な情報を生成する。
85 (訳注: オプション `-l' と一緒に使われた場合、
86 出力の最後に次のような追加の行を表示する:
87 .sp
88 .nf
89 .B "   //DIRED//"
90 .I "   BEG1 END1 BEG2 END2 ..."
91 .B "   //DIRED-OPTIONS// \-\-quoting-style=\fIWORD\fR"
92 .fi
93 .sp
94 .IR BEGn " と " ENDn
95 は符号なし整数で、リスト出力における
96 各ファイル名の始めと終わりのバイト位置を記録したものである。
97 このオプションを使うと、
98 ファイル名にスペースや改行といった普段使わない文字が含まれている場合でも、
99 Emacs でファイル名を探すのが簡単になる。
100 ここで \fIWORD\fR はクォートのスタイルである。)
101 .TP
102 \fB\-f\fR
103 .\"O do not sort, enable \fB\-aU\fR, disable \fB\-lst\fR
104 ソートせず表示する。オプション \fB\-aU\fR と同等。
105 -f より前に \fB\-lst\fR が指定された場合、それらのオプションは無効になる。
106 .TP
107 \fB\-F\fR, \fB\-\-classify\fR
108 .\"O append indicator (one of */=@|) to entries
109 ファイルタイプを示す印 (*/=@| のいずれか) を付加して表示する。
110 .TP
111 \fB\-\-format\fR=\fIWORD\fR
112 .\"O across \fB\-x\fR, commas \fB\-m\fR, horizontal \fB\-x\fR, long \fB\-l\fR, single-column \fB\-1\fR, verbose \fB\-l\fR, vertical \fB\-C\fR
113 表示形式を指定する。\fIWORD\fR としては次の文字列を指定できる : 
114 across (\fB\-x\fR と同等), commas \fB\-m\fR, horizontal \fB\-x\fR, 
115 long \fB\-l\fR, single-column \fB\-1\fR, verbose \fB\-l\fR, vertical \fB\-C\fR
116 .TP
117 \fB\-\-full\-time\fR
118 .\"O list both full date and full time
119 時間に関する情報を標準の省略形式ではなく完全な形式でリスト表示する。
120 .TP
121 \fB\-g\fR
122 .\"O (ignored)
123 .\"O motoki: patch [JM:12854]
124 所有者情報を含まないリストを表示する。
125 .TP
126 \fB\-G\fR, \fB\-\-no\-group\fR
127 .\"O inhibit display of group information
128 グループ情報を表示しない。
129 .TP
130 \fB\-h\fR, \fB\-\-human\-readable\fR
131 .\"O print sizes in human readable format (e.g., 1K 234M 2G)
132 人が読み易い形式 (例えば 1K 234M 2G) で表示する。
133 .TP
134 .\"O \fB\-H\fR, \fB\-\-si\fR
135 .\"O motoki: patch [JM:12854]
136 \fB\-\-si\fR
137 .\"O likewise, but use powers of 1000 not 1024
138 同上。但し、1024 倍単位ではなく 1000 倍単位を用いる。
139 (訳注: si は国際単位系のこと。)
140 .TP
141 .\"O motoki: patch [JM:12854]
142 \fB\-H\fR, \fB\-\-dereference\-command\-line\fR
143 コマンドラインに指定したシンボリックリンクを参照して表示する。
144 .TP
145 .\"O motoki: patch [JM:12854]
146 \fB\-\-dereference\-command\-line\-symlink\-to\-dir\fR
147 コマンドラインに指定したディレクトリを指すシンボリックリンクを参照して表示する。
148 .TP
149 \fB\-\-indicator\-style\fR=\fIWORD\fR
150 .\"O append indicator with style WORD to entry names: none (default), classify (-F), file-type (-p)
151 WORD で指定されたスタイルに従って、ファイルタイプを示す印を付加して表示する。
152 \fIWORD\fR としては次の文字列を指定できる : 
153 none (デフォルト), classify (-F と同等), file-type (-p と同等)
154 .TP
155 \fB\-i\fR, \fB\-\-inode\fR
156 .\"O print index number of each file
157 各ファイルの i-node 番号を表示する。
158 .TP
159 \fB\-I\fR, \fB\-\-ignore\fR=\fIPATTERN\fR
160 .\"O do not list implied entries matching shell PATTERN
161 シェルパターン PATTERN にマッチする名前のファイルはリスト表示しない 。
162 .TP
163 .\"O motoki: patch [JM:12854]
164 .\"O \fB\-k\fR, \fB\-\-kilobytes\fR
165 .\"O like \fB\-\-block\-size\fR=\fI1024\fR
166 \fB\-k\fR
167 \fB\-\-block\-size\fR=\fI1K\fR と同様。
168 .TP
169 \fB\-l\fR
170 .\"O use a long listing format
171 長い形式でリスト表示する。
172 .TP
173 \fB\-L\fR, \fB\-\-dereference\fR
174 .\"O list entries pointed to by symbolic links
175 シンボリックリンクそのものではなく、参照しているファイルの情報をリスト表示する。
176 .TP
177 \fB\-m\fR
178 .\"O fill width with a comma separated list of entries
179 ファイル名をコンマとスペースで区切って、
180 それぞれの行にできるだけ多く詰め込み、横にリスト表示する。
181 .TP
182 \fB\-n\fR, \fB\-\-numeric\-uid\-gid\fR
183 .\"O list numeric UIDs and GIDs instead of names
184 ユーザ名・グループ名のかわりに数字の UID と GID をリスト表示する。
185 .TP
186 \fB\-N\fR, \fB\-\-literal\fR
187 .\"O print raw entry names (don't treat e.g. control characters specially)
188 ファイル名中の非表示文字の変換を行わない。
189 (例えば、コントロール文字を特別扱いしない)
190 .TP
191 \fB\-o\fR
192 .\"O use long listing format without group info
193 長い形式でリスト表示するが、グループ情報を表示しない。
194 .TP
195 \fB\-p\fR, \fB\-\-file\-type\fR
196 .\"O append indicator (one of /=@|) to entries
197 ファイルタイプを示す印 (/=@| のいずれか) を付加して表示する。
198 .TP
199 \fB\-q\fR, \fB\-\-hide\-control\-chars\fR
200 .\"O print ? instead of non graphic characters
201 非表示文字を ? (クエスチョンマーク) で置き換えて表示する。
202 .TP
203 \fB\-\-show\-control\-chars\fR
204 .\"O show non graphic characters as-is (default)
205 非表示文字をそのまま出力する (デフォルト)。
206 .TP
207 \fB\-Q\fR, \fB\-\-quote\-name\fR
208 .\"O enclose entry names in double quotes
209 ファイル名をダブルクォートで囲む。
210 .TP
211 \fB\-\-quoting\-style\fR=\fIWORD\fR
212 .\"O use quoting style WORD for entry names: literal, shell, shell-always, c, escape
213 WORD で指定されたスタイルに従って、ファイル名を囲む。
214 \fIWORD\fR としては次の文字列を指定できる : 
215 literal, shell, shell-always, c, escape
216 .TP
217 \fB\-r\fR, \fB\-\-reverse\fR
218 .\"O reverse order while sorting
219 ソートの順序を逆にする。
220 .TP
221 \fB\-R\fR, \fB\-\-recursive\fR
222 .\"O list subdirectories recursively
223 サブディレクトリがあれば、再帰的にリスト表示する。
224 .TP
225 \fB\-s\fR, \fB\-\-size\fR
226 .\"O print size of each file, in blocks
227 各ファイルのファイルサイズ (訳注: 1024 バイトブロック単位) を表示する。
228 .TP
229 \fB\-S\fR
230 .\"O sort by file size
231 ファイルサイズでソートする。
232 .TP
233 \fB\-\-sort\fR=\fIWORD\fR
234 .\"O extension \fB\-X\fR, none \fB\-U\fR, size \fB\-S\fR, time \fB\-t\fR, version \fB\-v\fR status \fB\-c\fR, time \fB\-t\fR, atime \fB\-u\fR, access \fB\-u\fR, use \fB\-u\fR
235 ソートの順序を指定する。\fIWORD\fR としては次の文字列を指定できる : 
236 extension (\fB\-X\fRと同等), none (\fB\-U\fR), size (\fB\-S\fR), 
237 version (\fB\-v\fR), status (\fB\-c\fR), time (\fB\-t\fR), atime (\fB\-u\fR), 
238 access (\fB\-u\fR), use (\fB\-u\fR)
239 .TP
240 \fB\-\-time\fR=\fIWORD\fR
241 .\"O show time as WORD instead of modification time: atime, access, use, ctime or status; use specified time as sort key if \fB\-\-sort\fR=\fItime\fR
242 最終変更時刻の代りにWORDで指定された時間を表示する。
243 また、オプション \fB\-\-sort\fR=\fItime\fR と一緒に使用された場合、
244 WORDで指定された時間の順序でソートされる。
245 \fIWORD\fR としては次の文字列を指定できる : atime, access, use, ctime, status
246 .TP
247 \fB\-t\fR
248 .\"O sort by modification time
249 最終変更時刻でソートする。
250 .TP
251 \fB\-T\fR, \fB\-\-tabsize\fR=\fICOLS\fR
252 .\"O assume tab stops at each COLS instead of 8
253 タブストップの幅を COLS で指定した文字分とする。
254 デフォルトは 8 文字分。
255 .TP
256 \fB\-u\fR
257 .\"O sort by last access time; with \fB\-l\fR: show atime
258 最終アクセス時刻でソートする。
259 オプション `\fB\-l\fR' を伴う場合は最終アクセス時刻を表示する。
260 .TP
261 \fB\-U\fR
262 .\"O do not sort; list entries in directory order
263 ソートせず、ディスク上にある順番にリスト表示する。
264 .TP
265 \fB\-v\fR
266 .\"O sort by version
267 バージョン名とバージョン番号でソートする。
268 (訳注: バージョンの一番低いものが最初にくる。
269 デフォルトのソートのように動作するが、10 進の数字のシーケンスは、
270 インデックス番号またはバージョン番号として数値的に扱われる。
271 ゼロを前にもつ数値部分は小数として扱われる。
272 .sp
273 .nf
274 .B "   ls \-1           ls \-1v"
275    bar\-1.gz        bar\-1.gz
276    bar\-100.gz      bar\-2.gz
277    bar\-12.gz       bar\-12.gz
278    bar\-2.gz        bar\-100.gz
279    foo\-1.007.gz    foo\-1.007.gz
280    foo\-1.012b.gz   foo\-1.01a.gz
281    foo\-1.01a.gz    foo\-1.012b.gz
282 .fi
283 )
284 .TP
285 \fB\-w\fR, \fB\-\-width\fR=\fICOLS\fR
286 .\"O assume screen width instead of current value
287 スクリーンの幅を COLS で指定した文字分とする。
288 .TP
289 \fB\-x\fR
290 .\"O list entries by lines instead of by columns
291 列単位ではなく行単位にリスト表示する。
292 .TP
293 \fB\-X\fR
294 .\"O sort alphabetically by entry extension
295 拡張子 (訳注: 最後の `.' の後に続く文字列) のアルファベット順にソートする。
296 .TP
297 \fB\-1\fR
298 .\"O list one file per line
299 1列でリスト表示する。
300 .TP
301 \fB\-\-help\fR
302 .\"O display this help and exit
303 使用方法を表示して正常終了する。
304 .TP
305 \fB\-\-version\fR
306 .\"O output version information and exit
307 バージョン情報を出力して正常終了する。
308 .PP
309 .\"O By default, color is not used to distinguish types of files.  That is
310 .\"O equivalent to using \fB\-\-color\fR=\fInone\fR.
311 .\"O Using the \fB\-\-color\fR option without the
312 .\"O optional WHEN argument is equivalent to using \fB\-\-color\fR=\fIalways\fR.
313 .\"O With
314 .\"O \fB\-\-color\fR=\fIauto\fR, color codes are output only if standard output
315 .\"O is connected to a terminal (tty).
316 デフォルトではファイルタイプを区別するための色づけはなされない。
317 つまり、オプション \fB\-\-color\fR=\fInone\fR が指定された場合と同等である。
318 引数 WHEN が省略され、オプション \fB\-\-color\fR と指定された場合は、
319 オプション \fB\-\-color\fR=\fIalways\fR が指定された場合と同等である。
320 .\"O .SH "REPORTING BUGS"
321 .SH バグレポート
322 .\"O Report bugs to <bug-fileutils@gnu.org>.
323 バグレポートは <bug-fileutils@gnu.org> へ。
324 .\"O .SH "SEE ALSO"
325 .SH 関連項目
326 .\"O The full documentation for
327 .\"O .B ls
328 .\"O is maintained as a Texinfo manual.  If the
329 .\"O .B info
330 .\"O and
331 .\"O .B ls
332 .\"O programs are properly installed at your site, the command
333 .\"O .IP
334 .\"O .B info ls
335 .\"O .PP
336 .\"O should give you access to the complete manual.
337 .B ls
338 の完全なドキュメントは info マニュアルとしてメンテナンスされている。
339 .B info
340
341 .B ls
342 が正しくインストールされていれば、次のコマンド
343 .IP
344 .B info ls
345 .PP
346 で完全なマニュアルを参照することができる。