Skip to content

Commit

Permalink
cancel, chatgpt, cheat, cheatshh, checkov, checksec, chezmoi: add Korโ€ฆ
Browse files Browse the repository at this point in the history
โ€ฆean translation (tldr-pages#13912)
  • Loading branch information
IMHOJEONG authored Sep 30, 2024
1 parent 1f74aec commit 7531f2d
Show file tree
Hide file tree
Showing 7 changed files with 192 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pages.ko/common/cancel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# cancel

> ํ”„๋ฆฐํŠธ ์ž‘์—… ์ทจ์†Œ.
> ์ฐธ๊ณ : `lp`, `lpmove`, `lpstat`.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://openprinting.github.io/cups/doc/man-cancel.html>.
- ๊ธฐ๋ณธ ํ”„๋ฆฐํ„ฐ์˜ ํ˜„์žฌ ์ž‘์—…์„ ์ทจ์†Œ (`lpoptions -d {{printer}}`๋กœ ์„ค์ •):

`cancel`

- ํŠน์ • ์‚ฌ์šฉ์ž([u]ser)๊ฐ€ ์†Œ์œ ํ•œ ๊ธฐ๋ณธ ํ”„๋ฆฐํ„ฐ์˜ ์ž‘์—…์„ ์ทจ์†Œ:

`cancel -u {{์‚ฌ์šฉ์ž๋ช…}}`

- ํŠน์ • ํ”„๋ฆฐํ„ฐ์˜ ํ˜„์žฌ ์ž‘์—…์„ ์ทจ์†Œ:

`cancel {{ํ”„๋ฆฐํ„ฐ}}`

- ํŠน์ • ํ”„๋ฆฐํ„ฐ์—์„œ ํŠน์ • ์ž‘์—…์„ ์ทจ์†Œ:

`cancel {{ํ”„๋ฆฐํ„ฐ}}-{{์ž‘์—…_์•„์ด๋””}}`

- ๋ชจ๋“  ํ”„๋ฆฐํ„ฐ์˜ ๋ชจ๋“ ([a]ll) ์ž‘์—…์„ ์ทจ์†Œ:

`cancel -a`

- ํŠน์ • ํ”„๋ฆฐํ„ฐ์˜ ๋ชจ๋“ ([a]ll) ์ž‘์—…์„ ์ทจ์†Œ:

`cancel -a {{ํ”„๋ฆฐํ„ฐ}}`

- ํŠน์ • ์„œ๋ฒ„์˜ ํ˜„์žฌ ์ž‘์—…์„ ์ทจ์†Œํ•œ ๋‹ค์Œ ์ž‘์—… ๋ฐ์ดํ„ฐ ํŒŒ์ผ์„ ์‚ญ์ œ([x]):

`cancel -h {{์„œ๋ฒ„}} -x`
28 changes: 28 additions & 0 deletions pages.ko/common/chatgpt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# chatgpt

> ํ„ฐ๋ฏธ๋„์—์„œ OpenAI์˜ ChatGPT ๋ฐ DALL-E๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•œ ์‰˜ ์Šคํฌ๋ฆฝํŠธ.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://github.com/0xacx/chatGPT-shell-cli>.
- ์ฑ„ํŒ… ๋ชจ๋“œ์—์„œ ์‹œ์ž‘:

`chatgpt`

- ๋‹ค์Œ ์งˆ๋ฌธ์— ๋‹ตํ•˜๋„๋ก ํ”„๋กฌํ”„ํŠธ([p]rompt)๋ฅผ ์ œ๊ณต:

`chatgpt --prompt "{{์ด๋ฉ”์ผ ์ฃผ์†Œ์™€ ์ผ์น˜ํ•˜๋Š” ์ •๊ทœ์‹์€ ๋ฌด์—‡์ž…๋‹ˆ๊ฐ€?}}"`

- ํŠน์ • ๋ชจ๋ธ([m]odel)์„ ์‚ฌ์šฉํ•˜์—ฌ ์ฑ„ํŒ… ๋ชจ๋“œ์—์„œ ์‹œ์ž‘(๊ธฐ๋ณธ๊ฐ’์€ `gpt-3.5-turbo`์ž…๋‹ˆ๋‹ค):

`chatgpt --model {{gpt-4}}`

- ์ดˆ๊ธฐ([i]nitial) ํ”„๋กฌํ”„ํŠธ๋กœ ์ฑ„ํŒ… ๋ชจ๋“œ๋ฅผ ์‹œ์ž‘:

`chatgpt --init-prompt "{{๋‹น์‹ ์€ Rick๊ณผ Morty์˜ Rick์ž…๋‹ˆ๋‹ค. ๊ทธ์˜ ๋งค๋„ˆ๋ฆฌ์ฆ˜์„ ์‚ฌ์šฉํ•˜์—ฌ ์งˆ๋ฌธ์— ์‘๋‹ตํ•˜๊ณ  ๋ชจ์š•์ ์ธ ๋†๋‹ด์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.}}"`

- ๋ช…๋ น ๊ฒฐ๊ณผ๋ฅผ `chatgpt`์— ํ”„๋กฌํ”„ํŠธ๋กœ ํŒŒ์ดํ”„:

`echo "{{Ubuntu์—์„œ ์‹คํ–‰์ค‘์ธ ํ”„๋กœ์„ธ์Šค๋ฅผ ๋ณด๋Š” ๋ฐฉ๋ฒ•?}}" | chatgpt`

- DALL-E๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€๋ฅผ ์ƒ์„ฑ:

`chatgpt --prompt "{{image: A white cat}}"`
24 changes: 24 additions & 0 deletions pages.ko/common/cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# cheat

> ๋Œ€ํ™”ํ˜• ์น˜ํŠธ ์‹œํŠธ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ๋ด…๋‹ˆ๋‹ค.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://github.com/cheat/cheat>.
- ๋ช…๋ น์–ด ์‚ฌ์šฉ๋ฒ•์˜ ์˜ˆ๋ฅผ ๋ณด์—ฌ์คŒ:

`cheat {{๋ช…๋ น์–ด}}`

- ๋ช…๋ น์–ด์— ๋Œ€ํ•œ ์น˜ํŠธ ์‹œํŠธ๋ฅผ ํŽธ์ง‘:

`cheat -e {{๋ช…๋ น์–ด}}`

- ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์น˜ํŠธ ์‹œํŠธ ๋ชฉ๋ก:

`cheat -l`

- ์ง€์ •๋œ ๋ช…๋ น์–ด ์ด๋ฆ„์— ๋Œ€ํ•œ ์น˜ํŠธ ์‹œํŠธ๋ฅผ ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ์Œ:

`cheat -s {{๋ช…๋ น์–ด}}`

- ๋ฒ„์ „ ์ •๋ณด ํ‘œ์‹œ:

`cheat -v`
33 changes: 33 additions & 0 deletions pages.ko/common/cheatshh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# cheatshh

> ์ฐธ์กฐํ•  ์ˆ˜ ์žˆ๋„๋ก ์‚ฌ์šฉ์ž ์ •์˜๋œ ์„ค๋ช…, tldr ๋ฐ ๊ทธ๋ฃน์ด ํฌํ•จ๋œ CLI ์น˜ํŠธ์‹œํŠธ.
> Enter ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ ๋ช…๋ น์„ ํด๋ฆฝ๋ณด๋“œ์— ๋ณต์‚ฌํ•˜๊ณ  ์ข…๋ฃŒ.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://github.com/AnirudhG07/cheatshh>.
- ์น˜ํŠธ์‹œํŠธ์— ์ƒˆ๋กœ์šด ๋ช…๋ น ์ถ”๊ฐ€([a]dd):

`cheatshh --add`

- ์น˜ํŠธ์‹œํŠธ์—์„œ ๊ธฐ์กด ๋ช…๋ น์˜ ์„ค๋ช…์ด๋‚˜ ๊ทธ๋ฃน์„ ํŽธ์ง‘([ec]):

`cheatshh --edit-command`

- ์น˜ํŠธ์‹œํŠธ์—์„œ ๊ธฐ์กด ๋ช…๋ น์„ ์‚ญ์ œ([dc]):

`cheatshh --delete-command`

- ์ƒˆ๋กœ์šด ๊ทธ๋ฃน([g]roup) ์ƒ์„ฑ:

`cheatshh --group`

- ์น˜ํŠธ์‹œํŠธ์—์„œ ๊ธฐ์กด ๊ทธ๋ฃน์˜ ์ด๋ฆ„์ด๋‚˜ ์„ค๋ช…์„ ํŽธ์ง‘([eg]):

`cheatshh --edit-group`

- ๊ธฐ์กด ๊ทธ๋ฃน์„ ์‚ญ์ œ([dg])ํ•˜๊ณ  commands.json ํŒŒ์ผ์—์„œ ํ•ด๋‹น ํ•˜์œ„ ๋ช…๋ น์„ ์‚ญ์ œ:

`cheatshh --delete-group`

- ๋ฏธ๋ฆฌ๋ณด๊ธฐ์—์„œ tldr ๋’ค์— [m]๊ฐœ์˜ ํŽ˜์ด์ง€๋ฅผ ํ‘œ์‹œ:

`cheatshh --man`
17 changes: 17 additions & 0 deletions pages.ko/common/checkov.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# checkov

> Checkov๋Š” IaC(Infrastructure as Code)๋ฅผ ์œ„ํ•œ ์ •์  ์ฝ”๋“œ ๋ถ„์„ ๋„๊ตฌ.
> ์ด๋ฏธ์ง€ ๋ฐ ์˜คํ”ˆ์†Œ์Šค ํŒจํ‚ค์ง€๋ฅผ ์œ„ํ•œ SCA(์†Œํ”„ํŠธ์›จ์–ด ๊ตฌ์„ฑ ๋ถ„์„) ๋„๊ตฌ.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://www.checkov.io/1.Welcome/Quick%20Start.html>.
- IaC(Terraform, Cloudformation, ARM, Ansible, Bicep, Dockerfile ๋“ฑ)๊ฐ€ ํฌํ•จ๋œ ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ์Šค์บ”:

`checkov --directory {{๊ฒฝ๋กœ/๋Œ€์ƒ/๋””๋ ‰ํ„ฐ๋ฆฌ}}`

- ์ถœ๋ ฅ์—์„œ ์ฝ”๋“œ ๋ธ”๋ก์„ ์ƒ๋žตํ•˜๊ณ  IaC ํŒŒ์ผ์„ ์Šค์บ”:

`checkov --compact --file {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํŒŒ์ผ}}`

- ๋ชจ๋“  IaC ์œ ํ˜•์— ๋Œ€ํ•œ ๋ชจ๋“  ๊ฒ€์‚ฌ๋ฅผ ๋‚˜์—ด:

`checkov --list`
20 changes: 20 additions & 0 deletions pages.ko/common/checksec.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# checksec

> ์‹คํ–‰ ํŒŒ์ผ์˜ ๋ณด์•ˆ ์†์„ฑ์„ ํ™•์ธ.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://github.com/slimm609/checksec.sh>.
- ์‹คํ–‰ ๊ฐ€๋Šฅํ•œ ๋ฐ”์ด๋„ˆ๋ฆฌ ํŒŒ์ผ์˜ ๋ณด์•ˆ ์†์„ฑ์„ ํ™•์ธ:

`checksec --file={{๊ฒฝ๋กœ/๋Œ€์ƒ/๋ฐ”์ด๋„ˆ๋ฆฌ}}`

- ๋””๋ ‰ํ„ฐ๋ฆฌ์— ์žˆ๋Š” ๋ชจ๋“  ์‹คํ–‰ ํŒŒ์ผ์˜ ๋ณด์•ˆ ์†์„ฑ์„ ๋ฐ˜๋ณต์ ์œผ๋กœ ๋‚˜์—ด:

`checksec --dir={{๊ฒฝ๋กœ/๋Œ€์ƒ/๋””๋ ‰ํ„ฐ๋ฆฌ}}`

- ํ”„๋กœ์„ธ์Šค์˜ ๋ณด์•ˆ ์†์„ฑ์„ ๋‚˜์—ด:

`checksec --proc={{pid}}`

- ์‹คํ–‰ ์ค‘์ธ ์ปค๋„์˜ ๋ณด์•ˆ ์†์„ฑ์„ ๋‚˜์—ด:

`checksec --kernel`
37 changes: 37 additions & 0 deletions pages.ko/common/chezmoi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Chezmoi

> Go๋กœ ์ž‘์„ฑ๋œ, ๋‹ค์ค‘ ๋จธ์‹  ๋„ํŠธํŒŒ์ผ ๊ด€๋ฆฌ์ž.
> ์ฐธ๊ณ : `stow`, `tuckr`, `vcsh`, `homeshick`.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://chezmoi.io>.
- `chezmoi`๋ฅผ ์„ค์ •ํ•˜๊ณ , `~/.local/share/chezmoi`์— Git ์ €์žฅ์†Œ๋ฅผ ๋งŒ๋“ฌ:

`chezmoi init`

- Git ์ €์žฅ์†Œ์˜ ๊ธฐ์กด ๋„ํŠธ ํŒŒ์ผ์—์„œ `chezmoi`๋ฅผ ์„ค์ •:

`chezmoi init {{๋ ˆํฌ์ง€ํ† ๋ฆฌ_์ฃผ์†Œ}}`

- ํ•˜๋‚˜ ์ด์ƒ์˜ ๋„ํŠธ ํŒŒ์ผ ์ถ”์ ์„ ์‹œ์ž‘:

`chezmoi add {{๊ฒฝ๋กœ/๋Œ€์ƒ/๋„ํŠธํŒŒ์ผ1 ๊ฒฝ๋กœ/๋Œ€์ƒ/๋„ํŠธํŒŒ์ผ2 ...}}`

- ๋กœ์ปฌ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์œผ๋กœ ์ €์žฅ์†Œ ์—…๋ฐ์ดํŠธ:

`chezmoi re-add {{๊ฒฝ๋กœ/๋Œ€์ƒ/๋„ํŠธํŒŒ์ผ1 ๊ฒฝ๋กœ/๋Œ€์ƒ/๋„ํŠธํŒŒ์ผ2 ...}}`

- ์ถ”์ ๋œ ๋„ํŠธํŒŒ์ผ์˜ ์†Œ์Šค ์ƒํƒœ๋ฅผ ํŽธ์ง‘:

`chezmoi edit {{๊ฒฝ๋กœ/๋Œ€์ƒ/๋„ํŠธํŒŒ์ผ_๋˜๋Š”_์‹ฌ๋ณผ๋ฆญ๋งํฌ}}`

- ๋Œ€๊ธฐ ์ค‘์ธ ๋ณ€๊ฒฝ์‚ฌํ•ญ ๋ณด๊ธฐ:

`chezmoi diff`

- ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์ ์šฉ:

`chezmoi -v apply`

- ์›๊ฒฉ ์ €์žฅ์†Œ์—์„œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๊ฐ€์ ธ์™€ ์ ์šฉ:

`chezmoi update`

0 comments on commit 7531f2d

Please sign in to comment.