Skip to content

Commit

Permalink
Merge branch 'tldr-pages:main' into linux_top_100_thai
Browse files Browse the repository at this point in the history
  • Loading branch information
kengggg authored Jun 24, 2024
2 parents f664e52 + ff65421 commit fc7e42e
Show file tree
Hide file tree
Showing 60 changed files with 1,081 additions and 30 deletions.
25 changes: 25 additions & 0 deletions pages.es/common/toipe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# toipe

> Otra prueba de tipeo, pero con sabor a cangrejo.
> Un confiable evaluador de tipeo de terminal.
> Mรกs informaciรณn: <https://github.com/Samyak2/toipe>.
- Inicia el examen de tipeo con la lista de palabras por defecto:

`toipe`

- Usa una lista de palabras especรญfica:

`toipe {{-w|--wordlist}} {{nombre_de_la_lista}}`

- Utiliza una lista de palabras personalizada:

`toipe {{-f|--file}} {{ruta/al/archivo}}`

- Especifique el nรบmero de palabras de cada prueba:

`toipe {{-n|--num}} {{nรบmero_de_palabras}}`

- Incluya signos de puntuaciรณn:

`toipe {{-p|--punctuation}}`
17 changes: 17 additions & 0 deletions pages.es/linux/systool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# systool

> Vea informaciรณn de dispositivos del sistema por bus, y clases.
> Este comando es parte del paquete `sysfs`.
> Mรกs informaciรณn: <https://github.com/linux-ras/sysfsutils>.
- Lista todos los atributos de los dispositivos de un bus (ej. `pci`, `usb`). Vea todos los buses usando `ls /sys/bus`:

`systool -b {{bus}} -v`

- Lista todos los atributos de una clase de dispositivos (ej. `drm`, `block`). Vea todas las clases usando `ls /sys/class`:

`systool -c {{clase}} -v`

- Mostrar solo los controladores de un bus (ej. `pci`, `usb`):

`systool -b {{bus}} -D`
32 changes: 32 additions & 0 deletions pages.ko/freebsd/cal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# cal

> ํ˜„์žฌ ๋‚ ์งœ๊ฐ€ ๊ฐ•์กฐ๋œ ๋‹ฌ๋ ฅ์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://man.freebsd.org/cgi/man.cgi?cal>.
- ํ˜„์žฌ ์›”์˜ ๋‹ฌ๋ ฅ ํ‘œ์‹œ:

`cal`

- ํŠน์ • ์—ฐ๋„์˜ ๋‹ฌ๋ ฅ ํ‘œ์‹œ:

`cal {{์—ฐ๋„}}`

- ํŠน์ • ์›”๊ณผ ์—ฐ๋„์˜ ๋‹ฌ๋ ฅ ํ‘œ์‹œ:

`cal {{์›”}} {{์—ฐ๋„}}`

- ํ˜„์žฌ ์—ฐ๋„์˜ ์ „์ฒด ๋‹ฌ๋ ฅ ํ‘œ์‹œ:

`cal -y`

- ์˜ค๋Š˜์„ ๊ฐ•์กฐํ•˜์ง€ ์•Š๊ณ  ๋‚ ์งœ๋ฅผ ์ค‘์‹ฌ์œผ๋กœ [3]๊ฐœ์›” ํ‘œ์‹œ:

`cal -h -3 {{์›”}} {{์—ฐ๋„}}`

- ํ˜„์žฌ ์—ฐ๋„์˜ ํŠน์ • ์›”์˜ ์ด์ „ 2๊ฐœ์›”๊ณผ ์ดํ›„ 3๊ฐœ์›” ํ‘œ์‹œ:

`cal -A 3 -B 2 {{์›”}}`

- ์œจ๋ฆฌ์šฐ์Šค๋ ฅ ๋‚ ์งœ ํ‘œ์‹œ (1๋ถ€ํ„ฐ ์‹œ์ž‘ํ•˜์—ฌ 1์›” 1์ผ๋ถ€ํ„ฐ ๋ฒˆํ˜ธ ๋งค๊น€):

