mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
*: sync translations with English pages (#23258)
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
|
||||
- Comprueba si hay duplicados mayores a un tamaño determinado, preferiblemente manteniendo los archivos en directorios etiquetados (después de la doble barra):
|
||||
|
||||
`rmlint -s {{1MB}} {{ruta/al/directorio}} // {{ruta/al/directorio_original}}`
|
||||
`rmlint {{[-s|--size]}} {{1MB}} {{ruta/al/directorio}} // {{ruta/al/directorio_original}}`
|
||||
|
||||
- Comprueba que no se desperdicia espacio, manteniendo todo en los directorios no etiquetados:
|
||||
|
||||
`rmlint --keep-all-untagged {{ruta/al/directorio}} // {{ruta/al/directorio_original}}`
|
||||
`rmlint {{[-k|--keep-all-untagged]}} {{ruta/al/directorio}} // {{ruta/al/directorio_original}}`
|
||||
|
||||
- Elimina archivos duplicados encontrados tras una ejecución de `rmlint`:
|
||||
|
||||
@@ -21,16 +21,16 @@
|
||||
|
||||
- Encuentra árboles de directorios duplicados basándose en los datos, ignorando los nombres:
|
||||
|
||||
`rmlint --merge-directories {{ruta/al/directorio}}`
|
||||
`rmlint {{[-D|--merge-directories]}} {{ruta/al/directorio}}`
|
||||
|
||||
- Marca archivos en la profundida[d] de la ruta inferior como originales, en caso de igualdad elegir uno más corto [l]:
|
||||
|
||||
`rmlint --rank-by={{dl}} {{ruta/al/directorio}}`
|
||||
`rmlint {{[-S|--rank-by]}} {{dl}} {{ruta/al/directorio}}`
|
||||
|
||||
- Encuentra archivos con idéntico nombre de archivo y contenido, y vincula en lugar de eliminar los duplicados:
|
||||
|
||||
`rmlint -c sh:link --match-basename {{ruta/al/directorio}}`
|
||||
`rmlint {{[-c|--config]}} sh:link {{[-b|--match-basename]}} {{ruta/al/directorio}}`
|
||||
|
||||
- Utiliza `data` como directorio maestro. Busca solo los duplicados de la copia de seguridad que también estén en `datos`. No elimina ningún archivo de "datos":
|
||||
|
||||
`rmlint {{ruta/a/copia}} // {{ruta/a/datos}} --keep-all-tagged --must-match-tagged`
|
||||
`rmlint {{ruta/a/copia}} // {{ruta/a/datos}} {{[-k|--keep-all-tagged]}} {{[-m|--must-match-tagged]}}`
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
|
||||
- 設定ディレクトリを変更する:
|
||||
|
||||
`ranger --confdir={{path/to/directory}}`
|
||||
`ranger {{[-r|--confdir]}} {{path/to/directory}}`
|
||||
|
||||
- データディレクトリを変更する:
|
||||
|
||||
`ranger --datadir={{path/to/directory}}`
|
||||
`ranger --datadir {{path/to/directory}}`
|
||||
|
||||
- 終了時に CPU 使用統計を表示する:
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
|
||||
- 다운로드한 파일을 저장할 위치를 지정:
|
||||
|
||||
`eget {{zyedidia/micro}} --to={{경로/대상/디렉터리}}`
|
||||
`eget {{zyedidia/micro}} --to {{경로/대상/디렉터리}}`
|
||||
|
||||
- 최신 버전을 사용하는 대신 Git 태그를 지정:
|
||||
|
||||
`eget {{zyedidia/micro}} --tag={{v2.0.10}}`
|
||||
`eget {{zyedidia/micro}} {{[-t|--tag]}} {{v2.0.10}}`
|
||||
|
||||
- 최신 안정 버전 대신 최신 시험판을 설치:
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
- 추출을 건너뛰고, 리소스만 다운로드:
|
||||
|
||||
`eget {{zyedidia/micro}} --download-only`
|
||||
`eget {{zyedidia/micro}} {{[-d|--download-only]}}`
|
||||
|
||||
- 현재 다운로드한 버전보다 회신 버전이 있는 경우에만 다운로드:
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
- `maintenance.repo` 사용자 구성 변수에 저장된 목록의 각 저장소에서 유지 관리를 실행:
|
||||
|
||||
`git for-each-repo --config={{maintenance.repo}} {{maintenance run}}`
|
||||
`git for-each-repo --config maintenance.repo {{maintenance run}}`
|
||||
|
||||
- 글로벌 구성 변수에 나열된 각 저장소에서 `git pull` 실행:
|
||||
|
||||
`git for-each-repo --config={{global_configuration_variable}} {{pull}}`
|
||||
`git for-each-repo --config {{global_configuration_variable}} {{pull}}`
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
- CUDA 프로그램 컴파일:
|
||||
|
||||
`nvcc {{경로/대상/소스.cu}} -o {{경로/대상/실행파일}}`
|
||||
`nvcc {{경로/대상/소스.cu}} {{[-o|--output-file]}} {{경로/대상/실행파일}}`
|
||||
|
||||
- 디버그 정보 생성:
|
||||
|
||||
`nvcc {{경로/대상/소스.cu}} -o {{경로/대상/실행파일}} --debug --device-debug`
|
||||
`nvcc {{경로/대상/소스.cu}} {{[-o|--output-file]}} {{경로/대상/실행파일}} {{[-g|--debug]}} {{[-G|--device-debug]}}`
|
||||
|
||||
- 다른 경로에서 라이브러리 포함:
|
||||
|
||||
`nvcc {{경로/대상/소스.cu}} -o {{경로/대상/실행파일}} -I{{경로/대상/포함대상}} -L{{경로/대상/라이브러리}} -l{{라이브러리_이름}}`
|
||||
`nvcc {{경로/대상/소스.cu}} {{[-o|--output-file]}} {{경로/대상/실행파일}} {{[-I|--include-path]}} {{경로/대상/포함대상}} {{[-L|--library-path]}} {{경로/대상/라이브러리}} {{[-l|--library]}} {{라이브러리_이름}}`
|
||||
|
||||
- 특정 GPU 아키텍처에 대한 컴퓨팅 능력 지정:
|
||||
|
||||
`nvcc {{경로/대상/소스.cu}} -o {{경로/대상/실행파일}} --generate-code arch={{아키텍처_이름}},code={{gpu_코드_이름}}`
|
||||
`nvcc {{경로/대상/소스.cu}} {{[-o|--output-file]}} {{경로/대상/실행파일}} {{[-gencode|--generate-code]}} arch={{아키텍처_이름}},code={{gpu_코드_이름}}`
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
- PDF 파일의 통계 표시:
|
||||
|
||||
`pdf-parser --stats {{경로/대상/파일.pdf}}`
|
||||
`pdf-parser {{[-a|--stats]}} {{경로/대상/파일.pdf}}`
|
||||
|
||||
- PDF 파일에서 `/Font` 유형의 객체 표시:
|
||||
|
||||
`pdf-parser --type={{/Font}} {{경로/대상/파일.pdf}}`
|
||||
`pdf-parser {{[-t|--type]}} {{/Font}} {{경로/대상/파일.pdf}}`
|
||||
|
||||
- 간접 객체에서 문자열 검색:
|
||||
|
||||
`pdf-parser --search={{검색_문자열}} {{경로/대상/파일.pdf}}`
|
||||
`pdf-parser {{[-s|--search]}} {{검색_문자열}} {{경로/대상/파일.pdf}}`
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
|
||||
- 설정 디렉토리 변경:
|
||||
|
||||
`ranger --confdir={{경로/대상/폴더}}`
|
||||
`ranger {{[-r|--confdir]}} {{경로/대상/폴더}}`
|
||||
|
||||
- 데이터 디렉토리 변경:
|
||||
|
||||
`ranger --datadir={{경로/대상/폴더}}`
|
||||
`ranger --datadir {{경로/대상/폴더}}`
|
||||
|
||||
- 종료 시 CPU 사용 통계 출력:
|
||||
|
||||
|
||||
@@ -9,20 +9,20 @@
|
||||
|
||||
- URL 목록 테스트:
|
||||
|
||||
`siege --file {{경로/대상/url_목록.txt}}`
|
||||
`siege {{[-f|--file]}} {{경로/대상/url_목록.txt}}`
|
||||
|
||||
- URL 목록을 무작위 순서로 테스트 (인터넷 트래픽 시뮬레이션):
|
||||
|
||||
`siege --internet --file {{경로/대상/url_목록.txt}}`
|
||||
`siege {{[-i|--internet]}} {{[-f|--file]}} {{경로/대상/url_목록.txt}}`
|
||||
|
||||
- URL 목록 벤치마킹 (요청 사이에 대기하지 않음):
|
||||
|
||||
`siege --benchmark --file {{경로/대상/url_목록.txt}}`
|
||||
`siege {{[-b|--benchmark]}} {{[-f|--file]}} {{경로/대상/url_목록.txt}}`
|
||||
|
||||
- 동시 연결 수 설정:
|
||||
|
||||
`siege --concurrent={{50}} --file {{경로/대상/url_목록.txt}}`
|
||||
`siege {{[-c|--concurrent]}} {{50}} {{[-f|--file]}} {{경로/대상/url_목록.txt}}`
|
||||
|
||||
- 실행 시간 설정:
|
||||
|
||||
`siege --time={{30s}} --file {{경로/대상/url_목록.txt}}`
|
||||
`siege {{[-t|--time]}} {{30s}} {{[-f|--file]}} {{경로/대상/url_목록.txt}}`
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
- 파일을 Slack에 게시:
|
||||
|
||||
`slackcat --channel {{채널_이름}} {{경로/대상/파일}}`
|
||||
`slackcat {{[-c|--channel]}} {{채널_이름}} {{경로/대상/파일}}`
|
||||
|
||||
- 사용자 지정 파일 이름으로 파일을 Slack에 게시:
|
||||
|
||||
`slackcat --channel {{채널_이름}} --filename={{파일_이름}} {{경로/대상/파일}}`
|
||||
`slackcat {{[-c|--channel]}} {{채널_이름}} {{[-n|--filename]}} {{파일_이름}} {{경로/대상/파일}}`
|
||||
|
||||
- 명령 출력을 텍스트 스니펫으로 Slack에 파이프:
|
||||
|
||||
`{{명령어}} | slackcat --channel {{채널_이름}} --filename={{스니펫_이름}}`
|
||||
`{{명령어}} | slackcat {{[-c|--channel]}} {{채널_이름}} {{[-n|--filename]}} {{스니펫_이름}}`
|
||||
|
||||
- 명령 출력을 Slack에 지속적으로 스트리밍:
|
||||
|
||||
`{{명령어}} | slackcat --channel {{채널_이름}} --stream`
|
||||
`{{명령어}} | slackcat {{[-c|--channel]}} {{채널_이름}} {{[-s|--stream]}}`
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
- `sonar-project.properties`가 아닌 다른 구성 파일을 사용하여 프로젝트 스캔:
|
||||
|
||||
`sonar-scanner -D{{project.settings=myproject.properties}}`
|
||||
`sonar-scanner {{[-D|--define]}} {{project.settings=myproject.properties}}`
|
||||
|
||||
- 디버깅 정보 출력:
|
||||
|
||||
`sonar-scanner -X`
|
||||
`sonar-scanner {{[-X|--debug]}}`
|
||||
|
||||
- 도움말 표시:
|
||||
|
||||
`sonar-scanner -h`
|
||||
`sonar-scanner {{[-h|--help]}}`
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
- `.min.js` 파일을 제외한 디렉토리의 보고서 표시:
|
||||
|
||||
`tokei {{경로/대상/폴더}} -e {{*.min.js}}`
|
||||
`tokei {{경로/대상/폴더}} {{[-e|--exclude]}} {{*.min.js}}`
|
||||
|
||||
- 디렉토리 내 개별 파일에 대한 통계 표시:
|
||||
|
||||
`tokei {{경로/대상/폴더}} --files`
|
||||
`tokei {{경로/대상/폴더}} {{[-f|--files]}}`
|
||||
|
||||
- Rust 및 Markdown 유형의 모든 파일에 대한 보고서 표시:
|
||||
|
||||
`tokei {{경로/대상/폴더}} -t={{Rust}},{{Markdown}}`
|
||||
`tokei {{경로/대상/폴더}} {{[-t|--types]}} {{Rust}},{{Markdown}}`
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
- 구성된 저장소의 자격 증명 표시:
|
||||
|
||||
`transcrypt --display`
|
||||
`transcrypt {{[-d|--display]}}`
|
||||
|
||||
- 구성된 저장소의 새 클론을 초기화하고 복호화:
|
||||
|
||||
`transcrypt --cipher={{암호화_알고리즘}}`
|
||||
`transcrypt {{[-c|--cipher]}} {{암호화_알고리즘}}`
|
||||
|
||||
- 암호화 알고리즘이나 암호를 변경하기 위한 키 재설정:
|
||||
|
||||
`transcrypt --rekey`
|
||||
`transcrypt {{[-r|--rekey]}}`
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
- 프롬프트 접두사를 사용자 정의:
|
||||
|
||||
`virtualenv --prompt={{프롬프트_접두사}} {{경로/대상/venv}}`
|
||||
`virtualenv --prompt {{프롬프트_접두사}} {{경로/대상/venv}}`
|
||||
|
||||
- virtualenv에 다른 버전의 Python 사용:
|
||||
|
||||
`virtualenv --python={{경로/대상/pythonbin}} {{경로/대상/venv}}`
|
||||
`virtualenv {{[-p|--python]}} {{경로/대상/pythonbin}} {{경로/대상/venv}}`
|
||||
|
||||
- 환경 시작(선택):
|
||||
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
- `12`개의 스레드를 사용하고 `400`개의 HTTP 연결을 열어 `30`초 동안 벤치마크 실행:
|
||||
|
||||
`wrk -t{{12}} -c{{400}} -d{{30s}} "{{http://127.0.0.1:8080/index.html}}"`
|
||||
`wrk {{[-t|--threads]}} {{12}} {{[-c|--connections]}} {{400}} {{[-d|--duration]}} {{30s}} "{{http://127.0.0.1:8080/index.html}}"`
|
||||
|
||||
- 사용자 지정 헤더를 사용하여 벤치마크 실행:
|
||||
|
||||
`wrk -t{{2}} -c{{5}} -d{{5s}} -H "{{Host: example.com}}" "{{http://example.com/index.html}}"`
|
||||
`wrk {{[-t|--threads]}} {{2}} {{[-c|--connections]}} {{5}} {{[-d|--duration]}} {{5s}} {{[-H|--header]}} "{{Host: example.com}}" "{{http://example.com/index.html}}"`
|
||||
|
||||
- 요청 타임아웃을 `2`초로 설정하여 벤치마크 실행:
|
||||
|
||||
`wrk -t{{2}} -c{{5}} -d{{5s}} --timeout {{2s}} "{{http://example.com/index.html}}"`
|
||||
`wrk {{[-t|--threads]}} {{2}} {{[-c|--connections]}} {{5}} {{[-d|--duration]}} {{5s}} --timeout {{2s}} "{{http://example.com/index.html}}"`
|
||||
|
||||
@@ -9,15 +9,15 @@
|
||||
|
||||
- 진행 정보를 표시하지 않음:
|
||||
|
||||
`gdebi {{경로/대상/패키지.deb}} --quiet`
|
||||
`gdebi {{경로/대상/패키지.deb}} {{[-q|--quiet]}}`
|
||||
|
||||
- APT 구성 옵션 설정:
|
||||
|
||||
`gdebi {{경로/대상/패키지.deb}} --option={{apt_옵션}}`
|
||||
`gdebi {{경로/대상/패키지.deb}} {{[-o|--option]}} {{apt_옵션}}`
|
||||
|
||||
- 대체 루트 디렉토리 사용:
|
||||
|
||||
`gdebi {{경로/대상/패키지.deb}} --root={{경로/대상/루트_폴더}}`
|
||||
`gdebi {{경로/대상/패키지.deb}} --root {{경로/대상/루트_폴더}}`
|
||||
|
||||
- 버전 표시:
|
||||
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
- 지정된 작업 또는 단계에 대해 각 할당된 노드에서 생성된 HDF5 파일 병합:
|
||||
|
||||
`sh5util --jobs={{작업_id|작업_id.단계_id}}`
|
||||
`sh5util {{[-j|--jobs]}} {{작업_id|작업_id.단계_id}}`
|
||||
|
||||
- 병합된 작업 파일에서 하나 이상의 데이터 시리즈 추출:
|
||||
|
||||
`sh5util --jobs={{작업_id|작업_id.단계_id}} --extract -i {{경로/대상/파일.h5}} --series={{Energy|Filesystem|Network|Task}}`
|
||||
`sh5util {{[-j|--jobs]}} {{작업_id|작업_id.단계_id}} {{[-E|--extract]}} {{[-i|--input]}} {{경로/대상/파일.h5}} {{[-s|--series]}} {{Energy|Filesystem|Network|Task}}`
|
||||
|
||||
- 병합된 작업 파일에서 모든 노드의 하나의 데이터 항목 추출:
|
||||
|
||||
`sh5util --jobs={{작업_id|작업_id.단계_id}} --item-extract --series={{Energy|Filesystem|Network|Task}} --data={{데이터_항목}}`
|
||||
`sh5util {{[-j|--jobs]}} {{작업_id|작업_id.단계_id}} {{[-I|--item-extract]}} {{[-s|--series]}} {{Energy|Filesystem|Network|Task}} {{[-d|--data]}} {{데이터_항목}}`
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
- Imprime a representação hexadecimal e ASCII de um arquivo, em duas colunas:
|
||||
|
||||
`hexdump -C {{caminho/para/arquivo}}`
|
||||
`hexdump {{[-C|--canonical]}} {{caminho/para/arquivo}}`
|
||||
|
||||
- Imprime a representação hexadecimal de um arquivo, porém apresentando apenas seus n primeiros bytes:
|
||||
|
||||
`hexdump -C -n{{numero_de_bytes}} {{caminho/para/arquivo}}`
|
||||
`hexdump {{[-C|--canonical]}} {{[-n|--length]}} {{numero_de_bytes}} {{caminho/para/arquivo}}`
|
||||
|
||||
- Imprime a representação hexadecimal completa de um arquivo (sem omitir linhas duplicadas):
|
||||
|
||||
`hexdump --no-squeezing {{caminho/para/arquivo}}`
|
||||
`hexdump {{[-v|--no-squeezing]}} {{caminho/para/arquivo}}`
|
||||
|
||||
Reference in New Issue
Block a user