mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
*: sync Ko pages (#22572)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
- 로그를 계속해서 출력([f]ollow):
|
||||
|
||||
`ddev logs -f`
|
||||
`ddev logs {{[-f|--follow]}}`
|
||||
|
||||
- 컨테이너 내에서 composer를 실행:
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
- 데이터베이스 내보내기:
|
||||
|
||||
`ddev export-db --file={{/tmp/db.sql.gz}}`
|
||||
`ddev export-db {{[-f|--file]}} {{/tmp/db.sql.gz}}`
|
||||
|
||||
- 컨테이너 내에서 특정 명령을 실행:
|
||||
|
||||
|
||||
@@ -6,24 +6,24 @@
|
||||
|
||||
- 지정된 데이터 구성을 사용하여 모든 입력 데이터를 표시:
|
||||
|
||||
`ffe --configuration={{경로/대상/구성.ffe}} {{경로/대상/입력}}`
|
||||
`ffe {{[-c|--configuration]}} {{경로/대상/구성.ffe}} {{경로/대상/입력}}`
|
||||
|
||||
- 입력 파일을 새로운 형식의 출력 파일로 변환:
|
||||
|
||||
`ffe --output={{path/to/output}} -c {{경로/대상/구성.ffe}} {{경로/대상/입력}}`
|
||||
`ffe --output={{path/to/output}} {{[-c|--configuration]}} {{경로/대상/구성.ffe}} {{경로/대상/입력}}`
|
||||
|
||||
- `~/.fferc` 구성 파일의 정의에서 입력 구조 및 출력 형식을 선택:
|
||||
|
||||
`ffe --structure={{structure}} --print={{format}} {{경로/대상/입력}}`
|
||||
`ffe {{[-s|--structure]}} {{structure}} {{[-p|--print]}} {{format}} {{경로/대상/입력}}`
|
||||
|
||||
- 선택한 필드만 작성하기:
|
||||
|
||||
`ffe --field-list="{{FirstName,LastName,Age}}" -c {{경로/대상/구성.ffe}} {{경로/대상/입력}}`
|
||||
`ffe {{[-f|--field-list]}} "{{FirstName,LastName,Age}}" {{[-c|--configuration]}} {{경로/대상/구성.ffe}} {{경로/대상/입력}}`
|
||||
|
||||
- 표현식과 일치하는 레코드만 작성:
|
||||
|
||||
`ffe -e "{{LastName=Smith}}" -c {{경로/대상/구성.ffe}} {{경로/대상/입력}}`
|
||||
`ffe {{[-e|--expression]}} "{{LastName=Smith}}" {{[-c|--configuration]}} {{경로/대상/구성.ffe}} {{경로/대상/입력}}`
|
||||
|
||||
- 도움말 표시:
|
||||
|
||||
`ffe --help`
|
||||
`ffe {{[-?|--help]}}`
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
|
||||
- 도움말 표시:
|
||||
|
||||
`grance help {{[-h|--help]}}`
|
||||
`gcrane help {{[-h|--help]}}`
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
|
||||
- 프로세스 시작 이후 경과한 시간(초)를 표시:
|
||||
|
||||
`{{npm test}} | gnomon --type=elapsed-total`
|
||||
`{{npm test}} | gnomon {{[-t|--type]}} elapsed-total`
|
||||
|
||||
- UTC로 절대 타임스탬프를 표시:
|
||||
|
||||
`{{npm test}} | gnomon --type=absolute`
|
||||
`{{npm test}} | gnomon {{[-t|--type]}} absolute`
|
||||
|
||||
- 0.5초의 높은 임계값을 사용, 이 값을 초과하면 타임스탬프가 밝은 빨간색으로 표시됨:
|
||||
|
||||
`{{npm test}} | gnomon --high 0.5`
|
||||
`{{npm test}} | gnomon {{[-h|--high]}} 0.5`
|
||||
|
||||
- 0.2초의 중간 임계값을 사용, 이를 초과하면 타임스탬프가 밝은 노란색으로 표시됨:
|
||||
|
||||
`{{npm test}} | gnomon --medium {{0.2}}`
|
||||
`{{npm test}} | gnomon {{[-m|--medium]}} 0.2`
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
|
||||
- 파일을 처리하기 전에 매크로 정의:
|
||||
|
||||
`m4 -D{{매크로_이름}}={{매크로_값}} {{경로/대상/파일}}`
|
||||
`m4 {{[-D|--define]}} {{매크로_이름}}={{매크로_값}} {{경로/대상/파일}}`
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
- 현재 디렉토리에서 대소문자를 무시하고 재귀적으로 검색:
|
||||
|
||||
`ned --ignore-case --recursive '{{^[dl]og}}' {{.}}`
|
||||
`ned {{[-i|--ignore-case]}} {{[-R|--recursive]}} '{{^[dl]og}}' {{.}}`
|
||||
|
||||
- 항상 색상 출력으로 검색:
|
||||
|
||||
@@ -14,24 +14,24 @@
|
||||
|
||||
- 색상 출력을 사용하지 않고 검색:
|
||||
|
||||
`ned --colors=never '{{^[dl]og}}' {{.}}`
|
||||
`ned --colors never '{{^[dl]og}}' {{.}}`
|
||||
|
||||
- 특정 파일을 무시하고 검색:
|
||||
|
||||
`ned --recursive --exclude '{{*.htm}}' '{{^[dl]og}}' {{.}}`
|
||||
`ned {{[-R|--recursive]}} --exclude '{{*.htm}}' '{{^[dl]og}}' {{.}}`
|
||||
|
||||
- 간단한 치환:
|
||||
|
||||
`ned '{{dog}}' --replace '{{cat}}' {{.}}`
|
||||
`ned '{{dog}}' {{[-r|--replace]}} '{{cat}}' {{.}}`
|
||||
|
||||
- 번호가 매겨진 그룹 참조를 사용한 치환:
|
||||
|
||||
`ned '{{the ([a-z]+) dog and the ([a-z]+) dog}}' --replace '{{the $2 dog and the $1 dog}}' {{.}}`
|
||||
`ned '{{the ([a-z]+) dog and the ([a-z]+) dog}}' {{[-r|--replace]}} '{{the $2 dog and the $1 dog}}' {{.}}`
|
||||
|
||||
- 대소문자를 변경하여 치환:
|
||||
|
||||
`ned '{{([a-z]+) dog}}' --case-replacements --replace '{{\U$1\E! dog}}' --stdout {{.}}`
|
||||
`ned '{{([a-z]+) dog}}' --case-replacements {{[-r|--replace]}} '{{\U$1\E! dog}}' --stdout {{.}}`
|
||||
|
||||
- 대상 파일을 업데이트하지 않고 찾기 및 바꾸기 결과 미리 보기:
|
||||
|
||||
`ned '{{^[sb]ad}}' --replace '{{happy}}' --stdout {{.}}`
|
||||
`ned '{{^[sb]ad}}' {{[-r|--replace]}} '{{happy}}' --stdout {{.}}`
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
- 최상의 압축으로 PNG 압축:
|
||||
|
||||
`optipng -o{{7}} {{경로/대상/파일.png}}`
|
||||
`optipng -o {{7}} {{경로/대상/파일.png}}`
|
||||
|
||||
- 가장 빠른 압축으로 PNG 압축:
|
||||
|
||||
`optipng -o{{0}} {{경로/대상/파일.png}}`
|
||||
`optipng -o {{0}} {{경로/대상/파일.png}}`
|
||||
|
||||
- PNG를 압축하고 인터레이싱 추가:
|
||||
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
|
||||
- 구분 기호를 ','로 지정하여 CSV 파일 쿼리:
|
||||
|
||||
`q -d',' "SELECT * from {{경로/대상/파일}}"`
|
||||
`q {{[-d|--delimiter]}} ',' "SELECT * from {{경로/대상/파일}}"`
|
||||
|
||||
- TSV 파일 쿼리:
|
||||
|
||||
`q -t "SELECT * from {{경로/대상/파일}}"`
|
||||
`q {{[-t|--tab-delimited]}} "SELECT * from {{경로/대상/파일}}"`
|
||||
|
||||
- 헤더 행이 있는 파일 쿼리:
|
||||
|
||||
`q -d{{구분자}} -H "SELECT * from {{경로/대상/파일}}"`
|
||||
`q {{[-d|--delimiter]}} {{구분자}} {{[-H|--skip-header]}} "SELECT * from {{경로/대상/파일}}"`
|
||||
|
||||
- `stdin`에서 데이터 읽기; 쿼리에서 '-'는 `stdin`의 데이터를 나타냄:
|
||||
|
||||
@@ -25,4 +25,4 @@
|
||||
|
||||
- 출력 구분자와 출력 헤더 행을 사용하여 출력 형식 지정 (참고: 명령은 입력 파일 헤더 또는 쿼리에서 재정의된 열 별칭에 기반하여 열 이름 출력):
|
||||
|
||||
`q -D{{구분자}} -O "SELECT {{열}} as {{별칭}} from {{경로/대상/파일}}"`
|
||||
`q {{[-D|--output-delimiter]}} {{구분자}} {{[-O|--output-header]}} "SELECT {{열}} as {{별칭}} from {{경로/대상/파일}}"`
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
- DNS 설정 표시:
|
||||
|
||||
`resolvectl status`
|
||||
`resolvectl`
|
||||
|
||||
- 하나 이상의 도메인에 대한 IPv4 및 IPv6 주소 해석:
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
- 도메인의 MX 레코드 검색:
|
||||
|
||||
`resolvectl --legend={{no}} --type={{MX}} query {{도메인}}`
|
||||
`resolvectl --legend {{no}} {{[-t|--type]}} {{MX}} query {{도메인}}`
|
||||
|
||||
- 예를 들어 _xmpp-server._tcp gmail.com와 같은 SRV 레코드 해석:
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
- 다양한 속성으로 대화형 작업 제출:
|
||||
|
||||
`srun --ntasks-per-node={{코어_수}} --mem-per-cpu={{메모리_MB}} --pty /bin/bash`
|
||||
`srun --ntasks-per-node {{코어_수}} --mem-per-cpu {{메모리_MB}} --pty /bin/bash`
|
||||
|
||||
- 작업이 실행 중인 워커 노드에 연결:
|
||||
|
||||
`srun --jobid={{작업_id}} --pty /bin/bash`
|
||||
`srun --jobid {{작업_id}} --pty /bin/bash`
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
- 쉼표로 구분된 작업 목록의 상태 정보를 표시:
|
||||
|
||||
`sstat --jobs={{작업_id}}`
|
||||
`sstat {{[-j|--jobs]}} {{작업_id}}`
|
||||
|
||||
- 쉼표로 구분된 작업 목록의 작업 ID, 평균 CPU 및 평균 가상 메모리 크기를 파이프로 구분하여 표시:
|
||||
|
||||
`sstat --parsable --jobs={{작업_id}} --format={{JobID,AveCPU,AveVMSize}}`
|
||||
`sstat {{[-p|--parsable]}} {{[-j|--jobs]}} {{작업_id}} {{[-o|--format]}} {{JobID,AveCPU,AveVMSize}}`
|
||||
|
||||
- 사용 가능한 필드 목록 표시:
|
||||
|
||||
`sstat --helpformat`
|
||||
`sstat {{[-e|--helpformat]}}`
|
||||
|
||||
@@ -5,23 +5,23 @@
|
||||
|
||||
- 호스트 시스템의 루트 디렉토리 대신 지정된 디렉토리에서 작동:
|
||||
|
||||
`sudo systemd-firstboot --root={{경로/대상/루트_디렉토리}}`
|
||||
`sudo systemd-firstboot --root {{경로/대상/루트_디렉토리}}`
|
||||
|
||||
- 시스템 키보드 레이아웃 설정:
|
||||
|
||||
`sudo systemd-firstboot --keymap={{키맵}}`
|
||||
`sudo systemd-firstboot --keymap {{키맵}}`
|
||||
|
||||
- 시스템 호스트명 설정:
|
||||
|
||||
`sudo systemd-firstboot --hostname={{호스트명}}`
|
||||
`sudo systemd-firstboot --hostname {{호스트명}}`
|
||||
|
||||
- 루트 사용자의 비밀번호 설정:
|
||||
|
||||
`sudo systemd-firstboot --root-password={{비밀번호}}`
|
||||
`sudo systemd-firstboot --root-password {{비밀번호}}`
|
||||
|
||||
- 특정 기본 설정을 사용자에게 인터랙티브하게 요청:
|
||||
|
||||
`sudo systemd-firstboot --prompt={{설정}}`
|
||||
`sudo systemd-firstboot --prompt {{설정}}`
|
||||
|
||||
- 관련 파일이 이미 존재해도 강제로 설정 작성:
|
||||
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
- systemd에 사용자 정의 상태 메시지 제공 (`systemctl status`에 의해 표시됨):
|
||||
|
||||
`systemd-notify --status="{{여기에 사용자 정의 상태 메시지를 추가하세요...}}"`
|
||||
`systemd-notify --status "{{여기에 사용자 정의 상태 메시지를 추가하세요...}}"`
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
- 컨테이너에서 명령 실행:
|
||||
|
||||
`systemd-nspawn --directory {{경로/대상/컨테이너_루트}}`
|
||||
`systemd-nspawn {{[-D|--directory]}} {{경로/대상/컨테이너_루트}}`
|
||||
|
||||
- 컨테이너에서 전체 Linux 기반 운영 체제 실행:
|
||||
|
||||
`systemd-nspawn --boot --directory {{경로/대상/컨테이너_루트}}`
|
||||
`systemd-nspawn {{[-b|--boot]}} {{[-D|--directory]}} {{경로/대상/컨테이너_루트}}`
|
||||
|
||||
- 지정된 명령을 컨테이너에서 PID 2로 실행 (PID 1 대신)하고, 초기화 프로세스 스텁 사용:
|
||||
|
||||
`systemd-nspawn --directory {{경로/대상/컨테이너_루트}} --as-pid2`
|
||||
`systemd-nspawn {{[-D|--directory]}} {{경로/대상/컨테이너_루트}} {{[-a|--as-pid2]}}`
|
||||
|
||||
- 머신 이름과 호스트 이름 지정:
|
||||
|
||||
`systemd-nspawn --machine={{컨테이너_이름}} --hostname={{컨테이너_호스트}} --directory {{경로/대상/컨테이너_루트}}`
|
||||
`systemd-nspawn {{[-M|--machine]}} {{컨테이너_이름}} --hostname {{컨테이너_호스트}} {{[-D|--directory]}} {{경로/대상/컨테이너_루트}}`
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
|
||||
- 지정된 X, Y 좌표에 소를 표시:
|
||||
|
||||
`xcowsay --at={{X}},{{Y}}`
|
||||
`xcowsay --at {{X}},{{Y}}`
|
||||
|
||||
- 다른 크기의 소를 표시:
|
||||
|
||||
`xcowsay --cow-size={{small|med|large}}`
|
||||
`xcowsay --cow-size {{small|med|large}}`
|
||||
|
||||
- 말풍선 대신 생각풍선을 표시:
|
||||
|
||||
@@ -26,4 +26,4 @@
|
||||
|
||||
- 기본 소 대신 다른 이미지를 표시:
|
||||
|
||||
`xcowsay --image={{경로/대상/파일}}`
|
||||
`xcowsay --image {{경로/대상/파일}}`
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
- "Hello!"라는 텍스트를 표시하는 정보 대화 상자 표시:
|
||||
|
||||
`zenity --info --text="{{Hello!}}"`
|
||||
`zenity --info --text "{{Hello!}}"`
|
||||
|
||||
- 이름/비밀번호 입력 폼을 표시하고 데이터를 ";"로 구분하여 출력:
|
||||
|
||||
`zenity --forms --add-entry="{{이름}}" --add-password="{{비밀번호}}" --separator="{{;}}"`
|
||||
`zenity --forms --add-entry "{{이름}}" --add-password "{{비밀번호}}" --separator ";"`
|
||||
|
||||
- 사용자가 디렉토리만 선택할 수 있는 파일 선택 폼 표시:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user