`cal -j`
7 changes: 7 additions & 0 deletions pages.ko/freebsd/chfn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chfn

> ์ด ๋ช…๋ น์–ด๋Š” `chpass`์˜ ์—์ผ๋ฆฌ์–ด์Šค (๋ณ„์นญ) ์ž…๋‹ˆ๋‹ค.
- ์›๋ณธ ๋ช…๋ น์˜ ๋„ํ๋ฉ˜ํ…Œ์ด์…˜ (์„ค๋ช…์„œ) ๋ณด๊ธฐ:

`tldr chpass`
33 changes: 33 additions & 0 deletions pages.ko/freebsd/chpass.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# chpass

> ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ •๋ณด, ๋กœ๊ทธ์ธ ์‰˜ ๋ฐ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.
> ๊ฐ™์ด ๋ณด๊ธฐ: `passwd`.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://man.freebsd.org/cgi/man.cgi?chpass>.
- ํ˜„์žฌ ์‚ฌ์šฉ์ž์˜ ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ •๋ณด๋ฅผ ๋Œ€ํ™”์‹์œผ๋กœ ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ๋ณ€๊ฒฝ:

`su -c chpass`

- ํ˜„์žฌ ์‚ฌ์šฉ์ž์˜ ๋กœ๊ทธ์ธ ์‰˜ ์„ค์ •:

`chpass -s {{๊ฒฝ๋กœ/๋Œ€์ƒ/์‰˜}}`

- ํŠน์ • ์‚ฌ์šฉ์ž์˜ ๋กœ๊ทธ์ธ ์‰˜ ์„ค์ •:

`chpass -s {{๊ฒฝ๋กœ/๋Œ€์ƒ/์‰˜}} {{์‚ฌ์šฉ์ž๋ช…}}`

- ๊ณ„์ • ๋งŒ๋ฃŒ ์‹œ๊ฐ„ ๋ณ€๊ฒฝ (์—ํฌํฌ๋กœ๋ถ€ํ„ฐ ์ดˆ ๋‹จ์œ„, UTC):

`su -c 'chpass -e {{์‹œ๊ฐ„}} {{์‚ฌ์šฉ์ž๋ช…}}'`

- ์‚ฌ์šฉ์ž ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณ€๊ฒฝ:

`su -c 'chpass -p {{์•”ํ˜ธํ™”๋œ_๋น„๋ฐ€๋ฒˆํ˜ธ}} {{์‚ฌ์šฉ์ž๋ช…}}'`

- ์กฐํšŒํ•  NIS ์„œ๋ฒ„์˜ ํ˜ธ์ŠคํŠธ๋ช… ๋˜๋Š” ์ฃผ์†Œ ์ง€์ •:

`su -c 'chpass -h {{ํ˜ธ์ŠคํŠธ๋ช…}} {{์‚ฌ์šฉ์ž๋ช…}}'`

- ํŠน์ • NIS ๋„๋ฉ”์ธ ์ง€์ • (๊ธฐ๋ณธ๊ฐ’์€ ์‹œ์Šคํ…œ ๋„๋ฉ”์ธ ์ด๋ฆ„):

`su -c 'chpass -d {{๋„๋ฉ”์ธ}} {{์‚ฌ์šฉ์ž๋ช…}}'`
7 changes: 7 additions & 0 deletions pages.ko/freebsd/chsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chsh

> ์ด ๋ช…๋ น์–ด๋Š” `chpass`์˜ ์—์ผ๋ฆฌ์–ด์Šค (๋ณ„์นญ) ์ž…๋‹ˆ๋‹ค.
- ์›๋ณธ ๋ช…๋ น์˜ ๋„ํ๋ฉ˜ํ…Œ์ด์…˜ (์„ค๋ช…์„œ) ๋ณด๊ธฐ:

`tldr chpass`
32 changes: 32 additions & 0 deletions pages.ko/freebsd/df.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# df

> ํŒŒ์ผ ์‹œ์Šคํ…œ ๋””์Šคํฌ ๊ณต๊ฐ„ ์‚ฌ์šฉ๋Ÿ‰ ๊ฐœ์š”๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://man.freebsd.org/cgi/man.cgi?df>.
- 512๋ฐ”์ดํŠธ ๋‹จ์œ„๋กœ ๋ชจ๋“  ํŒŒ์ผ ์‹œ์Šคํ…œ๊ณผ ๋””์Šคํฌ ์‚ฌ์šฉ๋Ÿ‰ ํ‘œ์‹œ:

`df`

- [h]uman-readable(1024์˜ ๊ฑฐ๋“ญ์ œ๊ณฑ์— ๊ธฐ๋ฐ˜ํ•œ) ๋‹จ์œ„๋ฅผ ์‚ฌ์šฉํ•ด ์ดํ•ฉ ํ‘œ์‹œ:

`df -h -c`

- [H]uman-readable(1000์˜ ๊ฑฐ๋“ญ์ œ๊ณฑ์— ๊ธฐ๋ฐ˜ํ•œ) ๋‹จ์œ„ ์‚ฌ์šฉ:

`df -{{-si|H}}`

- ์ฃผ์–ด์ง„ ํŒŒ์ผ ๋˜๋Š” ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ํฌํ•จํ•˜๋Š” ํŒŒ์ผ ์‹œ์Šคํ…œ ๋ฐ ๋””์Šคํฌ ์‚ฌ์šฉ๋Ÿ‰ ํ‘œ์‹œ:

`df {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํŒŒ์ผ_๋˜๋Š”_ํด๋”}}`

- [i]๋…ธ๋“œ์˜ ์ˆ˜ ๋ฐ ์‚ฌ์šฉ๋œ ๋…ธ๋“œ ์ˆ˜๋ฅผ ํฌํ•จํ•ด ํŒŒ์ผ ์‹œ์Šคํ…œ [T]ypes์— ๋Œ€ํ•œ ํ†ต๊ณ„ ํฌํ•จ:

`df -iT`

- ๊ณต๊ฐ„ ๊ฐ’์„ ์“ธ ๋•Œ 1024๋ฐ”์ดํŠธ ๋‹จ์œ„ ์‚ฌ์šฉํ•˜๊ธฐ:

`df -k`

- [P]ortableํ•œ ๋ฐฉ์‹์œผ๋กœ ์ •๋ณด ํ‘œ์‹œ:

`df -P`
21 changes: 21 additions & 0 deletions pages.ko/freebsd/look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# look

> ์ •๋ ฌ๋œ ํŒŒ์ผ์—์„œ ์ ‘๋‘์‚ฌ๋กœ ์‹œ์ž‘ํ•˜๋Š” ์ค„์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
> ๊ฐ™์ด ๋ณด๊ธฐ: `grep`, `sort`.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://man.freebsd.org/cgi/man.cgi?look>.
- ํŠน์ • ํŒŒ์ผ์—์„œ ํŠน์ • ์ ‘๋‘์‚ฌ๋กœ ์‹œ์ž‘ํ•˜๋Š” ์ค„์„ ๊ฒ€์ƒ‰:

`look {{์ ‘๋‘์‚ฌ}} {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํŒŒ์ผ}}`

- ์•ŒํŒŒ๋ฒณ๊ณผ ์ˆซ์ž๋งŒ ๋Œ€์†Œ๋ฌธ์ž๋ฅผ ๊ตฌ๋ถ„ํ•˜์ง€ ์•Š๊ณ  ๊ฒ€์ƒ‰:

`look {{-f|--ignore-case}} {{-d|--alphanum}} {{์ ‘๋‘์‚ฌ}} {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํŒŒ์ผ}}`

- ์ข…๊ฒฐ ๋ฌธ์ž ์ง€์ • (๊ธฐ๋ณธ๊ฐ’์€ ๊ณต๋ฐฑ):

`look {{-t|--terminate}} {{,}}`

- `/usr/share/dict/words`์—์„œ ๊ฒ€์ƒ‰ (`--ignore-case` ๋ฐ `--alphanum`์ด ๊ฐ€์ •๋จ):

`look {{์ ‘๋‘์‚ฌ}}`
28 changes: 28 additions & 0 deletions pages.ko/freebsd/pkg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# pkg

> FreeBSD ํŒจํ‚ค์ง€ ๊ด€๋ฆฌ์ž์ž…๋‹ˆ๋‹ค.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://man.freebsd.org/cgi/man.cgi?query=pkg&sektion=8>.
- ์ƒˆ ํŒจํ‚ค์ง€ ์„ค์น˜:

`pkg install {{ํŒจํ‚ค์ง€}}`

- ํŒจํ‚ค์ง€ ์‚ญ์ œ:

`pkg delete {{ํŒจํ‚ค์ง€}}`

- ๋ชจ๋“  ํŒจํ‚ค์ง€ ์—…๊ทธ๋ ˆ์ด๋“œ:

`pkg upgrade`

- ํŒจํ‚ค์ง€ ๊ฒ€์ƒ‰:

`pkg search {{ํ‚ค์›Œ๋“œ}}`

- ์„ค์น˜๋œ ํŒจํ‚ค์ง€ ๋ชฉ๋ก:

`pkg info`

- ํ•„์š”์—†๋Š” ์˜์กด์„ฑ ์ œ๊ฑฐ:

`pkg autoremove`
29 changes: 29 additions & 0 deletions pages.ko/freebsd/sed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# sed

> ์Šคํฌ๋ฆฝํŠธ๋กœ ํ…์ŠคํŠธ๋ฅผ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.
> ๊ฐ™์ด ๋ณด๊ธฐ: `awk`, `ed`.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://www.freebsd.org/cgi/man.cgi?sed>.
- ๋ชจ๋“  ์ž…๋ ฅ ๋ผ์ธ์—์„œ `apple` (๊ธฐ๋ณธ ์ •๊ทœํ‘œํ˜„์‹)์„ `mango` (๊ธฐ๋ณธ ์ •๊ทœํ‘œํ˜„์‹)๋กœ ๋Œ€์ฒดํ•˜๊ณ  ๊ฒฐ๊ณผ๋ฅผ `stdout`์— ์ธ์‡„:

`{{๋ช…๋ น}} | sed 's/apple/mango/g'`

- ํŠน์ • ์Šคํฌ๋ฆฝํŠธ [f]ํŒŒ์ผ์„ ์‹คํ–‰ํ•˜๊ณ  ๊ฒฐ๊ณผ๋ฅผ `stdout`์— ์ธ์‡„:

`{{๋ช…๋ น}} | sed -f {{๊ฒฝ๋กœ/๋Œ€์ƒ/์Šคํฌ๋ฆฝํŠธ.sed}}`

- ๊ด€๋ จ `w` ํ•จ์ˆ˜ ๋˜๋Š” ํ”Œ๋ž˜๊ทธ๊ฐ€ ํฌํ•จ๋œ ๋ช…๋ น์ด ์ž…๋ ฅ ์ค„์— ์ ์šฉ๋  ๋•Œ๊นŒ์ง€ ๊ฐ ํŒŒ์ผ ์—ด๊ธฐ ์ง€์—ฐ:

`{{๋ช…๋ น}} | sed -fa {{๊ฒฝ๋กœ/๋Œ€์ƒ/์Šคํฌ๋ฆฝํŠธ.sed}}`

- ๋ชจ๋“  ์ž…๋ ฅ ๋ผ์ธ์—์„œ `apple` (ํ™•์žฅ ์ •๊ทœํ‘œํ˜„์‹)์„ `APPLE` (ํ™•์žฅ ์ •๊ทœํ‘œํ˜„์‹)๋กœ ๋Œ€์ฒดํ•˜๊ณ  ๊ฒฐ๊ณผ๋ฅผ `stdout`์— ์ธ์‡„:

`{{๋ช…๋ น}} | sed -E 's/(apple)/\U\1/g'`

- ์ฒซ ๋ฒˆ์งธ ์ค„๋งŒ `stdout`์— ์ธ์‡„:

`{{๋ช…๋ น}} | sed -n '1p'`

- ํŠน์ • ํŒŒ์ผ์—์„œ `apple` (๊ธฐ๋ณธ ์ •๊ทœํ‘œํ˜„์‹)์„ `mango` (๊ธฐ๋ณธ ์ •๊ทœํ‘œํ˜„์‹)๋กœ ๋ชจ๋‘ ๋Œ€์ฒดํ•˜๊ณ  ์›๋ณธ ํŒŒ์ผ ๋ฎ์–ด์“ฐ๊ธฐ:

`sed -i 's/apple/mango/g' {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํŒŒ์ผ}}`
36 changes: 36 additions & 0 deletions pages.ko/freebsd/sockstat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# sockstat

> ์˜คํ”ˆ๋œ ์ธํ„ฐ๋„ท ๋˜๋Š” UNIX ๋„๋ฉ”์ธ ์†Œ์ผ“์„ ๋‚˜์—ดํ•ฉ๋‹ˆ๋‹ค.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://man.freebsd.org/cgi/man.cgi?sockstat>.
- ์–ด๋–ค ์‚ฌ์šฉ์ž/ํ”„๋กœ์„ธ์Šค๊ฐ€ ์–ด๋–ค ํฌํŠธ์—์„œ [l]isteningํ•˜๋Š”์ง€ ๋ณด๊ธฐ:

`sockstat -l`

- ํŠน์ • [p]ort์—์„œ ์‚ฌ์šฉ ์ค‘์ธ IPv[4]/IPv[6] ์†Œ์ผ“ ์ •๋ณด ๋ณด๊ธฐ, ํŠน์ • [P]rotocol ์‚ฌ์šฉ:

`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}`

- [c]onnected ์†Œ์ผ“๋„ ํ‘œ์‹œ, ์ˆซ์žํ˜•์‹์˜ UID๋ฅผ ์‚ฌ์šฉ์ž ์ด๋ฆ„์œผ๋กœ ํ•ด์„ํ•˜์ง€ ์•Š๊ณ  [w]ider ํ•„๋“œ ํฌ๊ธฐ ์‚ฌ์šฉ:

`sockstat -cnw`

- ํŠน์ • [j]ail ID ๋˜๋Š” ์ด๋ฆ„์— ์†ํ•˜๋Š” ์†Œ์ผ“๋งŒ [v]erbose ๋ชจ๋“œ๋กœ ํ‘œ์‹œ:

`sockstat -jv`

- ํ”„๋กœํ† ์ฝœ [s]tate ๋ฐ ์›๊ฒฉ [U]DP ์บก์Šํ™” ํฌํŠธ ๋ฒˆํ˜ธ ํ‘œ์‹œ (ํ˜„์žฌ SCTP ๋ฐ TCP์—๋งŒ ๊ตฌํ˜„๋จ):

`sockstat -sU`

- [C]ongestion control ๋ชจ๋“ˆ ๋ฐ ํ”„๋กœํ† ์ฝœ [S]tack ํ‘œ์‹œ (ํ˜„์žฌ TCP์—๋งŒ ๊ตฌํ˜„๋จ):

`sockstat -CS`

- ๋กœ์ปฌ ๋ฐ ์™ธ๋ถ€ ์ฃผ์†Œ๊ฐ€ ๋ฃจํ”„๋ฐฑ ๋„คํŠธ์›Œํฌ ์ ‘๋‘์–ด 127.0.0.0/8์ด ์•„๋‹ˆ๊ฑฐ๋‚˜ IPv6 ๋ฃจํ”„๋ฐฑ ์ฃผ์†Œ ::1์„ ํฌํ•จํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ์—๋งŒ ์ธํ„ฐ๋„ท ์†Œ์ผ“ ํ‘œ์‹œ:

