Created
September 27, 2016 10:23
-
-
Save t-min/7b67489c35d544aac457e12c5ff495a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ls --help | |
使用法: ls [オプション]... [ファイル]... | |
List information about the FILEs (the current directory by default). | |
Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | |
Mandatory arguments to long options are mandatory for short options too. | |
-a, --all . で始まる要素を無視しない | |
-A, --almost-all . および .. を一覧表示しない | |
--author -l と合わせて使用した時、各ファイルの作成者を表示する | |
-b, --escape 表示不可能な文字の場合に C 形式のエスケープ文字を表示する | |
--block-size=SIZE scale sizes by SIZE before printing them; e.g., | |
'--block-size=M' prints sizes in units of | |
1,048,576 bytes; see SIZE format below | |
-B, --ignore-backups do not list implied entries ending with ~ | |
-c with -lt: sort by, and show, ctime (time of last | |
modification of file status information); | |
with -l: show ctime and sort by name; | |
otherwise: sort by ctime, newest first | |
-C list entries by columns | |
--color[=WHEN] colorize the output; WHEN can be 'never', 'auto', | |
or 'always' (the default); more info below | |
-d, --directory list directories themselves, not their contents | |
-D, --dired generate output designed for Emacs' dired mode | |
-f do not sort, enable -aU, disable -ls --color | |
-F, --classify append indicator (one of */=>@|) to entries | |
--file-type likewise, except do not append '*' | |
--format=WORD across -x, commas -m, horizontal -x, long -l, | |
single-column -1, verbose -l, vertical -C | |
--full-time like -l --time-style=full-iso | |
-g -l と同様だがファイル所有者を表示しない | |
--group-directories-first | |
group directories before files; | |
can be augmented with a --sort option, but any | |
use of --sort=none (-U) disables grouping | |
-G, --no-group in a long listing, don't print group names | |
-h, --human-readable with -l and/or -s, print human readable sizes | |
(e.g., 1K 234M 2G) | |
--si likewise, but use powers of 1000 not 1024 | |
-H, --dereference-command-line | |
follow symbolic links listed on the command line | |
--dereference-command-line-symlink-to-dir | |
follow each command line symbolic link | |
that points to a directory | |
--hide=PATTERN do not list implied entries matching shell PATTERN | |
(overridden by -a or -A) | |
--indicator-style=WORD append indicator with style WORD to entry names: | |
none (default), slash (-p), | |
file-type (--file-type), classify (-F) | |
-i, --inode print the index number of each file | |
-I, --ignore=PATTERN do not list implied entries matching shell PATTERN | |
-k, --kibibytes default to 1024-byte blocks for disk usage | |
-l 詳細リスト形式を表示する | |
-L, --dereference シンボリックリンクのファイル情報を表示するときは | |
リンクそのものではなくリンク参照先のファイル | |
情報を表示する | |
-m 要素のリストをカンマで区切り、一行に詰め込む | |
-n, --numeric-uid-gid -l と同様だが UID と GID を数値で表示する | |
-N, --literal 生の要素名を表示する (制御文字などを特別扱いしない) | |
-o -l と同様だがグループ情報を表示しない | |
-p, --indicator-style=slash | |
ディレクトリに対して識別子 / を加えて表示する | |
-q, --hide-control-chars print ? instead of nongraphic characters | |
--show-control-chars show nongraphic characters as-is (the default, | |
unless program is 'ls' and output is a terminal) | |
-Q, --quote-name enclose entry names in double quotes | |
--quoting-style=WORD use quoting style WORD for entry names: | |
literal, locale, shell, shell-always, c, escape | |
-r, --reverse ソート順を反転させる | |
-R, --recursive 子ディレクトリを再帰的に一覧表示する | |
-s, --size ブロック単位で各ファイルサイズを表示する | |
-S sort by file size | |
--sort=WORD sort by WORD instead of name: none (-U), size (-S), | |
time (-t), version (-v), extension (-X) | |
--time=WORD with -l, show time as WORD instead of default | |
modification time: atime or access or use (-u) | |
ctime or status (-c); also use specified time | |
as sort key if --sort=time | |
--time-style=STYLE with -l, show times using style STYLE: | |
full-iso, long-iso, iso, locale, or +FORMAT; | |
FORMAT is interpreted like in 'date'; if FORMAT | |
is FORMAT1<newline>FORMAT2, then FORMAT1 applies | |
to non-recent files and FORMAT2 to recent files; | |
if STYLE is prefixed with 'posix-', STYLE | |
takes effect only outside the POSIX locale | |
-t ファイル更新時間で新しい順にソートする | |
-T, --tabsize=COLS タブ幅を 8 の代わりに COLS にする | |
-u with -lt: sort by, and show, access time; | |
with -l: show access time and sort by name; | |
otherwise: sort by access time | |
-U do not sort; list entries in directory order | |
-v natural sort of (version) numbers within text | |
-w, --width=COLS assume screen width instead of current value | |
-x list entries by lines instead of by columns | |
-X sort alphabetically by entry extension | |
-Z, --context print any security context of each file | |
-1 list one file per line | |
--help この使い方を表示して終了する | |
--version バージョン情報を表示して終了する | |
The SIZE argument is an integer and optional unit (example: 10K is 10*1024). | |
Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000). | |
デフォルトまたは --color=never を指定した場合、ファイルの種類を判別するための | |
カラー表示は無効となります。 --color=auto を指定した場合、標準出力が端末に接続 | |
されている場合のみカラーコードを出力します。LS_COLORS 環境変数によって動作 | |
を設定できます。LS_COLORS を設定する場合は dircolors を使用してください。 | |
終了ステータス: | |
0 正常終了、 | |
1 軽微な問題が発生 (例: 子ディレクトリにアクセスできない)、 | |
2 重大な問題が発生 (例: コマンド引数が誤っている)。 | |
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> | |
ls の翻訳に関するバグは <http://translationproject.org/team/ja.html> に連絡して ください。 | |
Full documentation at: <http://www.gnu.org/software/coreutils/ls> | |
or available locally via: info '(coreutils) ls invocation' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment