Cから始まるコマンド
calibrate_ppa
usage: calibrate_ppa [ options ] [ -o <outfile> ]]
Produces various PixMap (PPM) files used for calibrating pnm2ppa.
NOTE: The size of a full-page PixMap is 100MB!!.
These PixMaps should be piped directly to pnm2ppa, except in the case of
the -g option, where the PixMap should be viewed or printed by other means.
-g, --gamma produce gamma.ppm (10MB, used in color calibration).
-h, --help displays this help text.
-o <outfile> output to file <outfile>, "-o -" means stdout (default)
-p <n> create test pattern number <n>
--align pattern 0: align print heads. (default)
--test pattern 1: test alignment.
--clean pattern 2: clean print head.
--center pattern 3: center paper.
-s <paper> default papersize (a4, legal, letter = us (default))
canberra-gtk-play
用法:
canberra-gtk-play [オプション…] - canberra-gtk-play
ヘルプのオプション:
-h, --help ヘルプのオプションを表示する
--help-all ヘルプのオプションをすべて表示する
--help-gtk GTK+ のオプションを表示する
アプリケーションのオプション:
-v, --version Display version number and quit
-i, --id=STRING Event sound identifier
-f, --file=PATH Play file
-d, --description=STRING Event sound description
-c, --cache-control=STRING Cache control (permanent, volatile, never)
-l, --loop=INTEGER Loop how many times (detault: 1)
-V, --volume=STRING A floating point dB value for the sample volume (ex: 0.0)
--property=STRING An arbitrary property
--display=DISPLAY 使用する X のディスプレイを指定する
cancel
Usage: cancel [options] [id]
cancel [options] [destination]
cancel [options] [destination-id]
オプション:
-a Cancel all jobs
-E Encrypt the connection to the server
-h server[:port] Connect to the named server and port
-u owner Specify the owner to use for jobs
-U username Specify the username to use for authentication
-x Purge jobs rather than just canceling
captoinfo
Usage: captoinfo [-e names] [-o dir] [-R name] [-v[n]] [-V] [-w[n]] [-1aCDcfGgIKLNrsTtUx] source-file
Options:
-0 format translation output all capabilities on one line
-1 format translation output one capability per line
-a retain commented-out capabilities (sets -x also)
-C translate entries to termcap source form
-D print list of tic's database locations (first must be writable)
-c check only, validate input without compiling or translating
-e<names> translate/compile only entries named by comma-separated list
-f format complex strings for readability
-G format %{number} to %'char'
-g format %'char' to %{number}
-I translate entries to terminfo source form
-K translate entries to termcap source form with BSD syntax
-L translate entries to full terminfo source form
-N disable smart defaults for source translation
-o<dir> set output directory for compiled entry writes
-Q[n] dump compiled description
-q brief listing, removes headers
-R<name> restrict translation to given terminfo/termcap version
-r force resolution of all use entries in source translation
-s print summary statistics
-T remove size-restrictions on compiled description
-t suppress commented-out capabilities
-U suppress post-processing of entries
-V print version
-W wrap long strings according to -w[n] option
-v[n] set verbosity level
-w[n] set format width for translation output
-x treat unknown capabilities as user-defined
Parameters:
<file> file to translate or compile
cat
使用法: cat [オプション]... [ファイル]...
ファイル (複数可) の内容を結合して標準出力に出力します。
ファイルの指定がない場合や FILE が - の場合, 標準入力から読み込みを行います。
-A, --show-all -vET と同じ
-b, --number-nonblank 空行以外に行番号を付ける。-n より優先される
-e -vE と同じ
-E, --show-ends 行の最後に $ を付ける
-n, --number 全ての行に行番号を付ける
-s, --squeeze-blank 連続した空行の出力を行わない
-t -vT と同じ
-T, --show-tabs TAB 文字を ^I で表示
-u (無視される)
-v, --show-nonprinting ^ や M- 表記を使用する (LFD と TAB は除く)
--help display this help and exit
--version output version information and exit
例:
cat f - g 最初に f の中身を出力し、次に標準入力を出力します。
そして g の中身を出力します。
cat 標準入力を標準出力に複製します。
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/cat>
(ローカルでは info '(coreutils) cat invocation' で参照可能)。
catman
Usage: catman [OPTION...] [SECTION...]
-C, --config-file=FILE このユーザ設定ファイルを使用する
-d, --debug デバッグメッセージを表示する
-M, --manpath=PATH man ページ用の検索パスを PATH
に設定する
-?, --help give this help list
--usage give a short usage message
-V, --version print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Report bugs to cjwatson@debian.org.
cd-create-profile
用法:
cd-create-profile [オプション…]
ヘルプのオプション:
-h, --help ヘルプのオプションを表示する
アプリケーションのオプション:
-o, --output 生成するプロファイル
cd-fix-profile
用法:
cd-fix-profile [オプション…]
export-tag-data Export the tag data
extract-vcgt Generate the VCGT calibration of a given size
md-add プロファイルへのメタデータの項目の追加
md-clear プロファイルの全メタデータの消去
md-fix プロファイルのメタデータを自動的に修正
md-init プロファイルの全メタデータの初期化
md-remove プロファイルのメタデータの項目の削除
set-copyright 著作権文字列の設定
set-description 説明の文字列の設定
set-manufacturer メーカー名の文字列の設定
set-model モデルの文字列の設定
set-version Set the ICC profile version
ヘルプのオプション:
-h, --help ヘルプのオプションを表示する
アプリケーションのオプション:
-v, --verbose 拡張デバッグ情報の表示
--locale The locale to use when setting localized text
cd-iccdump
用法:
cd-iccdump [オプション…]
ヘルプのオプション:
-h, --help ヘルプのオプションを表示する
cd-it8
用法:
cd-it8 [オプション…]
calculate-ccmx [REFERENCE.ti3] [MEASURED.ti3] [OUTPUT.ccmx]
Create a CCMX from reference and measurement data
create-cmf [OUTPUT.cmf] [INPUT.csv] [norm]
Create a CMF from CSV data
create-sp [OUTPUT.sp] [INPUT.csv] [norm]
Create a spectrum from CSV data
ヘルプのオプション:
-h, --help ヘルプのオプションを表示する
アプリケーションのオプション:
-v, --verbose 拡張デバッグ情報の表示
-d, --enable-timestamps Write embedded creation timestamps
cgi-fcgi
Missing application pathname
Missing -connect <connName>
Usage:
cgi-fcgi -f <cmdPath> , or
cgi-fcgi -connect <connName> <appPath> [<nServers>] , or
cgi-fcgi -start -connect <connName> <appPath> [<nServers>] , or
cgi-fcgi -bind -connect <connName> ,
where <connName> is either the pathname of a UNIX domain socket
or (if -bind is given) a hostName:portNumber specification
or (if -start is given) a :portNumber specification (uses local host).
chacl
使い方:
chacl acl pathname...
chacl -b acl dacl pathname...
chacl -d dacl pathname...
chacl -R pathname...
chacl -D pathname...
chacl -B pathname...
chacl -l pathname... [IRIXとは非互換]↵
chacl -r pathname... [IRIXとは非互換]↵
chage
使い方: chage [オプション] LOGIN
オプション:
-d, --lastday LAST_DAY パスワードの最終変更日を LAST_DAY にする
-E, --expiredate EXPIRE_DATE アカウント期限切れの日を EXPIRE_DATE にする
-h, --help このヘルプを表示して終了する
-i, --iso8601 use YYYY-MM-DD when printing dates
-I, --inactive INACTIVE パスワードを期限切れ後に無効化する日数を
INACTIVEにする
-l, --list アカウントの経時情報を表示する
-m, --mindays MIN_DAYS パスワードが変更できるまでの最短日数を
MIN_DAYS に変更する
-M, --maxdays MAX_DAYS set maximum number of days before password
change to MAX_DAYS
-R, --root CHROOT_DIR chroot するディレクトリ
-W, --warndays WARN_DAYS 期限切れ警告の日数を WARN_DAYS にする
chardet
usage: chardet [-h] [--minimal] [-l] [--version] [input ...]
Takes one or more file paths and reports their detected encodings
positional arguments:
input File whose encoding we would like to determine. (default: stdin)
options:
-h, --help show this help message and exit
--minimal Print only the encoding to standard output
-l, --legacy Rename legacy encodings to more modern ones.
--version show program's version number and exit
chardetect
usage: chardetect [-h] [--minimal] [-l] [--version] [input ...]
Takes one or more file paths and reports their detected encodings
positional arguments:
input File whose encoding we would like to determine. (default: stdin)
options:
-h, --help show this help message and exit
--minimal Print only the encoding to standard output
-l, --legacy Rename legacy encodings to more modern ones.
--version show program's version number and exit
chattr
Usage: chattr [-RVf] [-+=aAcCdDeijPsStTuFx] [-p project] [-v version] files...
chcon
使用法: chcon [OPTION]... CONTEXT FILE...
または: chcon [OPTION]... [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] FILE...
または: chcon [OPTION]... --reference=RFILE FILE...
各 FILE の SELinux セキュリティコンテキストを CONTEXT に変更します。
--reference がある場合、各 FILE のセキュリティコンテキストを RFILE のものに
変更します。
長いオプションで必須となっている引数は短いオプションでも必須です。
--dereference シンボリックリンク自身ではなく、シンボリックリンクの
参照先に対して操作を行う (これがデフォルトの動作)
-h, --no-dereference 参照先のファイルではなくシンボリックリンクに適用する
-u, --user=USER 対象となるセキュリティコンテキストのユーザーを
USER に設定する
-r, --role=ROLE 対象となるセキュリティコンテキストのロールを
ROLE に設定する
-t, --type=TYPE 対象となるセキュリティコンテキストのタイプを
TYPE に設定する
-l, --range=RANGE 対象となるセキュリティコンテキストの範囲を
RANGE に設定する
--no-preserve-root '/' を特別扱いしない (デフォルト)
--preserve-root '/' に対する再帰的な操作を失敗させる
--reference=RFILE CONTEXT の値を指定するのではなく RFILE の
セキュリティコンテキストを使用する
-R, --recursive ファイルとディレクトリを再帰的に操作する
-v, --verbose 処理した各ファイルについて診断メッセージを出力する
以下のオプションを使うと、-R オプションが併せて指定されたときにどのように
階層を辿るかの動作を変更できます。複数のオプションが指定された場合は、
最後に指定されたオプションだけが有効になります。
-H コマンドライン引数がディレクトリに対するシンボ
リックリンクの場合に、リンクを辿る
-L ディレクトリに対するシンボリックリンクに遭遇した
時には、そのリンクを全て辿る
-P シンボリックリンクを一切辿らない (デフォルト)
--help display this help and exit
--version output version information and exit
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/chcon>
(ローカルでは info '(coreutils) chcon invocation' で参照可能)。
check-language-support
Usage: check-language-support [options]
Options:
-h, --help show this help message and exit
-l LANGUAGE, --language=LANGUAGE
target language code
-d DATADIR, --datadir=DATADIR
alternative datadir
-p PACKAGE, --package=PACKAGE
check for the given package(s) only -- separate
packagenames by comma
-a, --all output all available language support packages for all
languages
--show-installed show installed packages as well as missing ones
chfn
chfn: option '--h' is ambiguous; possibilities: '--home-phone' '--help'
使い方: chfn [オプション] [LOGIN]
オプション:
-f, --full-name FULL_NAME ユーザのフルネームを変更する
-h, --home-phone HOME_PHONE ユーザの電話番号を変更する
-o, --other OTHER_INFO ユーザの他の GECOS 情報を変更する
-r, --room ROOM_NUMBER ユーザの部屋番号を変更する
-R, --root CHROOT_DIR chroot するディレクトリ
-u, --help このヘルプを表示して終了する
-w, --work-phone WORK_PHONE ユーザの職場の電話番号を変更する
--extrausers Use the extra users database
chgrp
使用法: chgrp [OPTION]... GROUP FILE...
または: chgrp [OPTION]... --reference=RFILE FILE...
各ファイルのグループを GROUP に変更します。
--reference を指定した場合は、各ファイルのグループを RFILE のグループに変更
します。
-c, --changes verbose モードと同様だが、変更が行われた場合にのみ出力する
-f, --silent, --quiet ほとんどのエラーメッセージの出力を抑制する
-v, --verbose 処理した各ファイルについて診断メッセージを出力する
--dereference シンボリックリンク自身ではなく、シンボリックリンクの
参照先に対して操作を行う (これがデフォルトの動作)
-h, --no-dereference 参照先のファイルではなくシンボリックリンクに適用する
(意味があるのは、シンボリックリンクの所有権を変更
できるシステムの場合だけである)
--no-preserve-root '/' を特別扱いしない (デフォルト)
--preserve-root '/' に対する再帰的な操作を失敗させる
--reference=RFILE use RFILE's group rather than specifying a GROUP.
RFILE is always dereferenced if a symbolic link.
-R, --recursive ファイルとディレクトリを再帰的に操作する
以下のオプションを使うと、-R オプションが併せて指定されたときにどのように
階層を辿るかの動作を変更できます。複数のオプションが指定された場合は、
最後に指定されたオプションだけが有効になります。
-H コマンドライン引数がディレクトリに対するシンボ
リックリンクの場合に、リンクを辿る
-L ディレクトリに対するシンボリックリンクに遭遇した
時には、そのリンクを全て辿る
-P シンボリックリンクを一切辿らない (デフォルト)
--help display this help and exit
--version output version information and exit
例:
chgrp staff /u /u のグループを "staff" に変更する。
chgrp -hR staff /u /u とその配下のファイルのグループを "staff" に変更する。
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/chgrp>
(ローカルでは info '(coreutils) chgrp invocation' で参照可能)。
chmod
使用法: chmod [OPTION]... MODE[,MODE]... FILE...
または: chmod [OPTION]... OCTAL-MODE FILE...
または: chmod [OPTION]... --reference=RFILE FILE...
各 FILE のモードを MODE に変更します。
--reference を指定した場合は、各 FILE のモードを RFILE のものに変更する。
-c, --changes verbose モードと同様だが、変更が行われた場合にのみ出力する
-f, --silent, --quiet ほとんどのエラーメッセージの出力を抑制する
-v, --verbose 処理した各ファイルについて診断メッセージを出力する
--no-preserve-root '/' を特別扱いしない (デフォルト)
--preserve-root '/' に対する再帰的な操作を失敗させる
--reference=RFILE use RFILE's mode instead of specifying MODE values.
RFILE is always dereferenced if a symbolic link.
-R, --recursive ファイルとディレクトリを再帰的に変更する
--help display this help and exit
--version output version information and exit
各 MODE の形式は '[ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+' です。
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/chmod>
(ローカルでは info '(coreutils) chmod invocation' で参照可能)。
choom
使い方:
choom [options] -p pid
choom [options] -n number -p pid
choom [options] -n number [--] command [args...]]
Display and adjust OOM-killer score.
オプション:
-n, --adjust <num> specify the adjust score value
-p, --pid <num> process ID
-h, --help display this help
-V, --version display version
詳しくは choom(1) をお読みください。
chown
CHOOM(1) User Commands
NAME
choom - display and adjust OOM-killer score.
choom -p PID
choom -p PID -n number
choom -n number [--] command [argument ...]
DESCRIPTION
The choom command displays and adjusts Out-Of-Memory killer score setting.
OPTIONS
-p, --pid pid
Specifies process ID.
-n, --adjust value
Specify the adjust score value.
-h, --help
Display help text and exit.
-V, --version
Print version and exit.
NOTES
Linux kernel uses the badness heuristic to select which process gets killed in out of memory conditions.
The badness heuristic assigns a value to each candidate task ranging from 0 (never kill) to 1000 (always kill)
to determine which process is targeted. The units are roughly a proportion along that range of allowed memory
the process may allocate from based on an estimation of its current memory and swap use. For example, if a
task is using all allowed memory, its badness score will be 1000. If it is using half of its allowed memory,
its score will be 500.
There is an additional factor included in the badness score: the current memory and swap usage is discounted
by 3% for root processes.
The amount of "allowed" memory depends on the context in which the oom killer was called. If it is due to the
memory assigned to the allocating task’s cpuset being exhausted, the allowed memory represents the set of mems
assigned to that cpuset. If it is due to a mempolicy’s node(s) being exhausted, the allowed memory represents
the set of mempolicy nodes. If it is due to a memory limit (or swap limit) being reached, the allowed memory
is that configured limit. Finally, if it is due to the entire system being out of memory, the allowed memory
represents all allocatable resources.
The adjust score value is added to the badness score before it is used to determine which task to kill.
Acceptable values range from -1000 to +1000. This allows userspace to polarize the preference for oom killing
either by always preferring a certain task or completely disabling it. The lowest possible value, -1000, is
equivalent to disabling oom killing entirely for that task since it will always report a badness score of 0.
Setting an adjust score value of +500, for example, is roughly equivalent to allowing the remainder of tasks
sharing the same system, cpuset, mempolicy, or memory controller resources to use at least 50% more memory. A
value of -500, on the other hand, would be roughly equivalent to discounting 50% of the task’s allowed memory
from being considered as scoring against the task.
AUTHORS
Karel Zak <kzak@redhat.com>
SEE ALSO
proc(5)
REPORTING BUGS
For bug reports, use the issue tracker at https://github.com/util-linux/util-linux/issues.
AVAILABILITY
The choom command is part of the util-linux package which can be downloaded from Linux Kernel Archive
<https://www.kernel.org/pub/linux/utils/util-linux/>.
util-linux 2.39.3 2023-10-23 CHOOM(1)
chrt
Show or change the real-time scheduling attributes of a process.
Set policy:
chrt [options] <priority> <command> [<arg>...]
chrt [options] --pid <priority> <pid>
Get policy:
chrt [options] -p <pid>
ポリシーオプション:
-b, --batch set policy to SCHED_BATCH
-d, --deadline set policy to SCHED_DEADLINE
-f, --fifo set policy to SCHED_FIFO
-i, --idle set policy to SCHED_IDLE
-o, --other set policy to SCHED_OTHER
-r, --rr set policy to SCHED_RR (default)
Scheduling options:
-R, --reset-on-fork set reset-on-fork flag
-T, --sched-runtime <ns> runtime parameter for DEADLINE
-P, --sched-period <ns> period parameter for DEADLINE
-D, --sched-deadline <ns> deadline parameter for DEADLINE
その他のオプション:
-a, --all-tasks operate on all the tasks (threads) for a given pid
-m, --max show min and max valid priorities
-p, --pid operate on existing given pid
-v, --verbose display status information
-h, --help display this help
-V, --version display version
詳しくは chrt(1) をお読みください。
chsh
使い方: chsh [オプション] [LOGIN]
オプション:
-h, --help このヘルプを表示して終了する
-R, --root CHROOT_DIR chroot するディレクトリ
-s, --shell SHELL ユーザのシェルを新たに SHELL にする
chvt
Usage: chvt [option...] N
Options:
-h, --help print this usage message.
-V, --version print version number.
Report bugs to authors.
cifsiostat
Linux 6.8.0-38-generic (ubaxis-virtual-machine) 2024年07月17日 _x86_64_ (2 CPU)
rB/s wB/s rops/s wops/s fo/s fc/s fd/s Filesystem
ciptool
ciptool - Bluetooth Common ISDN Access Profile (CIP)
Usage:
ciptool [options] [command]
Options:
-i [hciX|bdaddr] Local HCI device or BD Address
-h, --help Display help
Commands:
show Show remote connections
search Search for a remote device
connect <bdaddr> Connect a remote device
release [bdaddr] Disconnect the remote device
loopback <bdaddr> Loopback test of a device
ckbcomp
Usage: ckbcomp [args] [<layout> [<variant> [<option> ... ]]]
Where legal args are:
-?,-help Print this message
-charmap <name> Specifies the encoding to use
-ccharmap <name> Specifies the encoding to use for compose sequences
-I<dir> Add <dir> to list of directories to be used
-keycodes <name> Specifies keycodes component name
-symbols <name> Specifies symbols component name
-rules <name> Name of rules file to use
-model <name> Specifies model used to choose component names
-layout <name> Specifies layout used to choose component names
-variant <name> Specifies layout variant used to choose component names
-option <name> Adds an option used to choose component names
-v[erbose] [<lvl>] Sets verbosity (1..10). Higher values yield
more messages
-compact Generate compact keymap
-freebsd Generate keymap for FreeBSD
-backspace bs|del Backspace is BS (^h) or DEL (^?)
cksum
使用法: cksum [オプション]... [ファイル]...
チェックサムの表示と照合を行います。
デフォルトでは 32 ビット CRC アルゴリズムを使用します。
ファイルの指定がない場合や FILE が - の場合, 標準入力から読み込みを行います。
長いオプションで必須となっている引数は短いオプションでも必須です。
-a, --algorithm=TYPE 使用するダイジェスト種別を指定する。下記の DIGEST の説明を参照。
--base64 emit base64-encoded digests, not hexadecimal
-c, --check FILE からチェックサムを読み込み、照合する
-l, --length=BITS ビット単位のダイジェストの長さ; blake2 アルゴリズムの
最大値を超えてはならず、 8 の倍数でなければならない
--raw emit a raw binary digest, not hexadecimal
--tag BSD 形式のチェックサムを作成する (デフォルト)
--untagged ダイジェスト種別を含まないチェックサムを作成する
-z, --zero 出力行の区切りとして改行文字ではなく NUL を使用し、
ファイル名のエスケープを行わない
次の5 つのオプションはチェックサムを照合する場合にのみ有効です:
--ignore-missing ファイルが存在しない場合に失敗もせずステータスも表示しない
--quiet ファイルのチェックサムの照合が成功したときに OK を表示しない
--status 何も出力しない。終了コードで結果を判別する
--strict 不正な形式のチェックサム行の場合に 0 以外のコードで終了する
-w, --warn チェックサム行の書式が不正な場合に警告を行う
--debug どの実装が使用されたかを表示する
--help display this help and exit
--version output version information and exit
DIGEST determines the digest algorithm and default output format:
sysv (equivalent to sum -s)
bsd (equivalent to sum -r)
crc (equivalent to cksum)
md5 (equivalent to md5sum)
sha1 (equivalent to sha1sum)
sha224 (equivalent to sha224sum)
sha256 (equivalent to sha256sum)
sha384 (equivalent to sha384sum)
sha512 (equivalent to sha512sum)
blake2b (equivalent to b2sum)
sm3 (only available through cksum)
照合の際、入力は、このプログラムもしくは等価な個々のプログラムによって
出力された形式でなければなりません。
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/cksum>
(ローカルでは info '(coreutils) cksum invocation' で参照可能)。
clear
clear: invalid option -- 'h'
Usage: clear [options]
Options:
-T TERM use this instead of $TERM
-V print curses-version
-x do not try to clear scrollback
clear_console
Usage: clear_console [option]
valid options are:
-q --quiet don't print error messages
-h --help display this help text and exit
-V --version display version information and exit
cloud-id
usage: cloud-id [-h] [-j] [-l] [-i INSTANCE_DATA]
Report the canonical cloud-id for this instance
options:
-h, --help show this help message and exit
-j, --json Report all standardized cloud-id information as json.
-l, --long Report extended cloud-id information as tab-delimited string.
-i INSTANCE_DATA, --instance-data INSTANCE_DATA
Path to instance-data.json file. Default is /run/cloud-init/instance-data.json
cloud-init
usage: /usr/bin/cloud-init [-h] [--version] [--debug] [--force]
{init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema} ...
options:
-h, --help show this help message and exit
--version, -v Show program's version number and exit.
--debug, -d Show additional pre-action logging (default: False).
--force Force running even if no datasource is found (use at your own risk).
Subcommands:
{init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema}
init Initialize cloud-init and perform initial modules.
modules Activate modules using a given configuration key.
single Run a single module.
query Query standardized instance metadata from the command line.
features List defined features.
analyze Devel tool: Analyze cloud-init logs and data.
devel Run development tools.
collect-logs Collect and tar all cloud-init debug info.
clean Remove logs and artifacts so cloud-init can re-run.
status Report cloud-init status or wait on completion.
schema Validate cloud-config files using jsonschema.
cloud-init-per
Usage: cloud-init-per frequency name cmd [ arg1 [ arg2 [ ... ] ]
run cmd with arguments provided.
This utility can make it easier to use boothooks or bootcmd
on a per "once" or "always" basis.
If frequency is:
* once: run only once (do not re-run for new instance-id)
* instance: run only the first boot for a given instance-id
* always: run every boot
cmp
使用法: cmp [OPTION]... FILE1 [FILE2 [SKIP1 [SKIP2]]]
2つのファイルをバイトごとに比較します。
オプションの SKIP1 と SKIP2 はそれぞれのファイルの先頭からスキップする
バイト数を指定します(デフォルトは 0)。
長い形式のオプションで必須の引数は、それに対応する短い形式のオプションでも同様に必須です。
-b, --print-bytes 異なるバイトを表示する
-i, --ignore-initial=SKIP 両方の入力の先頭 SKIP バイトをスキップする
-i, --ignore-initial=SKIP1:SKIP2 FILE1 の先頭 SKIP1 バイトと FILE2 の先頭
SKIP2 バイトをスキップする
-l, --verbose バイト数および異なるバイトの値を出力する
-n, --bytes=LIMIT 最大 LIMIT バイトを比較する
-s, --quiet, --silent 通常の表示をすべて抑止する
--help このメッセージを表示して終了する
-v, --version バージョン情報を表示して終了する
SKIP の値には次の倍数を表す接尾辞を付けることも出来ます:
kB 1000, K 1024, MB 1,000,000, M 1,048,576,
GB 1,000,000,000, G 1,073,741,824。また、 T, P, E, Z, Y も同様です。
If a FILE is '-' or missing, read standard input.
終了コードは、入力ファイルが同じ場合は 0、入力ファイルが異なる場合は 1、
問題が発生したときは 2 になります。
Report bugs to: bug-diffutils@gnu.org
GNU diffutils のホームページ: <https://www.gnu.org/software/diffutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>
col
使い方:
col [オプション]
Filter out reverse line feeds from standard input.
Options:
-b, --no-backspaces do not output backspaces
-f, --fine permit forward half line feeds
-p, --pass pass unknown control sequences
-h, --tabs convert spaces to tabs
-x, --spaces convert tabs to spaces
-l, --lines NUM buffer at least NUM lines
-H, --help display this help
-V, --version display version
詳しくは col(1) をお読みください。
colcrt
使い方:
colcrt [オプション] [<ファイル>...]
nroff の出力を画面で表示するためのフィルタです。
オプション:
-, --no-underlining 下線を引きません
-2, --half-lines すべての行に半改行があるように出力します
-h, --help display this help
-V, --version display version
詳しくは colcrt(1) をお読みください。
colormgr
用法:
colormgr [オプション…]
create-device [ID] [SCOPE] [KIND]
デバイスの作成
create-profile [ID] [SCOPE] プロファイルの作成
delete-device [ID|PATH] デバイスの削除
delete-profile [ID|PATH] プロファイルの削除
device-add-profile [ID|PATH] [ID|PATH]
Add a profile to a device that already exists
device-get-default-profile [ID|PATH]
デバイス用のデフォルトプロファイルの取得
device-get-profile-for-qualifier [ID|PATH] [QUALIFIER]
修飾子に合う全てのプロファイルを返す
device-inhibit [ID|PATH] [TIMEOUT|0]
このデバイスへのカラープロファイルの適用の制限
device-make-profile-default [ID|PATH] [ID|PATH]
デバイス用のデフォルトプロファイルに設定
device-set-enabled [ID|PATH] [TRUE|FALSE]
Enables or disables the device
device-set-kind [ID|PATH] [KIND] デバイスの種類の設定
device-set-model [ID|PATH] [MODEL]
デバイスのモデル名の設定
device-set-serial [ID|PATH] [SERIAL]
デバイスのシリアルの設定
device-set-vendor [ID|PATH] [VENDOR]
デバイスベンダーの設定
dump Dump all debug data to a file
find-device [ID] Find a device from the device ID
find-device-by-property [KEY] [VALUE]
Find a device with a given property value
find-profile [ID] Find a profile from the profile ID
find-profile-by-filename [FILENAME]
ファイル名でプロファイルを検索
get-devices カラーマネジメントされたデバイスをすべて取得
get-devices-by-kind [KIND] 指定された種類のカラーマネジメントされたデバイスをすべて取得
get-profiles 利用可能なすべてのカラープロファイルを取得
get-sensor-reading [KIND] センサーから読みだした情報を取得
get-sensors 利用可能なすべてのカラーセンサーを取得
get-spectral-reading [KIND] Gets a spectral reading from a sensor
get-standard-space [TYPE] 標準色空間の取得
import-profile [FILENAME] Import a profile and install it for the user
profile-set-property [ID|PATH] [KEY] [VALUE]
Sets extra properties on the profile
sensor-lock カラーセンサーをロック
sensor-set-options [KEY] [VALUE] 一つ以上のセンサーオプションを設定
ヘルプのオプション:
-h, --help ヘルプのオプションを表示する
アプリケーションのオプション:
-v, --verbose 拡張デバッグ情報の表示
--version Show client and daemon versions
--value-only Show the value without any header
--filter Filter object properties when displaying
colrm
使い方:
colrm [開始桁 [終了桁]]
入力から指定した列を削除します。
オプション:
-h, --help display this help
-V, --version display version
colrm は標準入力から読み込みを行ない、標準出力に書き込みます。
詳しくは colrm(1) をお読みください。
column
使い方:
column [オプション] [<ファイル>...]
入力を列ごとに整形します。
オプション:
-t, --table create a table
-n, --table-name <name> table name for JSON output
-O, --table-order <columns> specify order of output columns
-C, --table-column <properties> define column
-N, --table-columns <names> comma separated columns names
-l, --table-columns-limit <num> maximal number of input columns
-E, --table-noextreme <columns> don't count long text from the columns to column width
-d, --table-noheadings don't print header
-m, --table-maxout fill all available space
-e, --table-header-repeat repeat header for each page
-H, --table-hide <columns> don't print the columns
-R, --table-right <columns> right align text in these columns
-T, --table-truncate <columns> truncate text in the columns when necessary
-W, --table-wrap <columns> wrap text in the columns when necessary
-L, --keep-empty-lines don't ignore empty lines
-J, --json use JSON output format for table
-r, --tree <column> column to use tree-like output for the table
-i, --tree-id <column> line ID to specify child-parent relation
-p, --tree-parent <column> parent to specify child-parent relation
-c, --output-width <width> width of output in number of characters
-o, --output-separator <string> columns separator for table output (default is two spaces)
-s, --separator <string> possible table delimiters
-x, --fillrows fill rows before columns
-h, --help display this help
-V, --version display version
詳しくは column(1) をお読みください。
comm
使用法: comm [OPTION]... FILE1 FILE2
ソートされたファイル FILE1 および FILE2 を一行ずつ比較します。
FILE1 と FILE2 の一方が - の場合 (両方は不可)、標準入力から読み込みます。
オプションがない場合、3 列の出力を生成します。1 列目は FILE1 のみに
含まれる行、2 列目は FILE2 のみに含まれる行、3 列目は両方のファイル
に含まれる行となります。
-1 1 列目を抑止する (FILE1 のみに含まれる行)
-2 2 列目を抑止する (FILE2 のみに含まれる行)
-3 3 列目を抑止する (両方のファイルに含まれる行)
--check-order 全ての行の組み合わせが一致していても、正しく
ソートされているかを確認する
--nocheck-order 入力が正しくソートされているかを確認しない
--output-delimiter=STR 列を STR で分割する
--total サマリーを表示する
-z, --zero-terminated 行の区切りを改行でなく NUL にする
--help display this help and exit
--version output version information and exit
注: 比較の際には 'LC_COLLATE' で指定されたルールが使用されます。
例:
comm -12 file1 file2 file1 と file2 の両方に存在する行のみを表示する
comm -3 file1 file2 file1 にのみ存在する行と file2 のみに存在する行を表示する
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/comm>
(ローカルでは info '(coreutils) comm invocation' で参照可能)。
containerd
NAME:
containerd -
__ _ __
_________ ____ / /_____ _(_)___ ___ _________/ /
/ ___/ __ \/ __ \/ __/ __ `/ / __ \/ _ \/ ___/ __ /
/ /__/ /_/ / / / / /_/ /_/ / / / / / __/ / / /_/ /
\___/\____/_/ /_/\__/\__,_/_/_/ /_/\___/_/ \__,_/
high performance container runtime
USAGE:
containerd [global options] command [command options] [arguments...]
VERSION:
1.7.12
DESCRIPTION:
containerd is a high performance container runtime whose daemon can be started
by using this command. If none of the *config*, *publish*, *oci-hook*, or *help* commands
are specified, the default action of the **containerd** command is to start the
containerd daemon in the foreground.
A default configuration is used if no TOML configuration is specified or located
at the default file location. The *containerd config* command can be used to
generate the default configuration for containerd. The output of that command
can be used and modified as necessary as a custom configuration.
COMMANDS:
config Information on the containerd config
publish Binary to publish events to containerd
oci-hook Provides a base for OCI runtime hooks to allow arguments to be injected.
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config value, -c value Path to the configuration file (default: "/etc/containerd/config.toml")
--log-level value, -l value Set the logging level [trace, debug, info, warn, error, fatal, panic]
--address value, -a value Address for containerd's GRPC server
--root value containerd root directory
--state value containerd state directory
--help, -h show help
--version, -v print the version
containerd-shim
Usage of containerd-shim:
-address string
grpc address back to main containerd
-containerd-binary containerd publish
path to containerd binary (used for containerd publish) (default "containerd")
-criu string
path to criu binary (deprecated: do not use)
-debug
enable debug output in logs
-namespace string
namespace that owns the shim
-runtime-root string
root directory for the runtime (default "/run/containerd/runc")
-socket string
socket path to serve
-systemd-cgroup
set runtime to use systemd-cgroup
-v show the shim version and exit
-workdir string
path used to storage large temporary data
containerd-shim-runc-v1
Usage of containerd-shim-runc-v1:
-address string
grpc address back to main containerd
-bundle string
path to the bundle if not workdir
-debug
enable debug output in logs
-id string
id of the task
-namespace string
namespace that owns the shim
-publish-binary string
path to publish binary (used for publishing events), but containerd-shim-runc-v1 will ignore this flag, please use the TTRPC_ADDRESS env
-socket string
socket path to serve
-v show the shim version and exit
containerd-shim-runc-v2
Usage of containerd-shim-runc-v2:
-address string
grpc address back to main containerd
-bundle string
path to the bundle if not workdir
-debug
enable debug output in logs
-id string
id of the task
-namespace string
namespace that owns the shim
-publish-binary string
path to publish binary (used for publishing events), but containerd-shim-runc-v2 will ignore this flag, please use the TTRPC_ADDRESS env
-socket string
socket path to serve
-v show the shim version and exit
containerd-stress
NAME:
containerd-stress - A new cli application
USAGE:
containerd-stress [global options] command [command options] [arguments...]
DESCRIPTION:
stress test a containerd daemon
COMMANDS:
density Stress tests density of containers running on a system
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--debug Set debug output in the logs
--address value, -a value Path to the containerd socket (default: "/run/containerd/containerd.sock")
--concurrent value, -c value Set the concurrency of the stress test (default: 1)
--cri Utilize CRI to create pods for the stress test. This requires a runtime that matches CRI runtime handler. Example: --runtime runc
--duration value, -d value Set the duration of the stress test (default: 1m0s)
--exec Add execs to the stress tests (non-CRI only)
--image value, -i value Image to be utilized for testing (default: "docker.io/library/alpine:latest")
--json, -j Output results in json format
--metrics value, -m value Address to serve the metrics API
--runtime value Set the runtime to stress test (default: "io.containerd.runc.v2")
--snapshotter value Set the snapshotter to use (default: "overlayfs")
--help, -h show help
corelist
Usage:
corelist -v
corelist [-a|-d] <ModuleName> | /<ModuleRegex>/ [<ModuleVersion>] ...
corelist [-v <PerlVersion>] [ <ModuleName> | /<ModuleRegex>/ ] ...
corelist [-r <PerlVersion>] ...
corelist --utils [-d] <UtilityName> [<UtilityName>] ...
corelist --utils -v <PerlVersion>
corelist --feature <FeatureName> [<FeatureName>] ...
corelist --diff PerlVersion PerlVersion
corelist --upstream <ModuleName>
Options:
-a lists all versions of the given module (or the matching modules, in
case you used a module regexp) in the perls Module::CoreList knows
about.
corelist -a Unicode
Unicode was first released with perl v5.6.2
v5.6.2 3.0.1
v5.8.0 3.2.0
v5.8.1 4.0.0
v5.8.2 4.0.0
v5.8.3 4.0.0
v5.8.4 4.0.1
v5.8.5 4.0.1
v5.8.6 4.0.1
v5.8.7 4.1.0
v5.8.8 4.1.0
v5.8.9 5.1.0
v5.9.0 4.0.0
v5.9.1 4.0.0
v5.9.2 4.0.1
v5.9.3 4.1.0
v5.9.4 4.1.0
v5.9.5 5.0.0
v5.10.0 5.0.0
v5.10.1 5.1.0
v5.11.0 5.1.0
v5.11.1 5.1.0
v5.11.2 5.1.0
v5.11.3 5.2.0
v5.11.4 5.2.0
v5.11.5 5.2.0
v5.12.0 5.2.0
v5.12.1 5.2.0
v5.12.2 5.2.0
v5.12.3 5.2.0
v5.12.4 5.2.0
v5.13.0 5.2.0
v5.13.1 5.2.0
v5.13.2 5.2.0
v5.13.3 5.2.0
v5.13.4 5.2.0
v5.13.5 5.2.0
v5.13.6 5.2.0
v5.13.7 6.0.0
v5.13.8 6.0.0
v5.13.9 6.0.0
v5.13.10 6.0.0
v5.13.11 6.0.0
v5.14.0 6.0.0
v5.14.1 6.0.0
v5.15.0 6.0.0
-d finds the first perl version where a module has been released by
date, and not by version number (as is the default).
--diff
Given two versions of perl, this prints a human-readable table of
all module changes between the two. The output format may change in
the future, and is meant for humans, not programs. For programs, use
the Module::CoreList API.
-? or -help
help! help! help! to see more help, try --man.
-man
all of the help
-v lists all of the perl release versions we got the CoreList for.
If you pass a version argument (value of $], like 5.00503 or
5.008008), you get a list of all the modules and their respective
versions. (If you have the "version" module, you can also use
new-style version numbers, like 5.8.8.)
In module filtering context, it can be used as Perl version filter.
-r lists all of the perl releases and when they were released
If you pass a perl version you get the release date for that version
only.
--utils
lists the first version of perl each named utility program was
released with
May be used with -d to modify the first release criteria.
If used with -v <version> then all utilities released with that
version of perl are listed, and any utility programs named on the
command line are ignored.
--feature, -f
lists the first version bundle of each named feature given
--upstream, -u
Shows if the given module is primarily maintained in perl core or on
CPAN and bug tracker URL.
As a special case, if you specify the module name "Unicode", you'll get
the version number of the Unicode Character Database bundled with the
requested perl versions.
cp
使用法: cp [OPTION]... [-T] SOURCE DEST
または: cp [OPTION]... SOURCE... DIRECTORY
または: cp [OPTION]... -t DIRECTORY SOURCE...
SOURCE から DEST へのコピー、または複数の SOURCE の DIRECTORY へのコピーを行います。
長いオプションで必須となっている引数は短いオプションでも必須です。
-a, --archive -dR --preserve=all と同様
--attributes-only ファイルのデータをコピーせず、ファイルの属性のみコピーする
--backup[=CONTROL] コピー先ファイルが存在する時にバックアップを作成する
-b --backup と同様だが引数を受け付けない
--copy-contents 再帰時に特殊ファイルの内容をコピーする
-d --no-dereference --preserve=links と同様
--debug explain how a file is copied. Implies -v
-f, --force コピー先にファイルが存在し、開くことができない場合、
削除してから再度試みる (-n オプションも指定した
場合はこのオプションは無視される)
-i, --interactive 上書きする前に確認する (前に指定した -n オプション
を上書きする)
-H SOURCE にあるコマンド行のシンボリックリンクをたどる
-l, --link コピーの代わりにファイルのハードリンクを作成する
-L, --dereference SOURCE にあるシンボリックリンクを常にたどる
-n, --no-clobber do not overwrite an existing file and do not fail
(overrides a -u or previous -i option). See also
--update; equivalent to --update=none.
-P, --no-dereference SOURCE内のシンボリックリンクに絶対したがってはいけません
-p same as --preserve=mode,ownership,timestamps
--preserve[=ATTR_LIST] preserve the specified attributes
--no-preserve=ATTR_LIST 指定した属性を保持しない
--parents DIRECTORY 配下で SOURCE ファイルのフルパス名を使用する
-R, -r, --recursive 再帰的にディレクトリをコピーする
--reflink[=WHEN] clone/CoW コピーを制御する。下記を参照
--remove-destination コピー先にファイルが存在する場合、開く前に削除する
(--force と反対の動作になる)
--sparse=WHEN スパースファイル作成を制御する。下記を参照
--strip-trailing-slashes 各 SOURCE 引数から末尾のスラッシュを全て削除
する
-s, --symbolic-link コピーの代わりにシンボリックリンクを作成する
-S, --suffix=SUFFIX 通常のバックアップ接尾辞を上書きする
-t, --target-directory=DIRECTORY 全ての SOURCE 引数を DIRECTORY にコピーする
-T, --no-target-directory DEST を通常ファイルとして扱う
--update[=UPDATE] control which existing files are updated;
UPDATE={all,none,older(default)}. See below
-u equivalent to --update[=older]
-v, --verbose explain what is being done
-x, --one-file-system stay on this file system
-Z コピー先ファイルの SELinux セキュリティコンテキストを
デフォルトタイプに設定する
--context[=CTX] -Z と同様だが、 CTX が指定された場合は、
SELinux や SMACK のセキュリティコンテキストを CTX に設定する
--help display this help and exit
--version output version information and exit
ATTR_LIST is a comma-separated list of attributes. Attributes are 'mode' for
permissions (including any ACL and xattr permissions), 'ownership' for user
and group, 'timestamps' for file timestamps, 'links' for hard links, 'context'
for security context, 'xattr' for extended attributes, and 'all' for all
attributes.
デフォルトでは、SOURCE スパースファイルは発見的手法で検出され、対応する
DEST ファイルはスパースファイルとして作成されます。これは --sparse=auto
が選択されたときの動作です。--sparse=always を指定した場合、SOURCE ファ
イルに値が 0 のバイトが十分な長さ含まれている場合には DEST がスパース
ファイルとして作成されます。スパースファイルの作成を禁止する場合は
--sparse=never を使用してください。
UPDATE controls which existing files in the destination are replaced.
'all' is the default operation when an --update option is not specified,
and results in all existing files in the destination being replaced.
'none' is similar to the --no-clobber option, in that no files in the
destination are replaced, but also skipped files do not induce a failure.
'older' is the default operation when --update is specified, and results
in files being replaced if they're older than the corresponding source file.
--reflink[=always] が指定された場合、軽量コピーが実行されデータブロック
が変更された場合にのみコピーされます。そうでない場合、コピーが失敗した
場合、または --reflink=auto が指定された場合、通常のコピーにフォール
バックされます。
--reflink=never が指定された場合、通常のコピーが必ず実行されます。
--suffix も環境変数 SIMPLE_BACKUP_SUFFIX も設定されていない場合、
バックアップ接尾辞は '~' になります。
バージョン管理方法は --backup オプションや VERSION_CONTROL 環境変数で
選択できます。以下の値を指定できます:
none, off バックアップを作成しない (--backup を付けた時でも)
numbered, t 番号付きバックアップを作成する
existing, nil 番号付きバックアップがあれば番号付き、
そうでなければ、simple で作成する
simple, never 常に簡易バックアップを作成
特別な場合として、cp は -f と -b オプションが与えられ、SOURCE と DEST が
同一ファイルである時は、SOURCE のバックアップを作成します。
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/cp>
(ローカルでは info '(coreutils) cp invocation' で参照可能)。
cpan
NAME
cpan - easily interact with CPAN from the command line
SYNOPSIS
# with arguments and no switches, installs specified modules
cpan module_name [ module_name ... ]
# with switches, installs modules with extra behavior
cpan [-cfFimtTw] module_name [ module_name ... ]
# use local::lib
cpan -I module_name [ module_name ... ]
# one time mirror override for faster mirrors
cpan -p ...
# with just the dot, install from the distribution in the
# current directory
cpan .
# without arguments, starts CPAN.pm shell
cpan
# without arguments, but some switches
cpan [-ahpruvACDLOPX]
DESCRIPTION
This script provides a command interface (not a shell) to CPAN. At the
moment it uses CPAN.pm to do the work, but it is not a one-shot command
runner for CPAN.pm.
Options
-a Creates a CPAN.pm autobundle with CPAN::Shell->autobundle.
-A module [ module ... ]
Shows the primary maintainers for the specified modules.
-c module
Runs a `make clean` in the specified module's directories.
-C module [ module ... ]
Show the Changes files for the specified modules
-D module [ module ... ]
Show the module details. This prints one line for each out-of-date
module (meaning, modules locally installed but have newer versions
on CPAN). Each line has three columns: module name, local version,
and CPAN version.
-f Force the specified action, when it normally would have failed. Use
this to install a module even if its tests fail. When you use this
option, -i is not optional for installing a module when you need to
force it:
% cpan -f -i Module::Foo
-F Turn off CPAN.pm's attempts to lock anything. You should be careful
with this since you might end up with multiple scripts trying to
muck in the same directory. This isn't so much of a concern if
you're loading a special config with "-j", and that config sets up
its own work directories.
-g module [ module ... ]
Downloads to the current directory the latest distribution of the
module.
-G module [ module ... ]
UNIMPLEMENTED
Download to the current directory the latest distribution of the
modules, unpack each distribution, and create a git repository for
each distribution.
If you want this feature, check out Yanick Champoux's
"Git::CPAN::Patch" distribution.
-h Print a help message and exit. When you specify "-h", it ignores all
of the other options and arguments.
-i module [ module ... ]
Install the specified modules. With no other switches, this switch
is implied.
-I Load "local::lib" (think like "-I" for loading lib paths). Too bad
"-l" was already taken.
-j Config.pm
Load the file that has the CPAN configuration data. This should have
the same format as the standard CPAN/Config.pm file, which defines
$CPAN::Config as an anonymous hash.
-J Dump the configuration in the same format that CPAN.pm uses. This is
useful for checking the configuration as well as using the dump as a
starting point for a new, custom configuration.
-l List all installed modules with their versions
-L author [ author ... ]
List the modules by the specified authors.
-m Make the specified modules.
-M mirror1,mirror2,...
A comma-separated list of mirrors to use for just this run. The "-P"
option can find them for you automatically.
-n Do a dry run, but don't actually install anything. (unimplemented)
-O Show the out-of-date modules.
-p Ping the configured mirrors and print a report
-P Find the best mirrors you could be using and use them for the
current session.
-r Recompiles dynamically loaded modules with CPAN::Shell->recompile.
-s Drop in the CPAN.pm shell. This command does this automatically if
you don't specify any arguments.
-t module [ module ... ]
Run a `make test` on the specified modules.
-T Do not test modules. Simply install them.
-u Upgrade all installed modules. Blindly doing this can really break
things, so keep a backup.
-v Print the script version and CPAN.pm version then exit.
-V Print detailed information about the cpan client.
-w UNIMPLEMENTED
Turn on cpan warnings. This checks various things, like directory
permissions, and tells you about problems you might have.
-x module [ module ... ]
Find close matches to the named modules that you think you might
have mistyped. This requires the optional installation of
Text::Levenshtein or Text::Levenshtein::Damerau.
-X Dump all the namespaces to standard output.
Examples
# print a help message
cpan -h
# print the version numbers
cpan -v
# create an autobundle
cpan -a
# recompile modules
cpan -r
# upgrade all installed modules
cpan -u
# install modules ( sole -i is optional )
cpan -i Netscape::Booksmarks Business::ISBN
# force install modules ( must use -i )
cpan -fi CGI::Minimal URI
# install modules but without testing them
cpan -Ti CGI::Minimal URI
Environment variables
There are several components in CPAN.pm that use environment variables.
The build tools, ExtUtils::MakeMaker and Module::Build use some, while
others matter to the levels above them. Some of these are specified by
the Perl Toolchain Gang:
Lancaster Consensus:
<https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lanca
ster-consensus.md>
Oslo Consensus:
<https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/oslo-
consensus.md>
NONINTERACTIVE_TESTING
Assume no one is paying attention and skips prompts for
distributions that do that correctly. cpan(1) sets this to 1 unless
it already has a value (even if that value is false).
PERL_MM_USE_DEFAULT
Use the default answer for a prompted questions. cpan(1) sets this
to 1 unless it already has a value (even if that value is false).
CPAN_OPTS
As with "PERL5OPT", a string of additional cpan(1) options to add to
those you specify on the command line.
CPANSCRIPT_LOGLEVEL
The log level to use, with either the embedded, minimal logger or
Log::Log4perl if it is installed. Possible values are the same as
the "Log::Log4perl" levels: "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", and "FATAL". The default is "INFO".
GIT_COMMAND
The path to the "git" binary to use for the Git features. The
default is "/usr/local/bin/git".
EXIT VALUES
The script exits with zero if it thinks that everything worked, or a
positive number if it thinks that something failed. Note, however, that
in some cases it has to divine a failure by the output of things it does
not control. For now, the exit codes are vague:
1 An unknown error
2 The was an external problem
4 There was an internal problem with the script
8 A module failed to install
TO DO
* one shot configuration values from the command line
BUGS
* none noted
SEE ALSO
Most behaviour, including environment variables and configuration, comes
directly from CPAN.pm.
SOURCE AVAILABILITY
This code is in Github in the CPAN.pm repository:
https://github.com/andk/cpanpm
The source used to be tracked separately in another GitHub repo, but the
canonical source is now in the above repo.
CREDITS
Japheth Cleaver added the bits to allow a forced install (-f).
Jim Brandt suggest and provided the initial implementation for the
up-to-date and Changes features.
Adam Kennedy pointed out that exit() causes problems on Windows where
this script ends up with a .bat extension
AUTHOR
brian d foy, "<bdfoy@cpan.org>"
COPYRIGHT
Copyright (c) 2001-2015, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.
cpio
使用法: cpio [OPTION...] [destination-directory]
GNU `cpio'
はファイルを書庫へコピーしたり、書庫からファイルへコピーします。
例:
# NAME-LIST にあるファイル名のファイルを書庫 ARCHIVE
にコピーする
cpio -o < NAME-LIST [> ARCHIVE]
# 書庫 ARCHIVE からファイルを抽出する
cpio -i [< archive]
# NAME-LIST にあるファイル名のファイルをディレクトリ DIR
にコピーする
cpio -p DIR < NAME-LIST
主操作モード:
-i, --extract 書庫からファイルを抽出する (copy-in
モードで実行)
-o, --create 書庫を作成する (copy-out
モードで実行)
-p, --pass-through copy-pass モードで実行
-t, --list 入力の目次を表示する
全てのモードで有効な動作指定:
--block-size=BLOCK-SIZE I/O ブロックサイズを BLOCK-SIZE * 512
バイトに設定する
-B I/O ブロックサイズを 5120
バイトに設定する
-c 古く可搬性のある (ASCII)
書庫形式を使用する
-C, --io-size=NUMBER I/O ブロックサイズを指定した NUMBER
バイトに設定する
-D, --directory=DIR ディレクトリ DIR に移動する
--force-local ファイル名にコロン (:)
が含まれていても書庫ファイルをローカルにあるとする
-H, --format=FORMAT 書庫の形式として FORMAT を使用する
--quiet コピーしたブロック数を表示しない
-R, --owner=[USER][:.][GROUP]
作成する全てのファイルの所有権を
USER および/または GROUP
で指定されたものに設定する
-v, --verbose
処理したファイルを冗長に一覧表示する
-V, --dot ファイルを処理するごとに "."
を表示する
-W, --warning=FLAG 警告表示を制御する。現在のところ
FLAG は 'none'、'truncate'、'all'
のうち一つとなる。複数のオプションを指定した時は累積される。
copy-in および copy-out モードで有効な動作指定
-F, --file=[[USER@]HOST:]FILE-NAME
標準入力または標準出力の代わりに
FILE-NAME を使用する。オプションの
USER および HOST
はリモート書庫操作時のユーザ名およびホスト名として使用する
-M, --message=STRING
バックアップ媒体のボリュームの終了に達したときに
STRING を表示する
--rsh-command=COMMAND rsh の代わりに COMMAND を実行する
copy-in モードでのみ有効な動作指定:
-b, --swap
データ内のワード中のハーフワードおよびハーフワード中のバイトを両方とも交換する。
-sS と同等
-f, --nonmatching
指定したパターンに一致しないファイルのみコピーする
-I [[USER@]HOST:]FILE-NAME 標準入力の代わりに FILE-NAME
というファイル名の書庫を使用する。オプションの
USER および HOST
はリモート書庫操作時のユーザ名およびホスト名として使用する
-n, --numeric-uid-gid 目次一覧の表示を冗長にし、UID
および GID を数値で表示する
-r, --rename 対話的にファイル名を変更する
-s, --swap-bytes
ファイル内の各ハーフワードのバイトを交換する
-S, --swap-halfwords ファイル内の各ワード (4バイト)
のバイトを交換する
--to-stdout
ファイルを標準出力に対して抽出する
-E, --pattern-file=FILE
抽出または一覧表示するファイル名を指定する追加のパターンを
FILE から読み込む
--only-verify-crc CRC
形式の書庫を読み出すときに、書庫内の各ファイルの
CRC
を検査するだけで、実際にはファイルを抽出しない
copy-out モードでのみ有効な動作指定:
-A, --append 既存の書庫に追加する
--device-independent, --reproducible
デバイスに依存しない
(再作成可能な) 書庫を作成する
--ignore-devno デバイス番号を保存しない
--ignore-dirnlink ignore number of links of a directory; always
assume 2
-O [[USER@]HOST:]FILE-NAME 標準出力の代わりに FILE-NAME
というファイル名の書庫を使用する。オプションの
USER および HOST
はリモート書庫操作時のユーザ名およびホスト名として使用する
--renumber-inodes iノードを番号付けしなおす
copy-pass モードでのみ有効な動作指定:
-l, --link
可能な場合にはコピーする代わりにリンクを作成する
copy-in および copy-out モードで有効な動作指定:
--absolute-filenames
ファイルシステムに関連して先頭に付加される要素をファイル名から取り除かない
--no-absolute-filenames
全てのファイルをカレントディレクトリから相対的に作成する
copy-out および copy-pass モードで有効な動作指定:
-0, --null
一覧にあるファイル名が改行の代わりに
NULL
文字で区切られているとして扱う
-a, --reset-access-time
読み込み後にファイルのアクセス日時を元に戻す
-L, --dereference シンボリックリンクを辿る
(リンクをコピーする代わりにリンクが指すファイルをコピーする)
copy-in および copy-pass モードで有効な動作指定:
-d, --make-directories
必要に応じてディレクトリを作成する
-m, --preserve-modification-time
ファイル作成時に前回ファイル更新日時を取得する
--no-preserve-owner ファイルの所有権を変更しない
--sparse 多数の値が 0
のブロックが存在するファイルを疎な
(sparce) ファイルとして書き込む
-u, --unconditional 無条件に全てのファイルを置換する
-?, --help このヘルプを表示する
--usage 短い使用方法を表示する
--version プログラムのバージョンを表示する
長い形式のオプションで必須または任意の引数は、それに対応する短い形式のオプションでも同様に必須または任意です。
バグを発見したら <bug-cpio@gnu.org> 宛に報告して下さい。
cpp
Usage: cpp [options] file...
Options:
-pass-exit-codes Exit with highest error code from a phase.
--help Display this information.
--target-help Display target specific command line options (including assembler and linker options).
--help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].
Display specific types of command line options.
(Use '-v --help' to display command line options of sub-processes).
--version Display compiler version information.
-dumpspecs Display all of the built in spec strings.
-dumpversion Display the version of the compiler.
-dumpmachine Display the compiler's target processor.
-foffload=<targets> Specify offloading targets.
-print-search-dirs Display the directories in the compiler's search path.
-print-libgcc-file-name Display the name of the compiler's companion library.
-print-file-name=<lib> Display the full path to library <lib>.
-print-prog-name=<prog> Display the full path to compiler component <prog>.
-print-multiarch Display the target's normalized GNU triplet, used as
a component in the library path.
-print-multi-directory Display the root directory for versions of libgcc.
-print-multi-lib Display the mapping between command line options and
multiple library search directories.
-print-multi-os-directory Display the relative path to OS libraries.
-print-sysroot Display the target libraries directory.
-print-sysroot-headers-suffix Display the sysroot suffix used to find headers.
-Wa,<options> Pass comma-separated <options> on to the assembler.
-Wp,<options> Pass comma-separated <options> on to the preprocessor.
-Wl,<options> Pass comma-separated <options> on to the linker.
-Xassembler <arg> Pass <arg> on to the assembler.
-Xpreprocessor <arg> Pass <arg> on to the preprocessor.
-Xlinker <arg> Pass <arg> on to the linker.
-save-temps Do not delete intermediate files.
-save-temps=<arg> Do not delete intermediate files.
-no-canonical-prefixes Do not canonicalize paths when building relative
prefixes to other gcc components.
-pipe Use pipes rather than intermediate files.
-time Time the execution of each subprocess.
-specs=<file> Override built-in specs with the contents of <file>.
-std=<standard> Assume that the input sources are for <standard>.
--sysroot=<directory> Use <directory> as the root directory for headers
and libraries.
-B <directory> Add <directory> to the compiler's search paths.
-v Display the programs invoked by the compiler.
-### Like -v but options quoted and commands not executed.
-E Preprocess only; do not compile, assemble or link.
-S Compile only; do not assemble or link.
-c Compile and assemble, but do not link.
-o <file> Place the output into <file>.
-pie Create a dynamically linked position independent
executable.
-shared Create a shared library.
-x <language> Specify the language of the following input files.
Permissible languages include: c c++ assembler none
'none' means revert to the default behavior of
guessing the language based on the file's extension.
Options starting with -g, -f, -m, -O, -W, or --param are automatically
passed on to the various sub-processes invoked by cpp. In order to pass
other options on to these processes the -W<letter> options must be used.
For bug reporting instructions, please see:
<file:///usr/share/doc/gcc-13/README.Bugs>.
cpp-13
Usage: cpp-13 [options] file...
Options:
-pass-exit-codes Exit with highest error code from a phase.
--help Display this information.
--target-help Display target specific command line options (including assembler and linker options).
--help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].
Display specific types of command line options.
(Use '-v --help' to display command line options of sub-processes).
--version Display compiler version information.
-dumpspecs Display all of the built in spec strings.
-dumpversion Display the version of the compiler.
-dumpmachine Display the compiler's target processor.
-foffload=<targets> Specify offloading targets.
-print-search-dirs Display the directories in the compiler's search path.
-print-libgcc-file-name Display the name of the compiler's companion library.
-print-file-name=<lib> Display the full path to library <lib>.
-print-prog-name=<prog> Display the full path to compiler component <prog>.
-print-multiarch Display the target's normalized GNU triplet, used as
a component in the library path.
-print-multi-directory Display the root directory for versions of libgcc.
-print-multi-lib Display the mapping between command line options and
multiple library search directories.
-print-multi-os-directory Display the relative path to OS libraries.
-print-sysroot Display the target libraries directory.
-print-sysroot-headers-suffix Display the sysroot suffix used to find headers.
-Wa,<options> Pass comma-separated <options> on to the assembler.
-Wp,<options> Pass comma-separated <options> on to the preprocessor.
-Wl,<options> Pass comma-separated <options> on to the linker.
-Xassembler <arg> Pass <arg> on to the assembler.
-Xpreprocessor <arg> Pass <arg> on to the preprocessor.
-Xlinker <arg> Pass <arg> on to the linker.
-save-temps Do not delete intermediate files.
-save-temps=<arg> Do not delete intermediate files.
-no-canonical-prefixes Do not canonicalize paths when building relative
prefixes to other gcc components.
-pipe Use pipes rather than intermediate files.
-time Time the execution of each subprocess.
-specs=<file> Override built-in specs with the contents of <file>.
-std=<standard> Assume that the input sources are for <standard>.
--sysroot=<directory> Use <directory> as the root directory for headers
and libraries.
-B <directory> Add <directory> to the compiler's search paths.
-v Display the programs invoked by the compiler.
-### Like -v but options quoted and commands not executed.
-E Preprocess only; do not compile, assemble or link.
-S Compile only; do not assemble or link.
-c Compile and assemble, but do not link.
-o <file> Place the output into <file>.
-pie Create a dynamically linked position independent
executable.
-shared Create a shared library.
-x <language> Specify the language of the following input files.
Permissible languages include: c c++ assembler none
'none' means revert to the default behavior of
guessing the language based on the file's extension.
Options starting with -g, -f, -m, -O, -W, or --param are automatically
passed on to the various sub-processes invoked by cpp-13. In order to pass
other options on to these processes the -W<letter> options must be used.
For bug reporting instructions, please see:
<file:///usr/share/doc/gcc-13/README.Bugs>.
cpupower
Usage: cpupower [-d|--debug] [-c|--cpu cpulist ] <command> [<args>]
Supported commands are:
frequency-info
frequency-set
idle-info
idle-set
powercap-info
set
info
monitor
help
Not all commands can make use of the -c cpulist option.
Use 'cpupower help <command>' for getting help for above commands.
crontab
crontab: usage error: unrecognized option
usage: crontab [-u user] [-n] file
crontab [ -u user ] [ -i ] { -e | -l | -r }
-h (displays this help message)
file (default operation is replace, per 1003.2)
-n (dry run: checks the syntax, then bails out)
-u user (choose the user whose crontab is touched)
-e (edit user's crontab)
-l (list user's crontab)
-r (delete user's crontab)
-i (prompt before deleting user's crontab)
csplit
使用法: csplit [OPTION]... FILE PATTERN...
PATTERN に基づいて FILE を断片に分割して、
それぞれをファイル 'xx00', 'xx01', ... に出力し、
各断片のバイト数を標準出力に表示します。
ファイルが - ならば標準入力から読み込みます。
長いオプションで必須となっている引数は短いオプションでも必須です。
-b, --suffix-format=FORMAT %02d の代わりに sprintf の FORMAT を使用する
-f, --prefix=PREFIX 接頭辞として 'xx' の代わりに PREFIX を使用する
-k, --keep-files エラー発生時に出力ファイルを削除しない
--suppress-matched PATTERN に一致する行を表示しない
-n, --digits=DIGITS use specified number of digits instead of 2
-s, --quiet, --silent do not print counts of output file sizes
-z, --elide-empty-files suppress empty output files
--help display this help and exit
--version output version information and exit
Each PATTERN may be:
INTEGER copy up to but not including specified line number
/REGEXP/[OFFSET] copy up to but not including a matching line
%REGEXP%[OFFSET] skip to, but not including a matching line
{INTEGER} repeat the previous pattern specified number of times
{*} repeat the previous pattern as many times as possible
A line OFFSET is an integer optionally preceded by '+' or '-'
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/csplit>
(ローカルでは info '(coreutils) csplit invocation' で参照可能)。
ctr
NAME:
ctr -
__
_____/ /______
/ ___/ __/ ___/
/ /__/ /_/ /
\___/\__/_/
containerd CLI
USAGE:
ctr [global options] command [command options] [arguments...]
VERSION:
1.7.12
DESCRIPTION:
ctr is an unsupported debug and administrative client for interacting
with the containerd daemon. Because it is unsupported, the commands,
options, and operations are not guaranteed to be backward compatible or
stable from release to release of the containerd project.
COMMANDS:
plugins, plugin Provides information about containerd plugins
version Print the client and server versions
containers, c, container Manage containers
content Manage content
events, event Display containerd events
images, image, i Manage images
leases Manage leases
namespaces, namespace, ns Manage namespaces
pprof Provide golang pprof outputs for containerd
run Run a container
snapshots, snapshot Manage snapshots
tasks, t, task Manage tasks
install Install a new package
oci OCI tools
sandboxes, sandbox, sb, s Manage sandboxes
info Print the server info
deprecations
shim Interact with a shim directly
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--debug Enable debug output in logs
--address value, -a value Address for containerd's GRPC server (default: "/run/containerd/containerd.sock") [$CONTAINERD_ADDRESS]
--timeout value Total timeout for ctr commands (default: 0s)
--connect-timeout value Timeout for connecting to containerd (default: 0s)
--namespace value, -n value Namespace to use with commands (default: "default") [$CONTAINERD_NAMESPACE]
--help, -h show help
--version, -v print the version
ctstat
ctstat Version 6.1.0
Copyright (C) 2004 by Harald Welte <laforge@gnumonks.org>
This program is free software licensed under GNU GPLv2
with ABSOLUTELY NO WARRANTY.
Parameters:
-V --version Print Version of Program
-c --count <count> Print <count> number of intervals
-d --dump Dump list of available files/keys
-j --json Display in JSON format
-f --file <file> Statistics file to use
-h --help This help message
-i --interval <intv> Set interval to 'intv' seconds
-k --keys k,k,k,... Display only keys specified
-s --subject [0-2] Control header printing:
0 = never
1 = once
2 = every 20 lines (default))
-w --width n,n,n,... Width for each field
cupstestppd
Warning: This program will be removed in a future version of CUPS.
Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]
program | cupstestppd [options] -
オプション:
-I {filename,filters,none,profiles}
Ignore specific warnings
-R root-directory Set alternate root
-W {all,none,constraints,defaults,duplex,filters,profiles,sizes,translations}
Issue warnings instead of errors
-q Run silently
-r Use 'relaxed' open mode
-v Be verbose
-vv Be very verbose
cut
使用法: cut OPTION... [FILE]...
各ファイルの行から選択した部分だけを切り出し、標準出力に表示します。
ファイルの指定がない場合や FILE が - の場合, 標準入力から読み込みを行います。
長いオプションで必須となっている引数は短いオプションでも必須です。
-b, --bytes=LIST バイトで数えた LIST を選択する
-c, --characters=LIST 文字で数えた LIST を選択する
-d, --delimiter=DELIM フィールドの区切り文字として TAB の代わりに DELIM
を使用する
-f, --fields=LIST LIST のフィールドのみを選択する。-s オプションが
指定されない限り、区切り文字を含まない行も表示
する
-n (無視される)
--complement 選択されたバイト数、文字数またはフィールド数の
組を補足する
-s, --only-delimited 区切り文字を含まない行を出力しない
--output-delimiter=STRING 出力の区切り文字として STRING を使用
デフォルトでは入力の区切り文字を使用
-z, --zero-terminated 行の区切りを改行でなく NUL にする
--help display this help and exit
--version output version information and exit
-b, -c, -f はこのうち 1 つだけを、かつ必ず使用してください。
各 LIST は、コンマで区切られた 1 つまたは複数の範囲で構成されます。
選択された入力は読み込まれた順番で一度だけ出力されます。
範囲指定は以下のいずれかです。
N N 番目のバイト、文字、フィールド。 1 から始まる
N- N 番目のバイト、文字、フィールドから行末まで
N-M N 番目から M 番目 (これも含まれる) までのバイト、文字、フィールド
-M 行頭から M 番目 (これも含まれる) までのバイト、文字、フィールド
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/>
翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。
詳細な文書 <https://www.gnu.org/software/coreutils/cut>
(ローカルでは info '(coreutils) cut invocation' で参照可能)。
cvt
usage: cvt [-v|--verbose] [-r|--reduced] X Y [refresh]
-v|--verbose : Warn about CVT standard adherence.
-r|--reduced : Create a mode with reduced blanking (default: normal blanking).
X : Desired horizontal resolution (multiple of 8, required).
Y : Desired vertical resolution (required).
refresh : Desired refresh rate (default: 60.0Hz).
Calculates VESA CVT (Coordinated Video Timing) modelines for use with X.
cvtsudoers
cvtsudoers - sudoers ファイル形式間での変換を行う
usage: cvtsudoers [-ehMpV] [-b dn] [-c conf_file ] [-d deftypes] [-f output_format] [-i input_format] [-I increment] [-m filter] [-o output_file] [-O start_point] [-P padding] [-s sections] [input_file]
オプション:
-b, --base=dn sudo の LDAP クエリ のベース DN
-c, --config=conf_file 設定ファイルへのパス
-d, --defaults=deftypes 指定した形式の Defaults のみを変換する
-e, --expand-aliases 変換する時にエイリアスを展開する
-f, --output-format=format 出力の書式: JSON, LDIF または sudoers
-i, --input-format=format 入力の書式: LDIF または sudoers
-I, --increment=num それぞれの sudoOrder の増分
-h, --help ヘルプメッセージを表示して終了する
-m, --match=filter filter にマッチするエントリのみを変換する
-M, --match-local フィルタは passwd および group データベースを使用する
-o, --output=output_file 変換された sudoers を output_file に出力する
-O, --order-start=num 最初の sudoOrder の開始点
-p, --prune-matches マッチしないユーザー、グループ、ホストを取り除く
-P, --padding=num base padding for sudoOrder の増分
-s, --suppress=sections いくつかのセクションの出力を抑制する
-V, --version バージョン情報を表示して終了する
c_rehash
Usage: c_rehash [-old] [-h] [-help] [-v] [dirs...]
-old use old-style digest
-h or -help print this help text
-v print files removed and linked