`sockstat -L`

- ํ—ค๋”๋ฅผ ํ‘œ์‹œํ•˜์ง€ ์•Š์Œ ([q]uiet ๋ชจ๋“œ), [u]nix ์†Œ์ผ“ ํ‘œ์‹œํ•˜๊ณ  `inp_gencnt` ํ‘œ์‹œ:

`sockstat -qui`
7 changes: 7 additions & 0 deletions pages.ko/freebsd/ypchfn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ypchfn

> ์ด ๋ช…๋ น์–ด๋Š” `chpass`์˜ ์—์ผ๋ฆฌ์–ด์Šค (๋ณ„์นญ) ์ž…๋‹ˆ๋‹ค.
- ์›๋ณธ ๋ช…๋ น์˜ ๋„ํ๋ฉ˜ํ…Œ์ด์…˜ (์„ค๋ช…์„œ) ๋ณด๊ธฐ:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages.ko/freebsd/ypchpass.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ypchpass

> ์ด ๋ช…๋ น์–ด๋Š” `chpass`์˜ ์—์ผ๋ฆฌ์–ด์Šค (๋ณ„์นญ) ์ž…๋‹ˆ๋‹ค.
- ์›๋ณธ ๋ช…๋ น์˜ ๋„ํ๋ฉ˜ํ…Œ์ด์…˜ (์„ค๋ช…์„œ) ๋ณด๊ธฐ:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages.ko/freebsd/ypchsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ypchsh

> ์ด ๋ช…๋ น์–ด๋Š” `chpass`์˜ ์—์ผ๋ฆฌ์–ด์Šค (๋ณ„์นญ) ์ž…๋‹ˆ๋‹ค.
- ์›๋ณธ ๋ช…๋ น์˜ ๋„ํ๋ฉ˜ํ…Œ์ด์…˜ (์„ค๋ช…์„œ) ๋ณด๊ธฐ:

`tldr chpass`
36 changes: 36 additions & 0 deletions pages.ko/netbsd/cal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# cal

> ๋‹ฌ๋ ฅ์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://man.freebsd.org/cgi/man.cgi?cal>.
- ํ˜„์žฌ ์›”์˜ ๋‹ฌ๋ ฅ ํ‘œ์‹œ:

`cal`

- ํŠน์ • ์—ฐ๋„์˜ ๋‹ฌ๋ ฅ ํ‘œ์‹œ:

`cal {{์—ฐ๋„}}`

- ํŠน์ • ์›”๊ณผ ์—ฐ๋„์˜ ๋‹ฌ๋ ฅ ํ‘œ์‹œ:

`cal {{์›”}} {{์—ฐ๋„}}`

- 1๋ถ€ํ„ฐ ์‹œ์ž‘ํ•˜๋Š” ์œจ๋ฆฌ์šฐ์Šค๋ ฅ์„ ์‚ฌ์šฉํ•ด ํ˜„์žฌ ์—ฐ๋„์˜ ์ „์ฒด ๋‹ฌ๋ ฅ ํ‘œ์‹œ:

`cal -y -j`

- ์˜ค๋Š˜์„ ๊ฐ•์กฐํ•˜๊ณ  ๋‚ ์งœ๋ฅผ ํฌํ•จํ•ด 3๊ฐœ์›” ํ‘œ์‹œ:

`cal -h -3 {{์›”}} {{์—ฐ๋„}}`

- ํ˜„์žฌ ์—ฐ๋„์˜ ํŠน์ • ์›”์˜ ์ด์ „ 2๊ฐœ์›”๊ณผ ์ดํ›„ 3๊ฐœ์›” ํ‘œ์‹œ:

`cal -A 3 -B 2 {{์›”}}`

- ์ง€์ •ํ•œ ์›”์˜ ์ด์ „ ๋ฐ ์ดํ›„์˜ ์›” ์ˆ˜๋ฅผ ์ง€์ •:

`cal -C {{์›” ์ˆ˜}} {{์›”}}`

- ์ฃผ์˜ ์‹œ์ž‘ ์š”์ผ์„ ์ง€์ • (0: ์ผ์š”์ผ, 1: ์›”์š”์ผ, ..., 6: ํ† ์š”์ผ):

`cal -d {{0..6}}`
7 changes: 7 additions & 0 deletions pages.ko/netbsd/chfn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chfn

> ์ด ๋ช…๋ น์–ด๋Š” `chpass`์˜ ์—์ผ๋ฆฌ์–ด์Šค (๋ณ„์นญ) ์ž…๋‹ˆ๋‹ค.
- ์›๋ณธ ๋ช…๋ น์˜ ๋„ํ๋ฉ˜ํ…Œ์ด์…˜ (์„ค๋ช…์„œ) ๋ณด๊ธฐ:

`tldr chpass`
29 changes: 29 additions & 0 deletions pages.ko/netbsd/chpass.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# chpass

> ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ •๋ณด, ๋กœ๊ทธ์ธ ์…ธ ๋ฐ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.
> ๊ฐ™์ด ๋ณด๊ธฐ: `passwd`.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://man.openbsd.org/chsh>.
- ํ˜„์žฌ ์‚ฌ์šฉ์ž์—๊ฒŒ ํŠน์ • ๋กœ๊ทธ์ธ ์…ธ์„ ๋Œ€ํ™”์‹์œผ๋กœ ์„ค์ •:

`su -c chpass`

- ํ˜„์žฌ ์‚ฌ์šฉ์ž์—๊ฒŒ ํŠน์ • ๋กœ๊ทธ์ธ ์…ธ ์„ค์ •:

`chpass -s {{๊ฒฝ๋กœ/๋Œ€์ƒ/์…ธ}}`

- ํŠน์ • ์‚ฌ์šฉ์ž์—๊ฒŒ ๋กœ๊ทธ์ธ ์…ธ ์„ค์ •:

`chpass chsh -s {{๊ฒฝ๋กœ/๋Œ€์ƒ/์…ธ}} {{์‚ฌ์šฉ์ž๋ช…}}`

- `passwd` ํŒŒ์ผ ํ˜•์‹์œผ๋กœ ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ•ญ๋ชฉ ์ง€์ •:

`su -c 'chpass -a {{์‚ฌ์šฉ์ž๋ช…:์•”ํ˜ธํ™”๋œ_๋น„๋ฐ€๋ฒˆํ˜ธ:uid:gid:...}} -s {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํŒŒ์ผ}}' {{์‚ฌ์šฉ์ž๋ช…}}`

- ๋กœ์ปฌ ๋น„๋ฐ€๋ฒˆํ˜ธ ํŒŒ์ผ๋งŒ ์—…๋ฐ์ดํŠธ:

`su -c 'chpass -l -s {{๊ฒฝ๋กœ/๋Œ€์ƒ/์…ธ}}' {{์‚ฌ์šฉ์ž๋ช…}}`

- ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค [y]P ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ•ญ๋ชฉ์„ ๊ฐ•์ œ๋กœ ๋ณ€๊ฒฝ:

`su -c 'chpass -y -s {{๊ฒฝ๋กœ/๋Œ€์ƒ/์…ธ}}' {{์‚ฌ์šฉ์ž๋ช…}}`
7 changes: 7 additions & 0 deletions pages.ko/netbsd/chsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chsh

> ์ด ๋ช…๋ น์–ด๋Š” `chpass`์˜ ์—์ผ๋ฆฌ์–ด์Šค (๋ณ„์นญ) ์ž…๋‹ˆ๋‹ค.
- ์›๋ณธ ๋ช…๋ น์˜ ๋„ํ๋ฉ˜ํ…Œ์ด์…˜ (์„ค๋ช…์„œ) ๋ณด๊ธฐ:

`tldr chpass`
Loading

0 comments on commit fc7e42e

Please sign in to comment.