title
stringlengths 1
544
โ | parent
stringlengths 0
57
โ | created
stringlengths 11
12
โ | editor
stringclasses 1
value | creator
stringclasses 4
values | edited
stringlengths 11
12
โ | refs
stringlengths 0
536
โ | text
stringlengths 1
26k
| id
stringlengths 32
32
|
---|---|---|---|---|---|---|---|---|
Xorg Server
|
Display Servers
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
x.Org ์ฌ๋จ์ X ์๋ ์์คํ
์ ์ฐธ์กฐ ๊ตฌํ์ธ [X.Org](http://x.org/) Server๋ฅผ ๊ฐ๋ฐํด์ MIT ํ๊ฐ์์ ๊ฐ์ ์คํ ์์ค ๋ผ์ด์ ์ค๋ก ๋ฐฐํฌ
2004๋
์๋ [X.org](http://x.org/) ์ฌ๋จ์ด ๋ง๋ค์ด์ก
X ์๋ ์์คํ
์ ์ฌ์ฉ์ ์ธํฐํ์ด์ค์ ๋ชจ์ต์ ๊ด์ฌํ์ง ์๋๋ค.
KDE, ๊ทธ๋, Xfce ๋ฑ ๋๋ถ๋ถ์ ๋ฐ์คํฌํฑ ํ๊ฒฝ์ X์๋๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ํ์ง๋ง, ์ ์ ์ธํฐํ์ด์ค์ ๋ชจ์์ ๋งค์ฐ ๋ค๋ฅด๋ค
> [X ์๋ ์์คํ
](https://ko.wikipedia.org/wiki/X_%EC%9C%88%EB%8F%84_%EC%8B%9C%EC%8A%A4%ED%85%9C)
|
4198e168f18347f4ad7b933f4b54a051
|
|
**Desktop Window Manager**
|
Window Systems
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
Windows
|
efa76bde65954247a6a40caa469807e5
|
|
X window System
|
Window Systems
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
### Window System for Unix and Unix like
### X11, X Window System, Xorg, X
>
> [X window System History](https://texonom.com/x-window-system-history-e5829c1a69a940ee8ef194647da8de05)
>
>
> [X Server](https://texonom.com/x-server-cf5adb9ce48d4c77b94ddcd058883be9)
>
>
> [X11 applications](https://texonom.com/x11-applications-d9b9a1d5ae2246b792dcc5bda7fd17a2)
>
> 
> [Untitled](https://namu.wiki/w/X11)
|
b037d52fa7fe4d33a21b16299817b92e
|
|
X Server
|
X window System
| null | null | null | null | null |
cf5adb9ce48d4c77b94ddcd058883be9
|
|
X window System History
|
X window System
| null | null | null | null | null |
MIT์์ 1984๋
์ ์ฒ์ ๊ฐ๋ฐ
[X.Org](http://x.org/) ์ฌ๋จ์ด X ์๋ ์์คํ
์ ๊ฐ๋ฐ์ ์ฃผ๋
ํ๋ซํผ๊ณผ ๋
๋ฆฝ์ ์ผ๋ก ์๋ํ๋ ์๋ ์์คํ
๊ฐ๋ฐ์ ์ํด IBM๊ณผ MIT, DEC ๊ณต๋์ ์๋ฐ๋ ํ๋ก์ ํธ๋ฅผ ํตํด์ Bob Scheifler์ Jim Gettys๊ฐ 1984๋
์ ์ฒ์ ๊ฐ๋ฐ
1987๋
์ X11 ๋ฒ์ ์ด ๊ฐ๋ฐ
1986๋
์๋ Bob Scheifler์ด ๋๊ตฌ๋ ์์ ๋กญ๊ฒ X๋ฅผ ์ฌ์ฉํ๊ณ ๋ฐฐํฌํ ์ ์๋ ์คํ ์์ค ํ๋ก์ ํธ ๋์์ธ์ ๋ง๋ค์๊ณ 1987๋
์ ์ด๋ฌํ ์คํ ์์ค ํ๋ก์ ํธ ํ์ X11์ด ๋ฐํ
1988๋
์๋ ์๋ง์ ์ปดํจํฐ ์ ์กฐ์
์ฒด๋ก ์ด๋ฃจ์ด์ง X์ปจ์์์์ด ์กฐ์ง๋๊ณ , X์ปจ์์์์ ์ํด์ X11๋ฒ์ ์ด ์ฒ์์ผ๋ก ๊ฐ์ ๋์ด X11R2๊ฐ ๋ฐํ๋์์ผ๋ฉฐ 1996๋
์๋ ์ต์ข
๊ฐ์ ํ์ธ X11R6 ๋ฒ์ ์ ๋ด๋์ผ๋ฉด์ X11R6.3 ๋ฒ์ ์ ๋์ผ๋ก X์ปจ์์์์ ํด์ฒด
> [X ์๋ ์์คํ
](https://ko.wikipedia.org/wiki/X_%EC%9C%88%EB%8F%84_%EC%8B%9C%EC%8A%A4%ED%85%9C)
|
e5829c1a69a940ee8ef194647da8de05
|
X11 applications
|
X window System
| null | null | null | null | null |
d9b9a1d5ae2246b792dcc5bda7fd17a2
|
|
CLI
|
OS Structures
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
May 22, 2023
|
[GUI](https://texonom.com/gui-936270e7b4af43e3929f69fcb6e1e2e4) [Talk](https://texonom.com/talk-a01d9cb1d5784f95842477b98ee598e7) [CLI Package](https://texonom.com/cli-package-c2abd9031621434b8154554c6e0139ad) [Terminal Software](https://texonom.com/terminal-software-a8f2f095d25243b39345fb180af7bb19) [TUI](https://texonom.com/tui-7ff9c6ae959748e0b378ffe39231a723)
|
## Shell
๊ป๋ฐ๊ธฐ๋ผ๋ ๋ป์ผ๋ก [OS Kernel](https://texonom.com/os-kernel-631bce6131a64accb3a482df622ff957) ๊ณผ ๋๋น๋๋ค
GUI๋ณด๋ค ๋น ๋ฅด๊ณ , ์ค์๊ฐ ์์ฌ์ํต์ด๊ธฐ ๋๋ฌธ์, ์์ ์๋ ์์ผ๋ก๋ ๊พธ์คํ ์ค์ํ ๊ฒ
### Shell Notion
|Title|
|:-:|
|[TTY](https://texonom.com/tty-d3c35ff3460343359b453c88a3bb896f)|
|[REPL](https://texonom.com/repl-3277ef3bbc7d4734a6387175d83403f8)|
|[SSLR ](https://texonom.com/sslr-a2f6119f0f6348028c993402cae1dab5)|
|[Standard Stream](https://texonom.com/standard-stream-bad7db61af9544ae96992033650d9986)|
|[getty process](https://texonom.com/getty-process-1db5419556604718b20ea5ffe2d404db)|
|[Command](https://texonom.com/command-22acb6b0064d4771b4e93f5cd8cf20db)|
### Shell Usages
|Title|
|:-:|
|[Shell Implementation](https://texonom.com/shell-implementation-bdca900a6c45471a9f460cb6d262fd06)|
|[CLI Package](https://texonom.com/cli-package-c2abd9031621434b8154554c6e0139ad)|
|[Shell Script](https://texonom.com/shell-script-ea915b0a5fbf464ea95e13ad082f8830)|
|[Shell Font](https://texonom.com/shell-font-4a381ace070d4a24bb43956ba652b6ac)|
|[Shell Global](https://texonom.com/shell-global-8f5503f34077489a9022c5b07c38b116)|
|[Shell Broadcasting](https://texonom.com/shell-broadcasting-c318278a5aaa4e27a3b0780d08008f30)|
|[Shell Shortcuts](https://texonom.com/shell-shortcuts-f5bcfeb267c745559809b35b88e9c84e)|
|[Shell Tool](https://texonom.com/shell-tool-771f3d0d294d4d40884a61f3361cb914)|
|[Shell Environment](https://texonom.com/shell-environment-0cd72b897d994b3ea47a3d813ffe4bdd)|
### All of Shell
> [Introduction](https://mug896.github.io/bash-shell/index.html)
### Shell of light users
> [The Front-End Developer's Guide to the Terminal](https://www.joshwcomeau.com/javascript/terminal-for-js-devs/)
|
3b46069e77904f7b8ce85faff6252cfc
|
Disk System
|
OS Structures
|
Jun 7, 2021
|
Alan Jo
|
Alan Jo
|
May 23, 2023
|
### Per disk format
### Disk Systems
|Title|
|:-:|
|[MBR Disk](https://texonom.com/mbr-disk-ecb2741e43624a25a0eb43c63a41062d)|
|[GPT Disk](https://texonom.com/gpt-disk-029f58b047d747ff8662d742073984e2)|
### Disk System Usages
|Title|
|:-:|
|[Dynamic Disk](https://texonom.com/dynamic-disk-1b80638b71e94972abc1cca74585608d)|
|[Disk Package](https://texonom.com/disk-package-516180a17825418c9d2e7ab3c34f0cf6)|
|[Disk Compact Tool](https://texonom.com/disk-compact-tool-4f7e789989ae4a44b0fb9908b7cf2789)|
> [๋์คํฌ ํ์ (MBR/GPT)์ ๋ํ ์ดํด](http://blog.naver.com/PostView.nhn?blogId=kalps1&logNo=221352946201)
|
104aed644fd54c31a9938e4f7b3bae6f
|
|
File System
|
OS Structures
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Jul 25, 2022
|
### ***file is run time data structure ***per partition
### File System Notion
|Title|
|:-:|
|[File](https://texonom.com/file-285b7d615f0243bea5d8dd87a7453db5)|
|[Directory](https://texonom.com/directory-1c3f4c9519f7455495aed665277dfdc9)|
|[INode](https://texonom.com/inode-f59013f016cf41e0a58611a3e72eb5ef)|
|[Copy-on-Wirte](https://texonom.com/copy-on-wirte-87d1a10de4c748abb37a48f797fbe169)|
|[journaling File System](https://texonom.com/journaling-file-system-319339dd38d34fffb84f600201e86a6a)|
|[Filesystem snapshot](https://texonom.com/filesystem-snapshot-c01359d0fc9042a8891f1a488b2c5fb3)|
|[File System Extent](https://texonom.com/file-system-extent-d4e743192dbe43e3bcd2a07c2d0dce33)|
|[File Watch](https://texonom.com/file-watch-fbb18b97f55248eea7ac3ce6bd16a591)|
### File Systems
|Title|
|:-:|
|[VFS](https://texonom.com/vfs-0fecc4979bf74f81b24a4b523c7a2c5f)|
|[Unix File System](https://texonom.com/unix-file-system-60d125967dfe486fb9dcda7dab9543f6)|
|[NFS](https://texonom.com/nfs-8457927e6e6d45a9a8e6bd3207bd0ba9)|
|[CIFS](https://texonom.com/cifs-bf8cb8fbcb9541fdb357e4d876453dfa)|
|[Dwarfs](https://texonom.com/dwarfs-dda18d44649c46138ee8c6fcea2447a7)|

> [POSIX ์์๋ณด๊ธฐ #2 : ๊ฐ์ ํ์ผ ์์คํ
VFS(Virtual Filesystem)์ ์์์ ๋์ ๋ฐฉ์](https://medium.com/naver-cloud-platform/posix-%EC%95%8C%EC%95%84%EB%B3%B4%EA%B8%B0-2-%EA%B0%80%EC%83%81-%ED%8C%8C%EC%9D%BC-%EC%8B%9C%EC%8A%A4%ED%85%9C-vfs-virtual-filesystem-%EC%9D%98-%EC%9D%98%EC%9D%98%EC%99%80-%EB%8F%99%EC%9E%91-%EB%B0%A9%EC%8B%9D-fb752a0fb542)
|
7a340052fcaf48169a5c6da2610aa5cf
|
|
I/O Systems
|
OS Structures
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Apr 20, 2022
|
[HAL ](https://texonom.com/hal-8414f1c7b7014f5abf567f9e18dc0da0)
[Device Driver](https://texonom.com/device-driver-c78b1565bfbb4ffc874f374e6f765ad1)
### I/O: a major factor in system performance
โ Demands CPU to execute device driver, kernel I/O code
โ Mode switches due to interrupts
โ Data copying
โ Network traffic especially stressful
Guidelines
โ Reduce the number of mode switches
โ Reduce data copying
โ Reduce interrupts by using large transfers, smart controllers
โ Use DMA
โ Move processing primitives into hardware; concurrent operations of CPU and device controllers.
โ Balance CPU, memory, bus, and I/O performance for highest throughput - to no bottleneck
> ### We need to know I/O execution path
> Since there is so many i/o device, so we need i/o bus
>
> ### I/o address
> predefined address between CPU and I/O address
>
> ### DMA (direct memory access)
> Bypass CPU to transfer data directly between I/O device and memory. โ Used to avoid programmed I/O for large data movement. โ Require DMA controller
>
> โ Cycle stealing
> โข. โ Burst mode โข
> Addressing in DMA
> memory region should be pinne during dma
> 
> Typical PC Architecture
> 
# Interact
Three ways to interact data with hw device
1. polling (do not use) - low levelkeep checking
2. interrupt-driven I/Ointerrupt always raised by I/O
# Access
3. DMA (Direct Memory Access)
> By DMA controller, bypass CPU to transfer data directly between I/O device and memory
> since we need memory bus share - various way of technic
4. Memory-mapped I/O
# I/O Software
> i/o controller make interrupt and interrupt handler to kernel and done by device driver - device dependent code
> Always check interrupt at final red box at lower picture
>
> ### Device driver
> Standard driver interfaces be given like Virtual File System - to manageable by kernel architect
> ### Driver-independent I/O Software
> they are accessed through file system calls
> 
> I/O software layer
> 
`In Unix devices are modeled as special files`
CPU is fast and device is slow so we buffering
- buffered in use space
- buffered in the kernel space
- double buffering in kernel
## User-space I/O Software
> ### - Provided as a library - system call
> - fopen(), open()
> - buffering for fgetc()
>
> ### - Spooling
> - dealing with dedicated devices in a multi-programming system
> - implemented by a daemon and spooling directory
> VFS fixed function to develop, like file interface metaphor
> so make my own backspace touch blue-tooth sticker
> 
> 
# Performance
I/O is a major factor in system performance itself - bottleneck (ex. network traffic, data busing, mode switching due to interrupts, CPU to execute driver, kernel I/O code)
|
1fe831bd09ae43909cccb33056a1dfc7
|
|
OS Kernel
|
OS Structures
|
Oct 15, 2020
|
Alan Jo
|
Alan Jo
|
Apr 17, 2023
|
### ์๋งน์ด๋ผ๋ ๋ป์ผ๋ก [CLI](https://texonom.com/cli-3b46069e77904f7b8ce85faff6252cfc) ๊ณผ ๋๋น
### Kernel Notion
|Title|
|:-:|
### Kernel Usages
|Title|
|:-:|
|[Kernel Tools](https://texonom.com/kernel-tools-925896f17d9245a2a4c5321b6c06a09e)|
|[Kernel Implementation](https://texonom.com/kernel-implementation-8039c04213814a17b5eeac2eaeac0993)|
> [๋ฆฌ๋
์ค ์ปค๋(์ด์์ฒด์ ) ๊ฐ์๋
ธํธ [1]](https://medium.com/pocs/%EB%A6%AC%EB%88%85%EC%8A%A4-%EC%BB%A4%EB%84%90-%EC%9A%B4%EC%98%81%EC%B2%B4%EC%A0%9C-%EA%B0%95%EC%9D%98%EB%85%B8%ED%8A%B8-1-d36d6c961566)
|
631bce6131a64accb3a482df622ff957
|
|
Command
|
Shell Notion
|
Mar 21, 2023
|
Alan Jo
|
Alan Jo
|
Mar 21, 2023
|
> [All commands](https://www.commandlinefu.com/commands/browse)
|
22acb6b0064d4771b4e93f5cd8cf20db
|
|
getty process
|
Shell Notion
|
Feb 8, 2020
|
Alan Jo
|
Alan Jo
|
Aug 27, 2021
|
## get tty
์ฐ๊ฒฐ์ ๊ฐ์งํ๋ฉด ์ฌ์ฉ์ ์ธ์ฆ์ ์ํด ์ฌ์ฉ์ ์ด๋ฆ์ ๋ฌผ์ด๋ณธ ๋ค์ 'login' ํ๋ก๊ทธ๋จ์ ์คํ
> [getty (์ ๋์ค) - ์ํค๋ฐฑ๊ณผ, ์ฐ๋ฆฌ ๋ชจ๋์ ๋ฐฑ๊ณผ์ฌ์ ](https://ko.wikipedia.org/wiki/Getty_(%EC%9C%A0%EB%8B%89%EC%8A%A4))
|
1db5419556604718b20ea5ffe2d404db
|
|
REPL
|
Shell Notion
|
May 14, 2020
|
Alan Jo
|
Alan Jo
|
Aug 27, 2021
|
### REPL(read-eval-print loop) = interactive toplevel = language shell
์ผ๋ฐ์ ์ธ ์๋ก๋ ํ๋ก๊ทธ๋๋ฐ ์ธ์ด๋ฅผ ์ํ ๋ช
๋ น ์ค ์
ธ ๋ฐ ์ ์ฌ ํ๊ฒฝ์ ๋ค ์ ์์ผ๋ฉฐ ๊ธฐ๋ฒ์ ์คํฌ๋ฆฝํธ ์ธ์ด์ ํน์ง๊ณผ ๋งค์ฐ ๋ฎ์์๋ค
REPL์์ ์ฌ์ฉ์๋ (์ ์ฒด ์ปดํ์ผ ๋จ์๊ฐ ์๋) ํ๋ ์ด์์ ์์ ์
๋ ฅํ๋ฉด REPL์ ์ด๋ค์ ํ๊ฐํ๊ณ ๊ฒฐ๊ณผ๋ฅผ ํ์ํ๋ค
[์
ธ](https://ko.wikipedia.org/wiki/%EC%85%B8)๋ก์ REPL ํ๊ฒฝ์ ํตํด ์ฌ์ฉ์๊ฐ ์ด์ ์ฒด์ ์ ๊ด๋ จ ๊ธฐ๋ฅ์ ์ ๊ทผํ ์ ์๊ณ ํ๋ก๊ทธ๋๋ฐ ๊ธฐ๋ฅ์๋ ์ ๊ทผ์ด ๊ฐ๋ฅํ๋ค.
์ด์ ์ฒด์ ์
ธ ๋ฐ์์ REPL์ ๊ฐ์ฅ ์ผ๋ฐ์ ์ธ ์ฉ๋๋ ์ฆ๊ฐ์ ์ธ ํ๋กํ ํ์ดํ์ด๋ค. ๊ทธ ๋ฐ์ ์ฉ๋๋ก๋ ์์ ๊ณ์ฐ, ๊ณผํ ๋ถ์(์:ย [IPython](https://ko.wikipedia.org/w/index.php?title=IPython&action=edit&redlink=1))์ ์ฐ๋ํ๋ ๋ฌธ์ ๋ง๋ค๊ธฐ, ์ํธ ์์ฉ์ ์ธ ์ํํธ์จ์ด ์ ์ง๋ณด์,ย [๋ฒค์น๋งํน](https://ko.wikipedia.org/wiki/%EB%B2%A4%EC%B9%98%EB%A7%88%ED%82%B9), ์๊ณ ๋ฆฌ์ฆ ํ์์ด ์๋ค.
REPL์ ์๋ก์ด ์ธ์ด๋ฅผ ํ์ตํ๋๋ฐ ํ์์ ์ธ ๋ถ๋ถ์ผ๋ก ๋๊ณ ์๋๋ฐ, ์ด๋ณด์์๊ฒ ๋น ๋ฅธ ํผ๋๋ฐฑ์ ์ ๊ณตํ๊ธฐ ๋๋ฌธ์ด๋ค.
> [REPL](https://ko.wikipedia.org/wiki/REPL)
# ๊ตฌํ์ฒด
(**define **(REPL env) (print (eval env (read))) (REPL env) )
์ฌ๊ธฐ์ย `env`๋ ์ด๊ธฐย `eval`-uation(ํ๊ฐ) ํ๊ฒฝ์ ๋ํํ๋ค. ๋,ย `env`๊ฐย `eval`์ ์ํด ์
๋ฐ์ดํธ๋ ์ ์๋ค.
|
3277ef3bbc7d4734a6387175d83403f8
|
|
SSLR
|
Shell Notion
|
Dec 28, 2019
|
Alan Jo
|
Alan Jo
|
Aug 27, 2021
|
### Sollae Serial Line Router
์๋ก ๋ค๋ฅธ ๋คํธ์ํฌ๋ฅผ ์๋ฆฌ์ผ ๋ผ์ธ์ผ๋ก ์ฐ๊ฒฐํ๋ ๊ธฐ๋ฅ
์๋ฆฌ์ผ ํต์ ์ ์ง๋ ฌํต์
> [์๋ฆฌ์ผ ๋ผ์ธ์ ํตํ ๋คํธ์ํฌ ์ฐ๊ฒฐ (SSLR)](https://m.blog.naver.com/PostView.nhn?blogId=eztcpcom&logNo=60195977603&proxyReferer=https%3A%2F%2Fwww.google.com%2F)
> [รธ ฬถ?](http://www.nctechnology.co.kr/product-sogae/serial-basic.htm)
> [์ง๋ ฌ ํ์ ์ธํฐ๋ท ํ๋กํ ์ฝ](https://ko.wikipedia.org/wiki/%EC%A7%81%EB%A0%AC_%ED%9A%8C%EC%84%A0_%EC%9D%B8%ED%84%B0%EB%84%B7_%ED%94%84%EB%A1%9C%ED%86%A0%EC%BD%9C)
|
a2f6119f0f6348028c993402cae1dab5
|
|
Standard Stream
|
Shell Notion
|
Mar 9, 2021
|
Alan Jo
|
Alan Jo
|
Jul 27, 2022
|
[File Descriptor](https://texonom.com/file-descriptor-6d49a5c3f919453f9c07b4b085523b5c)
|
์คํธ๋ฆผ: ์ ๋์ค ๊ณ์ด ์ด์์ฒด์ ์์ ํ๋ก์ธ์ค์ ์ฃผ๋ณ ๊ธฐ๊ธฐ ์ฌ์ด์ ๋ฏธ๋ฆฌ ์ฐ๊ฒฐ๋ ์
์ถ๋ ฅ ํต๋ก
๋ฆฌ๋
์ค์์ ํ๋ก๊ทธ๋จ ์คํ์ ๋ค์๊ณผ ๊ฐ์ด ๊ธฐ๋ณธ์ ์ผ๋ก 3๊ฐ์ ์คํธ๋ฆผ์ด ์๋์ ์ผ๋ก ์ด๋ฆผ
๋ฆฌ๋ค์ด๋ ์
์ด ํ๋ก์ธ์ค์ ์
๋ ฅ ๋๋ ์ถ๋ ฅ์ ํ์ผ๋ก ์ฌ์ฉํ๋ ๊ฒ์ด๋ผ๋ฉด ์ด๋ฒ์ ๋ฐฐ์ธ ํ์ดํ(pipe)๋ ์๋ก๋ค๋ฅธ ํ๋ก์ธ์ค๊ฐ ์๋ํ๋ ๋ฐฉ์
### Standard Stream Notion
|Title|
|:-:|
|[standard input](https://texonom.com/standard-input-d5436d94fc1c4756bb280630a5080a66)|
|[standard output](https://texonom.com/standard-output-3ae2df9c3db2442d8f0b26b45cd18bc7)|
|[standard error](https://texonom.com/standard-error-c9076260548e4b7cbfa3a3cbecb64478)|
### Standard Stream Usages
|Title|
|:-:|
|[Standard Pipe](https://texonom.com/standard-pipe-17325821255b4d9d8b5a73aad87854d3)|
|[Capture Standard Stream](https://texonom.com/capture-standard-stream-855eb1f86b744e43bda3a4c9c05f291e)|

> [[๋ฆฌ๋
์ค] ๋ฆฌ๋ค์ด๋ ์
(redirection), ํ์ดํ(pipe)์ ๊ฐ๋
](https://losskatsu.github.io/os-kernel/linux-redirection/#)
|
bad7db61af9544ae96992033650d9986
|
TTY
|
Shell Notion
|
Dec 28, 2019
|
Alan Jo
|
Alan Jo
|
Apr 20, 2022
|
[linux tty](https://texonom.com/linux-tty-265b76483ac84dcaac36f0857ad65d4f)
|
# Teletypewriter
๋ฆฌ๋
์ค ํ๊ฒฝ์ ๊ธฐ๋ณธ์ ์ผ๋ก **TTY (Teletypewriter)**์์ ๊ทธ๋ฌ์ ธ ์๋ค.ย ์ฆ ๋ฐ์คํฌํ gui (xwindows) ํ๊ฒฝ์ ์ค์ง์ ์ผ๋ก **์ฝ์ **์์ ์ฌ๋ ค์ ธ ์๋ ํํ
- console = cli
- xwindows ๋ฐ์คํฌํ ํ๊ฒฝ์์ ์๋ํ๋ ์ฝ์์ pts/1์ ์ฌ๋ ค์ ธ ์๋ค.
### TTY Notion
|Title|
|:-:|
|[TTY History](https://texonom.com/tty-history-6bb756d99eb549f686807fe82de277ab)|
|[Linux Virtual Console](https://texonom.com/linux-virtual-console-db8fc61d9a2d4ec8adab31cc157ad34b)|
|[TTY driver](https://texonom.com/tty-driver-af223b1373d2498098ce9fc0e18a3f84)|
|[PTY](https://texonom.com/pty-e7966a3ddea4489f8a91bc747b949541)|
### TTY Usages
|Title|
|:-:|
|[getty](https://texonom.com/getty-ea154a7c778f4baaa97a844e4fb4cc20)|
|[TTU Control](https://texonom.com/ttu-control-221fb644f5524d7ba3b846ba2aa86fd4)|
|[TTY Access](https://texonom.com/tty-access-d13c648fe2f94d7fbb6a1c1d603c0b6c)|
|
d3c35ff3460343359b453c88a3bb896f
|
standard error
|
Standard Stream Notion
|
Jul 27, 2022
|
Alan Jo
|
Alan Jo
|
Jul 27, 2022
|
- ํ์ค ์๋ฌ ์คํธ๋ฆผ(standard error, stderr)
fd 2
|
c9076260548e4b7cbfa3a3cbecb64478
|
|
standard input
|
Standard Stream Notion
|
Jul 27, 2022
|
Alan Jo
|
Alan Jo
|
Jul 27, 2022
|
- ํ์ค ์
๋ ฅ ์คํธ๋ฆผ(standard input, stdin)
[< - standard input](https://texonom.com/-standard-input-445d5a7b19554ca1ba2f36c07a0e97e7)
fd 0
|
d5436d94fc1c4756bb280630a5080a66
|
|
standard output
|
Standard Stream Notion
|
Jul 27, 2022
|
Alan Jo
|
Alan Jo
|
Jul 27, 2022
|
- ํ์ค ์ถ๋ ฅ ์คํธ๋ฆผ(standard output, stdout)
[> direct - standard output](https://texonom.com/direct--standard-output-02026a0863e849d788382acdd66e346e)
[>> redirection](https://texonom.com/redirection-29a25b2013274d008a53132a722b3ca7)
fd 1
ํ์ค ์ถ๋ ฅ(๋ฎ์ด์ฐ๊ธฐ)
๋ช
๋ น์ด์ ํ์ค ์ถ๋ ฅ ์คํธ๋ฆผ์ ๋์ฐฉ ์ง์ ์ ํ์ผ๋ก ์ค์ (๋ฎ์ด์ฐ๊ธฐ)
- ํ์ค ์ถ๋ ฅ(์ถ๊ฐ)
๋ช
๋ น์ด์ ํ์ค ์ถ๋ ฅ ์คํธ๋ฆผ์ ๋์ฐฉ์ง์ ํ์ผ์ ๋ด์ฉ ์ถ๊ฐ
|
3ae2df9c3db2442d8f0b26b45cd18bc7
|
|
< - standard input
|
standard input
| null | null | null | null | null |
445d5a7b19554ca1ba2f36c07a0e97e7
|
|
> direct - standard output
|
standard output
| null | null | null | null | null |
> [Linux์์ ์ฝ์ ๋ด์ฉ์ ํ์ผ๋ก ์ ์ฅํ๊ธฐ](https://jundolssite.wordpress.com/2012/03/31/linux%EC%97%90%EC%84%9C-%EC%BD%98%EC%86%94-%EB%82%B4%EC%9A%A9%EC%9D%84-%ED%8C%8C%EC%9D%BC%EB%A1%9C-%EC%A0%80%EC%9E%A5%ED%95%98%EA%B8%B0/)
|
02026a0863e849d788382acdd66e346e
|
>> redirection
|
standard output
| null | null | null | null | null |
log ๊ฐ ์ค์ํ๋๊น ์ ์ด์ฉํด์
```typesudo echo > ~~ # permission denied```
์์์ redirection์ ํ๋ฉด child process๋ฅผ ์์ฑํ๊ณ ์์
์ ์ํํ๋ ๊ฒ์ธ๋ฐ, sudo๋ parent process์์ ์ ์ฉ๋ ๊ฒ์ด๋ฏ๋ก, child process์๋ ๋ฌด๊ด
- bash ์์์ ์คํ
```typesudo bash -c 'echo > ~~'```
- tee
```typeecho "abc" | sudo tee -a /root/testcat << "EOF" | sudo tee -a /root/test```
> [sudo ์ํ๋ก redirection ์ฌ์ฉํ๊ธฐ](https://infoarts.tistory.com/9)
|
29a25b2013274d008a53132a722b3ca7
|
Capture Standard Stream
|
Standard Stream Usages
|
Jul 27, 2022
|
Alan Jo
|
Alan Jo
|
Jul 27, 2022
|
[catp](https://github.com/rapiz1/catp)
|
855eb1f86b744e43bda3a4c9c05f291e
|
|
Standard Pipe
|
Standard Stream Usages
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Jul 18, 2023
|
[dt](https://github.com/booniepepper/dt)
|
# `|`
A|B ํํ๋ก ์ฌ์ฉํ๋๋ฐ, ์ด๋ง์ A ์ปค๋งจ๋์ ํ์ค ์ถ๋ ฅ์ B ์ปค๋งจ๋์ ํ์ค ์
๋ ฅ์ผ๋ก ์ฌ์ฉํ๋ค๋ ์๋ฏธ
๋ฆฌ๋ค์ด๋ ์
์ด ํ๋ก์ธ์ค์ ์
๋ ฅ ๋๋ ์ถ๋ ฅ์ ํ์ผ๋ก ์ฌ์ฉํ๋ ๊ฒ์ด๋ผ๋ฉด pipe๋ ์๋ก๋ค๋ฅธ ํ๋ก์ธ์ค๊ฐ ์๋ํ๋ ๋ฐฉ์
### try - catch
```typewhich ansible || { true # put your code to install ansible here}```
```typeif ! which ansible; then true # put your code to install ansible herefi```
### Pipe Structure
> [How fast are Linux pipes anyway?](https://mazzo.li/posts/fast-pipes.html)
### Pipe Usage
> [What does the linux pipe symbol "|" do?](https://superuser.com/questions/756158/what-does-the-linux-pipe-symbol-do)
|
17325821255b4d9d8b5a73aad87854d3
|
Linux Virtual Console
|
TTY Notion
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Apr 20, 2022
|

- Ctrl-Alt-F1 ~ F6 ํค์กฐํฉ์ผ๋ก ์ฌ์ฉํ ์์๋ OS ์์ ์ ๊ณตํ๋ ๊ฐ์์ฝ์
- ์ค์ ๋ฌผ๋ฆฌ์ ์ธ ์ฅ์น๊ฐ ์ฐ๊ฒฐ๋๊ฒ์ด ์๋๊ธฐ ๋๋ฌธ์ ์ปค๋์์ ํฐ๋ฏธ๋์ emulation
- ๋ฐฑ๊ทธ๋ผ์ด๋ getty ํ๋ก์ธ์ค์์ํด login prompt ๊ฐ ์ ๊ณต
> [Introduction](https://mug896.github.io/bash-shell/tty.html)
|
db8fc61d9a2d4ec8adab31cc157ad34b
|
|
PTY
|
TTY Notion
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
## Pseudo TTY
### terminal emulator
### PTYs
|Title|
|:-:|
|[SSH](https://texonom.com/ssh-f18d319e808a47d99ac9ec651c1dd9d4)|
|[xterm](https://texonom.com/xterm-2a1ca5cf4d0b4ab7bc24a224251ffda9)|
### PTY Notion
|Title|
|:-:|
|[PTY Structure](https://texonom.com/pty-structure-28c884033a364e9da03c260d7abf3ea8)|
|[PTM](https://texonom.com/ptm-3f17e2b1f5b94948986d5c80bcf34949)|
|[PTS](https://texonom.com/pts-57e2f75e404640a89f2c56b55597320b)|
> [Introduction](https://mug896.github.io/bash-shell/tty.html)
|
e7966a3ddea4489f8a91bc747b949541
|
|
TTY driver
|
TTY Notion
|
Apr 20, 2022
|
Alan Jo
|
Alan Jo
|
Apr 20, 2022
|
- session management
- line discipline
|
af223b1373d2498098ce9fc0e18a3f84
|
|
TTY History
|
TTY Notion
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Apr 20, 2022
|
Teletypewriter ๋ ์
๋ ฅ์ผ๋ก ํค๋ณด๋์ ์ถ๋ ฅ์ผ๋ก ๋ผ์ธํ๋ฆฐํฐ๋ฅผ ๊ฐ์ง๊ณ ์์ผ๋ฉฐ ํต์ ํ์ ์ด ์ฐ๊ฒฐ๋์ด์์๋ค
๋ฌธ์๋ฅผ ์น๋ฉด ์๋์ ์ผ๋ก ์ ์ ๋ถํธ๋ก ๋ฒ์ญ๋์ด ์ก์ ๋๊ณ , ์์ ์ธก์์๋ ๋ฐ๋๋ก ์์ ๋ ์ ์ ๋ถํธ๊ฐ ๋ฌธ์๋ก ๋ฒ์ญ๋์ด ์ถ๋ ฅ
์ปดํจํฐ์ ์ฐ๊ฒฐ๋์ด ์
,์ถ๋ ฅ์ ์ฌ์ฉ๋๊ธฐ๋ ํ์์ผ๋ฉฐ command line interface ์ ์์กฐ
์ดํ ์๋ฆฌ์ผ๋ผ์ธ์ผ๋ก ํฐ๋ฏธ๋์ด ์ฐ๊ฒฐ๋์ด ์ฌ์ฉ [SSLR ](https://texonom.com/sslr-a2f6119f0f6348028c993402cae1dab5)
### Great Historical Description
> [Introduction](https://mug896.github.io/bash-shell/tty.html)
|
6bb756d99eb549f686807fe82de277ab
|
|
PTM
|
PTY Notion
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
## pseudo terminal master
|
3f17e2b1f5b94948986d5c80bcf34949
|
|
PTS
|
PTY Notion
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
pseudo terminal slave
ํด๋นํ๋ device ๊ฐ /dev/pts/ ๋๋ ํ ๋ฆฌ์ ์์ฑ
|
57e2f75e404640a89f2c56b55597320b
|
|
PTY Structure
|
PTY Notion
|
Mar 11, 2023
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
### ์ฌ์ฉ์ ํ๋ก๊ทธ๋จ์์ ํฐ๋ฏธ๋์ emulation ํ๋๊ฒ
PTY ๋ master/slave pair ๋ก ์ด๋ฃจ์ด์ง๋๋ฐ /dev/ptmx ํ์ผ์ open ํ๋ฉด pseudo terminal master (PTM) ์ ํด๋นํ๋ file descriptor ๊ฐ ์์ฑ๋๊ณ pseudo terminal slave (PTS) ์ ํด๋นํ๋ device ๊ฐ /dev/pts/ ๋๋ ํ ๋ฆฌ์ ์์ฑ๋ฉ๋๋ค. ์ผ๋จ ๋ ptm ๊ณผ pts ๊ฐ open ๋๋ฉด /dev/pts/[๋ฒํธ] ๋ ์ค์ ํฐ๋ฏธ๋๊ณผ ๊ฐ์ ์ธํฐํ์ด์ค๋ฅผ ํ๋ก์ธ์ค์ ์ ๊ณตํฉ๋๋ค. ptm ์ write ํ ๋ฐ์ดํฐ๋ pts ์ input ์ผ๋ก, pts ์ write ํ ๋ฐ์ดํฐ๋ ptm ์ input ์ผ๋ก ์ฌ์ฉ๋ฉ๋๋ค. kernel ์ด ์ฒ๋ฆฌํ๋ ๋ ์ด์ด๊ฐ ์ค๊ฐ์ ๋ค์ด๊ฐ named pipe ์ ๋น์ทํ๋ค๊ณ ํ ์ ์์ต๋๋ค

- xterm, gnome-terminal, telnet, ssh...
virtual console ์์๋ ์ปค๋์์ ํฐ๋ฏธ๋์ emulation ํ๋ค๋ฉด, TTY driver ๊ฐ ์ ๊ณตํ๋ session management ๊ธฐ๋ฅ๊ณผ line discipline ์ ๊ทธ๋๋ก ์ฌ์ฉํ๋ฉด์ ์ฌ์ฉ์ ํ๋ก๊ทธ๋จ์์ ํฐ๋ฏธ๋์ emulation ํ๋๊ฒ
PTY ๋ master/slave pair ๋ก ์ด๋ฃจ์ด์ง๋๋ฐ /dev/ptmx ํ์ผ์ open ํ๋ฉด pseudo terminal master (PTM) ์ ํด๋นํ๋ file descriptor ๊ฐ ์์ฑ๋๊ณ pseudo terminal slave (PTS) ์ ํด๋นํ๋ device ๊ฐ /dev/pts/ ๋๋ ํ ๋ฆฌ์ ์์ฑ๋ฉ๋๋ค. ์ผ๋จ ๋ ptm ๊ณผ pts ๊ฐ open ๋๋ฉด /dev/pts/[๋ฒํธ] ๋ ์ค์ ํฐ๋ฏธ๋๊ณผ ๊ฐ์ ์ธํฐํ์ด์ค๋ฅผ ํ๋ก์ธ์ค์ ์ ๊ณตํฉ๋๋ค. ptm ์ write ํ ๋ฐ์ดํฐ๋ pts ์ input ์ผ๋ก, pts ์ write ํ ๋ฐ์ดํฐ๋ ptm ์ input ์ผ๋ก ์ฌ์ฉ๋ฉ๋๋ค. kernel ์ด ์ฒ๋ฆฌํ๋ ๋ ์ด์ด๊ฐ ์ค๊ฐ์ ๋ค์ด๊ฐ named pipe ์ ๋น์ท
xterm ์์ ls ๋ช
๋ น์ ์
๋ ฅํ๋ฉด `ptm -> line discipline -> pts `๋ฅผ ๊ฑฐ์ณ์ bash shell (user process) ์ ์ ๋ฌ๋๊ณ ๋ช
๋ น์ ์คํ ๊ฒฐ๊ณผ๊ฐ `pts -> line discipline -> ptm` ์ ํตํด์ xterm ์ ์ ๋ฌ๋๋ฉด xterm ์ ์ค์ ํฐ๋ฏธ๋๊ณผ ๊ฐ์ด ํ๋ฉด์ ํ์

> [Introduction](https://mug896.github.io/bash-shell/tty.html)
|
28c884033a364e9da03c260d7abf3ea8
|
|
SSH
|
PTYs
|
Dec 22, 2019
|
Alan Jo
|
Alan Jo
|
May 17, 2023
|
[Asymmetric Encryption](https://texonom.com/asymmetric-encryption-b16c01de44f3435da4bbe761408417a8) [.ssh/config](https://texonom.com/sshconfig-c298a654d61b472ba4058f80c18a9ad9)
|
### Secure Shell
### SSH Notion
|Title|
|:-:|
|[SSH Structure](https://texonom.com/ssh-structure-5f9261825304421aab63d2b3cc75921b)|
|[SSH Protocol](https://texonom.com/ssh-protocol-8e16f2f269344bc49fe03fbad44f1563)|
|[SSH Tunneling](https://texonom.com/ssh-tunneling-a35e0ac7bd70425ca5d37996eb4f0e29)|
### SSH Usages
|Title|
|:-:|
|[SSH Implementation](https://texonom.com/ssh-implementation-8b4000c4101a4c95bc79000623698ae7)|
|[SSH File](https://texonom.com/ssh-file-9f839f9b100a46f2a14df357dfb259be)|
|[SSH Proxy](https://texonom.com/ssh-proxy-4d3fe11b91f8495fb224ee68295dabfe)|
|[SSH Tool](https://texonom.com/ssh-tool-e835c8ca3cea42f1a07dc8bd0317bb27)|
|[SSH Error](https://texonom.com/ssh-error-8c2f85569dc04492a230638bb86ff3af)|
### SSH Ternal
> [A Visual Guide to SSH Tunnels (with labs)](https://iximiuz.com/en/posts/ssh-tunnels/)
### about passphrase
> [ssh agent ์ด์ฉํด private key ๊ด๋ฆฌํ๊ธฐ](https://yum3.tistory.com/69)
> [SSH Key - ๋น๋ฐ๋ฒํธ ์์ด ๋ก๊ทธ์ธ - ์๊ฒฉ์ ์ด](https://opentutorials.org/module/432/3742)
|
f18d319e808a47d99ac9ec651c1dd9d4
|
xterm
|
PTYs
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
Standard terminal emulator for X window System
pty์
[xterm js](https://texonom.com/xterm-js-79b43c4e7d9f4758b789513dd1620778)
|
2a1ca5cf4d0b4ab7bc24a224251ffda9
|
|
SSH Protocol
|
SSH Notion
|
Mar 20, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
8e16f2f269344bc49fe03fbad44f1563
|
||
SSH Structure
|
SSH Notion
|
Mar 15, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|


> [ftp, ftps, sftp(ssh) ๊ฐ๋
์ด ์ ๋ฆฌ](https://nhj12311.tistory.com/76)
|
5f9261825304421aab63d2b3cc75921b
|
|
SSH Tunneling
|
SSH Notion
|
Mar 31, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
[SOCKS Proxy](https://texonom.com/socks-proxy-113c673b1e6e4029b7775349be724584)
|
`-D` Option
|
a35e0ac7bd70425ca5d37996eb4f0e29
|
SSH Error
|
SSH Usages
|
Jun 28, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
### SSH Errors
|Title|
|:-:|
|[Connection timeout](https://texonom.com/connection-timeout-03259e19cd0347738a20aea0287221e8)|
|[port 22: Connection refused](https://texonom.com/port-22-connection-refused-d4c52677f8c940eb89c8ddc30725c758)|
|
8c2f85569dc04492a230638bb86ff3af
|
|
SSH File
|
SSH Usages
|
Mar 20, 2020
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
### ์ด์ ์์ด ์๋๋ฉด ๋ฌด์กฐ๊ฑด ๊ถํ๋ฌธ์ ๋ค - timeout
### SSH files
|Title|
|:-:|
|[.ssh/config](https://texonom.com/sshconfig-c298a654d61b472ba4058f80c18a9ad9)|
|[.ssh/known_hosts](https://texonom.com/sshknownhosts-7734195f375a4cb5b5c71374ad3fd1fe)|
|[.ssh/authorized_keys](https://texonom.com/sshauthorizedkeys-7ab9ce8dbd98481f8193382a4a0b9def)|
|[.ssh/id_rsa](https://texonom.com/sshidrsa-7ce009e09a0f401d9a8d670961482ef0)|
|[.ssh/id_rsa.pub](https://texonom.com/sshidrsapub-296cb0baf5654b37bafd61be04ae234d)|
### SSH file Notion
|Title|
|:-:|
|[SSH File Permission](https://texonom.com/ssh-file-permission-c7750470655c4ae79d5a72fe52d0f702)|
|[ssh cert file](https://texonom.com/ssh-cert-file-babe8154e494410fa63f6684f071f918)|
> [ssh returns "Bad owner or permissions on ~/.ssh/config"](https://serverfault.com/questions/253313/ssh-returns-bad-owner-or-permissions-on-ssh-config)
> [rangyu/TIL](https://github.com/rangyu/TIL/blob/master/ubuntu/SSH-%EB%A1%9C%EA%B7%B8%EC%9D%B8-%EC%A0%91%EC%86%8D-%EC%8B%9C-%ED%8D%BC%EB%AF%B8%EC%85%98-%EB%AC%B8%EC%A0%9C-UNPROTECTED-PRIVATE-KEY-FILE.md)
|
9f839f9b100a46f2a14df357dfb259be
|
|
SSH Implementation
|
SSH Usages
|
Mar 29, 2022
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
### SSH Implementations
|Title|
|:-:|
|[OpenSSH](https://texonom.com/openssh-81410e126eca4ce090d760ac1b6bdec7)|
|[Caddy SSH](https://texonom.com/caddy-ssh-e42fecfb9aae47acb8197b51d0b52afa)|
|[Gliderlabs SSH](https://texonom.com/gliderlabs-ssh-d8ac66afe61e4ae6ad5c457af79ef500)|
|[pssh](https://texonom.com/pssh-5a4d82c1b77c4eb9b244401c5062db7e)|
|
8b4000c4101a4c95bc79000623698ae7
|
|
SSH Proxy
|
SSH Usages
|
Jan 6, 2022
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
[MSA Proxy](https://texonom.com/msa-proxy-81f0c79b416d4efa8c49cdd25e7d24bf)
|
### SSH Proxy Tools
|Title|
|:-:|
|[Sish](https://texonom.com/sish-cc7132779a7f4fa489fa1b90f0d00871)|
|[NGrok](https://texonom.com/ngrok-1a493186432640ffbda20c6646bf5d8e)|
|[Serveo](https://texonom.com/serveo-10257a08adfa4ebaa8a0ba1534bd94f2)|
```type-R ${port}:host:${port}```
์ port๋ ๋ด ํฌํธ
๋ค host:port๋ ์๊ฒฉ๊ธฐ์ค routing
> [SSH Port Forwarding](https://jusths.tistory.com/102)
|
4d3fe11b91f8495fb224ee68295dabfe
|
SSH Tool
|
SSH Usages
|
Jun 13, 2022
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
### SSH Tools
|Title|
|:-:|
|[Charm wish](https://texonom.com/charm-wish-cfbe8c50b73a463cabcf87205a9ba9af)|
|[Sake CLI](https://texonom.com/sake-cli-a674f881e38e4bc3a8316298318f536f)|
|
e835c8ca3cea42f1a07dc8bd0317bb27
|
|
Connection timeout
|
SSH Errors
|
Jul 17, 2020
| null | null | null | null |
protocol ์ด ๊ฐ์ ํฌํธ๋ฅผ ์ฌ์ฉํ๋ค๊ณ ๋ชจ๋ ๋์นด๋์์ ์ ๋ณด๋ฅผ ๋ฐ์์ค์ง ๋ชปํ๋ ๊ฑด์ง
ssh ์ฐ๊ฒฐ ๊ณ์ timeout ๋์ port fowarding ์ผ๋ก ํ๋๋ฐ ์๋์ wifi ๋๋ ์๋ ๊ทผ๋ฐ lan ์์๋ ์๋๊ฑฐ๋ณด๋ ๋์นด๋ ๋ฌธ์ ๋ ์๋๊ฑฐ๊ฐ์๋ฐ ์จ๋ ๋์นด๋ ์ฌ๋ฌ๊ฐ๋ผ์ ip ์ถฉ๋๋ฌธ์ ์ธ์ง ํ์์๋ ์ ๋ ๋์
|
03259e19cd0347738a20aea0287221e8
|
null |
SSH Errors
|
Jun 17, 2020
| null | null | null | null |
```typesudo apt install openssh-serverssh-keygen -f "~/.ssh/known_hosts" -R "localhost"sudo ufw allow from any to any port 22 proto tcp```
|
d4c52677f8c940eb89c8ddc30725c758
|
ssh cert file
|
SSH file Notion
|
Dec 22, 2019
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
# pub
```type
- BEGIN SSH2 PUBLIC KEY
-Comment: "[email protected]"~
- END SSH2 PUBLIC KEY
-```
puttigen
```typechmod 700 ~/.ssh chmod 600 ~/.ssh/id_rsa chmod 644 ~/.ssh/id_rsa.pub chmod 644 ~/.ssh/authorized_keys chmod 644 ~/.ssh/known_hosts```
# ppk
```typePuTTY-User-Key-File-2: ssh-rsaEncryption: aes256-cbcComment: imported-openssh-keyPublic-Lines: 6~Private-Lines: 14~```
puttygen
# pem (or none)
```type
--BEGIN RSA PRIVATE KEY
--~
--END RSA PRIVATE KEY
--```
cloud ssh
|
babe8154e494410fa63f6684f071f918
|
|
SSH File Permission
|
SSH file Notion
|
Aug 20, 2020
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
```typechmod 700 ~/.sshchmod 600 ~/.ssh/id_rsachmod 644 ~/.ssh/id_rsa.pub chmod 644 ~/.ssh/authorized_keyschmod 644 ~/.ssh/known_hostschmod 600 ~/.ssh/config```
|
c7750470655c4ae79d5a72fe52d0f702
|
|
.ssh/authorized_keys
|
SSH files
|
Jun 8, 2020
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
### add authorized key
```typecat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys```
### add public key by echo
```typeecho "ssh-rsa blabla" >> ~/.ssh/authorized_keys```
|
7ab9ce8dbd98481f8193382a4a0b9def
|
|
.ssh/config
|
SSH files
|
Jan 18, 2022
|
Alan Jo
|
Alan Jo
|
May 17, 2023
|
```typeHost serverAHostName serverA_ipPreferredAuthentications publickeyIdentityFile your_keyUser youHost serverBHostname serverB_ipIdentityFile your_keyProxyJump serverAUser youLocalForward 8000:localhost:8000RemoteForward 9222 localhost:9222```
- `ProxyCommand` - proxy command to use
- `ProxyJump` - double ssh
- `DynamicForward` - [SOCKS Proxy](https://texonom.com/socks-proxy-113c673b1e6e4029b7775349be724584)
- `PreferredAuthentications` - publickey, password
- `LocalForward` - local to remote port access
- `RemoteForward` - remote to local port access
### Forward Port config
> [How to add local forward setting to my ssh config file?](https://serverfault.com/questions/1052158/how-to-add-local-forward-setting-to-my-ssh-config-file)
### Proxy Jump
> [Does vscode remote support double ssh?](https://stackoverflow.com/questions/57780250/does-vscode-remote-support-double-ssh)
### Remote Forward
> [Creating a ssh config for a reverse tunnel + local forward](https://unix.stackexchange.com/questions/498169/creating-a-ssh-config-for-a-reverse-tunnel-local-forward)
|
c298a654d61b472ba4058f80c18a9ad9
|
|
.ssh/id_rsa
|
SSH files
|
Jun 8, 2020
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
- change format private
```typeumask 077openssl pkey < id_rsa > id_rsa.pkcs8ssh-add id_rsa.pkcs8```
> [ssh: Error loading key "./id_rsa": invalid format](https://superuser.com/questions/1370877/ssh-error-loading-key-id-rsa-invalid-format)
|
7ce009e09a0f401d9a8d670961482ef0
|
|
.ssh/id_rsa.pub
|
SSH files
|
Jun 8, 2020
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
- public
```typessh-keygen -f ~/.ssh/id_rsa -y > ~/.ssh/id_rsa.pub```
|
296cb0baf5654b37bafd61be04ae234d
|
|
.ssh/known_hosts
|
SSH files
|
Jun 8, 2020
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
๋ง๊ทธ๋๋ก ์๊ณ ์๋ ํธ์คํธ ๋ฑ๋ก
ip port ๋ฑ ๊ฐ ๊ฐ์๋ฐ ๊ฐ ๋ฐ๋๋ฉด ์ ์ ์ฐจ๋จ๋
passphrase ๋ pvrivate key ๋๊ฐ ๊ฐ์ ธ๋ ๋ชป์ฐ๊ฒ ํ๋ ์ฉ๋๊ทผ๋ฐ
```typessh-keyscan -H host >> ~/.ssh/known_hosts```
์ ํ๋ฉด passphrase ์์ด ํ์ผ๋ก ์ ์๋
|
7734195f375a4cb5b5c71374ad3fd1fe
|
|
Caddy SSH
|
SSH Implementations
|
Mar 29, 2022
| null | null | null |
[caddy-ssh](https://github.com/mohammed90/caddy-ssh) [Caddy](https://texonom.com/caddy-1bb1d839d33c41ddb4a4d73e4613f968)
|
> [Introducing Caddy-SSH](https://www.caffeinatedwonders.com/2022/03/28/new-ssh-server)
|
e42fecfb9aae47acb8197b51d0b52afa
|
Gliderlabs SSH
|
SSH Implementations
|
Dec 9, 2021
| null | null | null |
[ssh](https://github.com/gliderlabs/ssh)
|
d8ac66afe61e4ae6ad5c457af79ef500
|
|
OpenSSH
|
SSH Implementations
|
Mar 29, 2022
| null | null | null |
81410e126eca4ce090d760ac1b6bdec7
|
||
pssh
|
SSH Implementations
|
Mar 2, 2020
| null | null | null |
### yum apt
### python non command usage
```typepip install parallel-ssh```
list
```typeroot@[email protected]@[email protected]@[email protected]```


- A is password option
```typepssh -h list -A ls```
> [[PSSH] Linux Parallel-ssh ๋ช
๋ น์ด](https://tech.sangron.com/archives/127)
|
5a4d82c1b77c4eb9b244401c5062db7e
|
|
NGrok
|
SSH Proxy Tools
|
May 3, 2020
| null | null | null |
[Port Forwarding](https://texonom.com/port-forwarding-6a43151162ca4b9cab24ea6323ae77df)
|
ngrok์ NAT์ ๋ฐฉํ๋ฒฝ ๋ค์ ์๋ ๋ก์ปฌ ์๋ฒ๋ฅผ ์์ ํ ํฐ๋์ ํตํด ๊ณต๊ฐ ์ธํฐ๋ท์ ๋
ธ์ถ์์ผ ์ฃผ๋ ๋๊ตฌ
์ธ๋ถ ๋คํธ์ํฌ ํ๊ฒฝ์์ ๋ธ๋ผ์ฐ์ ๋ฅผ ์ด๊ณ [http://7e78ace7.ngrok.io](http://7e78ace7.ngrok.io/) ์
๋ ฅํ๋ฉด ๋ก์ปฌ์ ์คํ ์ค์ธ ์๋ฒ 8080 ํฌํธ๋ก ์ ์ํ์ฌ ํ์ธํ ์ ์์ต๋๋ค.
```typengrok tcp 3389```
> [ngrok - Online in One Line](https://ngrok.com/)
> [ngrok์ผ๋ก ์ธ๋ถ์์ ๋ก์ปฌ ์๋ฒ ์ ์ ํ๊ฒฝ ๊ตฌ์ฑ](https://phoby.github.io/ngrok/)
|
1a493186432640ffbda20c6646bf5d8e
|
Serveo
|
SSH Proxy Tools
|
Jan 6, 2022
| null | null | null |
10257a08adfa4ebaa8a0ba1534bd94f2
|
||
Sish
|
SSH Proxy Tools
|
Jan 6, 2022
| null | null | null |
[SNI](https://texonom.com/sni-d384c822b9bc4b5b8f0d717b4de14fb3) [TCP Protocol](https://texonom.com/tcp-protocol-683de2cc343b4ac8b6e7e3467a4a174f) [HTTP](https://texonom.com/http-0300de7ff8bb4d0791d8bb4534b3c741) [WebSocket](https://texonom.com/websocket-2b3e61c445704afd9fa1c691aa83f76f) [sish](https://github.com/antoniomika/sish)
|
HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH
|
cc7132779a7f4fa489fa1b90f0d00871
|
Charm wish
|
SSH Tools
|
Dec 9, 2021
| null | null | null | null |
[wish](https://github.com/charmbracelet/wish)
|
cfbe8c50b73a463cabcf87205a9ba9af
|
Sake CLI
|
SSH Tools
|
Jun 13, 2022
| null | null | null | null |
[sake](https://github.com/alajmo/sake)
|
a674f881e38e4bc3a8316298318f536f
|
xterm js
|
xterm
| null | null | null | null | null |
> [Xterm.js](https://xtermjs.org/)
|
79b43c4e7d9f4758b789513dd1620778
|
getty
|
TTY Usages
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Apr 20, 2022
|
### get tty
๋ฌผ๋ฆฌ์ ํฐ๋ฏธ๋์ด๋ ๊ฐ์ ํฐ๋ฏธ๋(TTYs)์ ๊ด๋ฆฌํ๋ ํธ์คํธ ์ปดํจํฐ์์ ์คํ๋๋ ์ ๋์ค ํ๋ก๊ทธ๋จ
์ฐ๊ฒฐ์ ๊ฐ์งํ๋ฉด ์ฌ์ฉ์ ์ธ์ฆ์ ์ํด ์ฌ์ฉ์ ์ด๋ฆ์ ๋ฌผ์ด๋ณธ ๋ค์ 'login' ํ๋ก๊ทธ๋จ์ ์คํ
|
ea154a7c778f4baaa97a844e4fb4cc20
|
|
TTU Control
|
TTY Usages
|
Apr 20, 2022
|
Alan Jo
|
Alan Jo
|
Apr 20, 2022
|
### TTU Control Keys
|Title|
|:-:|
|[^M](https://texonom.com/m-8a84ef0caa89476f9eaf8314848aab6e)|
|[^Cย (intr)](https://texonom.com/cintr-a5e0b82334884ed3b4e53ec436e86c13)|
|[^Dย (eof)](https://texonom.com/deof-cc212fe5b5334f72853b2c20cd63d5cd)|
|[^\ย (quit)](https://texonom.com/quit-cee14196b2e340e1874c89ab8e93e30e)|
|[^Sย (stop)](https://texonom.com/sstop-23bb6637780c4f0bb20307c0e02fdf8e)|
|[^Qย (start)](https://texonom.com/qstart-6a14f2f83aff4c4fbd96bfbbd9152316)|
|[DELย orย ^?ย (erase)](https://texonom.com/delorerase-f33fef92f9764e54bdb05750b5cb3b74)|
|[^U](https://texonom.com/u-5ef5dab585c84f899c43125fc249e5a1)|
|[^Zย (susp)](https://texonom.com/zsusp-12d8ad27e3854231953971942e2de8d5)|
> SIGHUP (hangup) ์ ํธ๋ ํฐ๋ฏธ๋์ด ์์ด์ก์์ ์๋ฏธ
> [Introduction](https://mug896.github.io/bash-shell/tty.html)
> [[unix ์์คํ
๊ธฐ์ด] ๋ฆฌ๋
์ค ์ ๊ธฐ์ด ์ด๋ก ์ธ TTY์ PTS, PTY์ ๋ํด์ ์์๋ณด์.](https://cosmosproject2015.tistory.com/143)
|
221fb644f5524d7ba3b846ba2aa86fd4
|
|
TTY Access
|
TTY Usages
|
Apr 20, 2022
|
Alan Jo
|
Alan Jo
|
Apr 20, 2022
|

command line - [linux tty](https://texonom.com/linux-tty-265b76483ac84dcaac36f0857ad65d4f)
- `alt + ctrl + f1~6` : cli
- else : xwindows (pts/n)
xwindows์์ ์๋ํ๋ ๊ฐ์ ์ฝ์์ pts๋ก์จ ๋์ ํ๋ค๊ณ ๋งํ์ง๋ง ์ด๊ฒ์ ๊ผญ ๋ค๋ฅธ xwindows ์์๋ง ์ถ๊ฐ ๋๋ ๊ฒ์ด ์๋๋ผ๋์ผํ xwindos ๋ฐ์คํฌํ ์์ ํฐ๋ฏธ๋-gui ์ ์ด๋ ๋ง๋ค ์ถ๊ฐ ๋๋ค.
> ํ์ง๋ง ๋ง์ฝ ๋ณด์ ํด์ธ selinux ๋ฅผ 'ecforce'๋ก์จ ์๋ํ์ฌ ์ฌ์ฉํ๊ณ ์๋ค๋ฉด ์ฌ์ฉ์๋ ๋ค๋ฅธ tty๋ก ์ ๊ทผ์ด ๋ถ๊ฐํ ๋ฟ๋ง์ด ์๋๋ผ ๋ค๋ฅธ pts, pty์ ์ธ๋ถ์์์ ์ ๊ทผ์ด ๋ถ๊ฐ ํ๋ค.
### tty๋ฅผ ์ฌ์ฉํ๊ธฐ ์ํด์๋ selinux๋ฅผ 'permissive'๋ก ์ ์ฑ
์ ๋ฐ๊ฟ์ค์ผ ํ๋ค
- ์ธ๋ถ ํฐ๋ฏธ๋ ์ฅ์น ์ฐ๊ฒฐ

- Virtual Console - `ctrl+alt+f1-6`

- pseudo tty (normal terminal) - pty

> [[unix ์์คํ
๊ธฐ์ด] ๋ฆฌ๋
์ค ์ ๊ธฐ์ด ์ด๋ก ์ธ TTY์ PTS, PTY์ ๋ํด์ ์์๋ณด์.](https://cosmosproject2015.tistory.com/143)
|
d13c648fe2f94d7fbb6a1c1d603c0b6c
|
|
^Cย (intr)
|
TTU Control Keys
| null | null | null | null | null |
a5e0b82334884ed3b4e53ec436e86c13
|
|
DELย orย ^?ย (erase)
|
TTU Control Keys
| null | null | null | null | null |
f33fef92f9764e54bdb05750b5cb3b74
|
|
^Dย (eof)
|
TTU Control Keys
| null | null | null | null | null |
cc212fe5b5334f72853b2c20cd63d5cd
|
|
^M
|
TTU Control Keys
| null | null | null | null | null |
8a84ef0caa89476f9eaf8314848aab6e
|
|
^Qย (start)
|
TTU Control Keys
| null | null | null | null | null |
6a14f2f83aff4c4fbd96bfbbd9152316
|
|
^\ย (quit)
|
TTU Control Keys
| null | null | null | null | null |
cee14196b2e340e1874c89ab8e93e30e
|
|
^Sย (stop)
|
TTU Control Keys
| null | null | null | null | null |
23bb6637780c4f0bb20307c0e02fdf8e
|
|
^U
|
TTU Control Keys
| null | null | null | null | null |
5ef5dab585c84f899c43125fc249e5a1
|
|
^Zย (susp)
|
TTU Control Keys
| null | null | null | null | null |
12d8ad27e3854231953971942e2de8d5
|
|
CLI Package
|
Shell Usages
|
Jun 7, 2021
|
Alan Jo
|
Alan Jo
|
May 22, 2023
|
[Terminal Multiplexer](https://texonom.com/terminal-multiplexer-1d8ed146c0424c72810f497f13ab4128)
|
### CLI Packages
|Title|
|:-:|
|[Linux File Package](https://texonom.com/linux-file-package-446e75fd639946a592be10105664e00b)|
|[Snapshot Package](https://texonom.com/snapshot-package-2246ab50f13b4379bc0dc3cbc1b04a84)|
|[Linux Network Package](https://texonom.com/linux-network-package-66b7d1c57e1a44549e4d8054c370616f)|
|[Linux Process Packages](https://texonom.com/linux-process-packages-f4a0eac386f145928b6592c0a18b1293)|
|[Linux User Packages](https://texonom.com/linux-user-packages-2a0e2d63063b4beca36102b5af0a1d99)|
|[Linux Command Package](https://texonom.com/linux-command-package-0ad221be6b794d97bf0b6f60d0d3fd78)|
|[Linux Hardware Package](https://texonom.com/linux-hardware-package-0407c310ff6747f1bdee4f2784882a41)|
|[Linux Protocol Package](https://texonom.com/linux-protocol-package-6809e94af658481cbb5bf6b6c33e5a7e)|
|[Linux Development Package](https://texonom.com/linux-development-package-2f7d0138056440d7931f584fcc63a94a)|
|[Linux Meta Packages](https://texonom.com/linux-meta-packages-d23bd0eb089d4cb6aa0d855928bbebd1)|
|[Linux Memory Packages](https://texonom.com/linux-memory-packages-39759a2696e640429043310fd9a6546b)|
|[Linux System Package](https://texonom.com/linux-system-package-b7dfb6ee924d45559ce24c3baf82f228)|
|
c2abd9031621434b8154554c6e0139ad
|
Shell Broadcasting
|
Shell Usages
|
Mar 2, 2020
|
Alan Jo
|
Alan Jo
|
May 16, 2022
|
- hyper broadcasting
- tmux broadcasting
|
c318278a5aaa4e27a3b0780d08008f30
|
|
Shell Environment
|
Shell Usages
|
Mar 29, 2022
|
Alan Jo
|
Alan Jo
|
Apr 2, 2022
|
### Shell Environment Tools
|Title|
|:-:|
|[direnv](https://texonom.com/direnv-5b5d8f30665f470e97d4d604c0883fc0)|
|[zenv](https://texonom.com/zenv-953da835d1b74f9192fa444a22932c48)|
|[Shell Environment Convention](https://texonom.com/shell-environment-convention-99b57c844d61422aae174d26e79a08a0)|
|
0cd72b897d994b3ea47a3d813ffe4bdd
|
|
Shell Font
|
Shell Usages
|
Mar 21, 2021
|
Alan Jo
|
Alan Jo
|
Aug 27, 2021
|
[powerline](https://texonom.com/powerline-02c5f19e481a40ab8a4ad03e4ef79dfb)
|
4a381ace070d4a24bb43956ba652b6ac
|
|
Shell Global
|
Shell Usages
|
Jan 24, 2020
|
Alan Jo
|
Alan Jo
|
Aug 27, 2021
|
### System wide
- `etc/profile`
- `etc/environment`
- `etc/xprofile`
- `/etc/<shell>.<shell>rc`
- `/etc/environment.d/*.conf`
### sesion
### BEST description
> [How to permanently set $PATH on Linux/Unix?](https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix)
|
8f5503f34077489a9022c5b07c38b116
|
|
Shell Implementation
|
Shell Usages
|
May 16, 2021
|
Alan Jo
|
Alan Jo
|
Jul 27, 2022
|
### Shell Script Language
### Shells
|Title|
|:-:|
|[ZSH](https://texonom.com/zsh-74e30ef283ce49ffa784c5637fc26edd)|
|[Bash](https://texonom.com/bash-0f120f826c21451d967c3bcd909c1b8c)|
|[aish](https://texonom.com/aish-0a80cb6fcaf64406bba07f6b4e6225c7)|
|[Hush](https://texonom.com/hush-6cc73bff92fc4e09a1e77a20997c44a2)|
|[Fish Shell](https://texonom.com/fish-shell-acb9d7c0c9af4feba36f499eb9d70497)|
|[Xonsh](https://texonom.com/xonsh-d55b24d1a489481490fe9238affda47b)|
|[Murex Rocks](https://texonom.com/murex-rocks-0738382c431e450ab905a85ba5a5ebf1)|
|
bdca900a6c45471a9f460cb6d262fd06
|
|
Shell Script
|
Shell Usages
|
Jul 29, 2022
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
### Shell Script Usages
|Title|
|:-:|
> [Shell Script Best Practices โ The Sharat's](https://sharats.me/posts/shell-script-best-practices/)
|
ea915b0a5fbf464ea95e13ad082f8830
|
|
Shell Shortcuts
|
Shell Usages
|
Nov 1, 2020
|
Alan Jo
|
Alan Jo
|
Aug 27, 2021
|
- `esc` + `.`

|
f5bcfeb267c745559809b35b88e9c84e
|
|
Shell Tool
|
Shell Usages
|
Aug 27, 2021
|
Alan Jo
|
Alan Jo
|
May 22, 2023
|
[Command](https://texonom.com/command-22acb6b0064d4771b4e93f5cd8cf20db) [TUI](https://texonom.com/tui-7ff9c6ae959748e0b378ffe39231a723)
|
### Shell Tools
|Title|
|:-:|
|[Terminal Software](https://texonom.com/terminal-software-a8f2f095d25243b39345fb180af7bb19)|
|[Shell Framework](https://texonom.com/shell-framework-a402d048cae0491f8cf65d50c850b6f0)|
### Terminal Addons
|Title|
|:-:|
|[Fig](https://texonom.com/fig-d6779dbc634c477f84b94e3bbdec5806)|
|[pyWhat](https://texonom.com/pywhat-1723be6999e8439cbc28a989a036db0e)|
|[Shortkut](https://texonom.com/shortkut-77139e23e6b64385a161cc952be4c49e)|
|[Terminal Recording](https://texonom.com/terminal-recording-8dba13d2c7424b6bb2e733f7ce1c37a8)|
|[Try cmd](https://texonom.com/try-cmd-d1621cf04c5e470fa6afa7c7302a63b5)|
### AI CLI
|Title|
|:-:|
|[Github Copilot CLI](https://texonom.com/github-copilot-cli-11a5aeeb44824b87942dde9c09eb8f58)|
|[Builder.io AI Shell](https://texonom.com/builderio-ai-shell-15f8dfd77af64846ba3248e018dc2960)|
|
771f3d0d294d4d40884a61f3361cb914
|
Linux Command Package
|
CLI Packages
|
Jan 10, 2020
|
Alan Jo
|
Alan Jo
|
Mar 21, 2023
|
[Shell Tool](https://texonom.com/shell-tool-771f3d0d294d4d40884a61f3361cb914) [Command](https://texonom.com/command-22acb6b0064d4771b4e93f5cd8cf20db)
|
### Linux Execute Packages
|Title|
|:-:|
|[cron](https://texonom.com/cron-cae0c084f6784063b0b443db2bb215e0)|
|[dmesg](https://texonom.com/dmesg-f1a3d21a47da4b6e87ea7a8e4ae38c05)|
|[man](https://texonom.com/man-bd39209d8fc44c87aaa9b2ef302394d0)|
|[linux tldr package](https://texonom.com/linux-tldr-package-ee602bc1e47c4e5d8165ff3b0af7e82b)|
|[wcn](https://texonom.com/wcn-55a015fda40143d1a6ba437974ca72ff)|
|[crontab](https://texonom.com/crontab-7f8b916c6c5945eaa9a44a2a8fb663eb)|
|[screen](https://texonom.com/screen-f3240bc63f4a41deac6756d54c44e06b)|
|[ldd](https://texonom.com/ldd-efae8135225b4b20ae3390a376f66d23)|
|[expect](https://texonom.com/expect-f9e53fa96e384d7d91f4006484ec95db)|
|[linux time package](https://texonom.com/linux-time-package-73b73d7cfd0a429aab9469029e890e76)|
### Linux Terminal Packages
|Title|
|:-:|
|[cd](https://texonom.com/cd-83b00f92e92045f4bff815a8d71aef9d)|
|[Terminal File Explorer](https://texonom.com/terminal-file-explorer-62267618402140b19488b27300e86e72)|
|[linux tty](https://texonom.com/linux-tty-265b76483ac84dcaac36f0857ad65d4f)|
|[figlet](https://texonom.com/figlet-73d1040b05ea46c58de7f4db557aaf39)|
|[linux fortune](https://texonom.com/linux-fortune-283e8675c184425da5ad343d3294ec7e)|
|[cowsay](https://texonom.com/cowsay-4443c98fb8dc4d74bf6cf093b62e24c9)|
|[rev](https://texonom.com/rev-678299bb96f54f16b772175a565c4dca)|
|[toilet](https://texonom.com/toilet-56988fd5854d4b918c6af52d8d6c4fba)|
|[cmatrix](https://texonom.com/cmatrix-78db4d318d684ea295658ba0bf12c3fb)|
|[aafire](https://texonom.com/aafire-7fa8ec9ca98c432c966c7ad11ba91a32)|
### Linux Console Packages
|Title|
|:-:|
|[history package](https://texonom.com/history-package-93def17203854d378c2f2ef2f1686321)|
|[date command](https://texonom.com/date-command-7f0baa7c6b5745dd8f5cd7de43018098)|
|[uptime](https://texonom.com/uptime-4856b54cc00945bb9112bb10782045db)|
|[cmatrix](https://texonom.com/cmatrix-e3d7e1c98d854887b08996859799198f)|
|[xargs](https://texonom.com/xargs-45c5a870edd04780a1d5ad9518a8657d)|
|[jog](https://texonom.com/jog-5f0b74271a1047d9a6babbcd652c961a)|
> [Run command every second in Bash?](https://stackoverflow.com/questions/9299704/run-command-every-second-in-bash)
|
0ad221be6b794d97bf0b6f60d0d3fd78
|
Linux Development Package
|
CLI Packages
|
Jan 25, 2020
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
### Linux Development Packages
|Title|
|:-:|
|[Ctag](https://texonom.com/ctag-4cbc1e7aaa0d4b59b0c3def9ff08e0c7)|
|
2f7d0138056440d7931f584fcc63a94a
|
|
Linux File Package
|
CLI Packages
|
Jan 6, 2020
|
Alan Jo
|
Alan Jo
|
Dec 30, 2022
|
### Linux File Packages
|Title|
|:-:|
|[Linux File Read Package](https://texonom.com/linux-file-read-package-fee0f9b13a3242188ac9349ceb778e2a)|
|[Linux Directory Package](https://texonom.com/linux-directory-package-87cddf9cb0c14a71bd9d51c58cdc8fd2)|
|[Linux File Edit Package](https://texonom.com/linux-file-edit-package-61ffb36a3aa84a31a74d2a037e6e50d2)|
|[Linux File Meta Package](https://texonom.com/linux-file-meta-package-890e3a59ff4945de85dd4c85883a8b48)|
|[Linux Dummy File Package](https://texonom.com/linux-dummy-file-package-106e5b6667624719b90f4b5ce734bb54)|
|[Linux Sync Package](https://texonom.com/linux-sync-package-8c7d04027f7c4fe6bfcf5ad2f7e09f83)|
|[Linux File Permission Package](https://texonom.com/linux-file-permission-package-e4e199e1f2334eee91417d365dfa2e6d)|
### Linux Log Packages
|Title|
|:-:|
|[audit2why](https://texonom.com/audit2why-22cbac81a97e4bafac7213ba49283f37)|
|[whatfiles](https://texonom.com/whatfiles-33890b4b265b4e4eab7076c3524bcec4)|
|[dos2unix](https://texonom.com/dos2unix-1a001b5c18724a45bffc491ec27c3a64)|
|
446e75fd639946a592be10105664e00b
|
|
Linux Hardware Package
|
CLI Packages
|
Jan 10, 2020
|
Alan Jo
|
Alan Jo
|
Apr 16, 2023
|
### Linux Hardware Packages
|Title|
|:-:|
|[inxi](https://texonom.com/inxi-4872beb5fd8340ebb58de3af3e516127)|
|[lsusb](https://texonom.com/lsusb-23c3030d9a2c4a6781aabd6ede25a7eb)|
|[lspci](https://texonom.com/lspci-740f1386add94095bd992086d36e93c2)|
|[dmsg](https://texonom.com/dmsg-16c05e9494d04edf9611e9f693960289)|
> [Basic Linux Commands to Check Hardware and System Information](https://medium.com/technology-hits/basic-linux-commands-to-check-hardware-and-system-information-62a4436d40db)
|
0407c310ff6747f1bdee4f2784882a41
|
|
Linux Memory Packages
|
CLI Packages
|
May 21, 2020
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
### Kind of Linux Memory Packages
|Title|
|:-:|
|[oomd](https://texonom.com/oomd-afa198e504804f049bfaafb78c35d3ed)|
|[psi-notify](https://texonom.com/psi-notify-7c13db05d1624261935629e65e6fd22e)|
|[psi - linux package](https://texonom.com/psi--linux-package-d98cecd1a44d4d3587d28672c7a840a8)|
|
39759a2696e640429043310fd9a6546b
|
|
Linux Meta Packages
|
CLI Packages
|
May 6, 2020
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
### Kind of Linux Meta Packages
|Title|
|:-:|
|[cubic linux package](https://texonom.com/cubic-linux-package-0d129aaab0114d1ab2c575857dfea9ed)|
|[plymouth-x11](https://texonom.com/plymouth-x11-55c99f6995c349e99f4497a72441e936)|
|
d23bd0eb089d4cb6aa0d855928bbebd1
|
|
Linux Network Package
|
CLI Packages
|
Jan 6, 2020
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
### Linux Network Packages
|Title|
|:-:|
|[wget](https://texonom.com/wget-173383139f044b47a8496a89265a56bb)|
|[axel](https://texonom.com/axel-aec48015e3274995b270b1ae3c2b09b6)|
|[firewalld](https://texonom.com/firewalld-af7f620152dd4e61ad5dd5411ad82b07)|
|[ip linux package](https://texonom.com/ip-linux-package-17659278cdc7496a9447d6839441dc01)|
|[dig linux package](https://texonom.com/dig-linux-package-2f129c01a02f473bb1a7dc58516d54e9)|
|[cURL](https://texonom.com/curl-6f8c058e19334eb287dd777fbea6cba5)|
|[check port](https://texonom.com/check-port-373de37e57a7463d9322d3f0214336b5)|
|[mtr](https://texonom.com/mtr-a7837dda7ca94bd9aeea48710c0a6129)|
|[traceroute](https://texonom.com/traceroute-e1e063d9d4f7476c9950df941da00fb3)|
|[etherwake](https://texonom.com/etherwake-71bb8e31ed644912a701aaf2a6fcad17)|
|[netstat](https://texonom.com/netstat-e9f6532e016f49fbb76cea2691f16c95)|
|[telnet](https://texonom.com/telnet-7f9bf2e3527e4f85b1d84aed0ddbea81)|
|[gping](https://texonom.com/gping-1f3a029a8a2642b2a94095fa5a4dd8c8)|
|[ping](https://texonom.com/ping-b4f0fd711f6b4b788d9ddbba59e1b187)|
|[hurl](https://texonom.com/hurl-5f1aa058f263422b96edbab2b4756902)|

|
66b7d1c57e1a44549e4d8054c370616f
|
|
Linux Process Packages
|
CLI Packages
|
Jan 7, 2020
|
Alan Jo
|
Alan Jo
|
Apr 16, 2023
|
### Linux Monitor Packages
|Title|
|:-:|
|[netstat](https://texonom.com/netstat-a0c9d5ad184044f6a4ae45e7f533c872)|
|[top cli](https://texonom.com/top-cli-008bf7b85bec4b6fa3fcc273812c6c5e)|
|[procps](https://texonom.com/procps-331d1847a9104c5eb507c83d117c19bf)|
|[conky](https://texonom.com/conky-1dddfd2c7921474d9ac79f329bf4379c)|
|[s-tui](https://texonom.com/s-tui-4e506f617fce444a9ff8d5547067df45)|
|[procs](https://texonom.com/procs-7b1af25a38cf4613996fff64a56dcc1c)|
|[glances](https://texonom.com/glances-fd3d31af729443c6ae8b543941e88887)|
|[gpustat](https://texonom.com/gpustat-287864bf470044b4a9729713929d55e6)|
|[gmonitor](https://texonom.com/gmonitor-957fc341f88142b8ae5185b9d44deb4a)|
### Linux Process Management Packages
|Title|
|:-:|
|[init.d](https://texonom.com/initd-c9b5f6b8fb8d4601bc60b17da1f6c83f)|
|[kill cli](https://texonom.com/kill-cli-6b4089004ffd4579a267f1310ccc810d)|
|[startx](https://texonom.com/startx-237dd0a0c3854bde9aaff528e7e3ddb0)|
|[start](https://texonom.com/start-365c25e8182c4e41be9bc17fa110b33c)|
|[pkill](https://texonom.com/pkill-7f56689f3a1e409d84f127b4635ae2e5)|
### Linux Remote Process Packages
|Title|
|:-:|
|[Outrun](https://texonom.com/outrun-416218a373e64860af485e0467944cc8)|
### Linux Process Benchmark Tools
|Title|
|:-:|
|[hyperfine](https://texonom.com/hyperfine-37c4738a8113464aaf7ff049ea85f255)|
|
f4a0eac386f145928b6592c0a18b1293
|
|
Linux Protocol Package
|
CLI Packages
|
Jan 10, 2020
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
### Linux Protocol Packages
|Title|
|:-:|
|[rsyslog](https://texonom.com/rsyslog-5a1753cc30eb4799ae61fa9f5b55d80c)|
|[sendEmail](https://texonom.com/sendemail-5bf77a88243349418a42125a7b303623)|
|
6809e94af658481cbb5bf6b6c33e5a7e
|
|
Linux System Package
|
CLI Packages
|
Dec 13, 2020
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
### Linux System Info Packages
|Title|
|:-:|
|[uname](https://texonom.com/uname-df30be750c1743b5afb5dbe7a838f8d1)|
|[lshw](https://texonom.com/lshw-5a96afcfb902438697593d6885bd9bd0)|
|[lscpu](https://texonom.com/lscpu-859019b81d18421ea3b0901ed34b5ad0)|
|[inxi](https://texonom.com/inxi-f78af3c01a0e4794bd2f82e2dc1f1d76)|
|[lsusb](https://texonom.com/lsusb-40e6c582dd584976a588609d44c6c5e9)|
|[hostname](https://texonom.com/hostname-1c8d8c135141482db9bd6230e6cf78f8)|
|[lsblk](https://texonom.com/lsblk-5d0f9926afc145f18e4d064e903a2537)|
|[/proc/cpuinfo](https://texonom.com/proccpuinfo-2babb1a8291b4f84a65beb68a7724844)|
|[hardinfo](https://texonom.com/hardinfo-66fa4f2a7770402894babc2bbda1a5de)|
|[nproc](https://texonom.com/nproc-e8c39f49e2684aaaa34286ac44eb8638)|
|[dmidecode](https://texonom.com/dmidecode-8284d367bd444edf927d393b70f0417f)|
|[cpuid](https://texonom.com/cpuid-0d079dc9848a4d9db1a1d5a6a8b862dd)|
### Linux System Control Packages
|Title|
|:-:|
|[systemctl](https://texonom.com/systemctl-2a8aee8235e84097b9b758bdee09759b)|
|[sysctl](https://texonom.com/sysctl-82c1581912ba49d7a1a30872db542d67)|
> [๋ฆฌ๋
์ค์์ CPU ์ ๋ณด๋ฅผ ํ์ธํ๋ 8๊ฐ์ง ๋ช
๋ น์ด (cpuinfo, lscpu, hardinfo, lshw, nproc, dmidecode, cpuid, inxi)](https://skylove1982.tistory.com/394)
|
b7dfb6ee924d45559ce24c3baf82f228
|
|
Linux User Packages
|
CLI Packages
|
Jan 7, 2020
|
Alan Jo
|
Alan Jo
|
Apr 16, 2023
|
### Linux User Packages
|Title|
|:-:|
|[userdel](https://texonom.com/userdel-8a11b71751ed4d0d828b7b2be3cdd20f)|
|[adduser](https://texonom.com/adduser-9fb88828429c4c4abd548d5abea5405b)|
|[su](https://texonom.com/su-e3dc7554ce2943bbb9f894a492df8516)|
|[loginctl](https://texonom.com/loginctl-b934b9e484364b219097d53c44588f6d)|
|[chmod](https://texonom.com/chmod-27397f3ff22d4e5badabb0013aab30f9)|
|[usermod ](https://texonom.com/usermod-25d74eae86a74bf786740ae6057ce34c)|
|[whoami](https://texonom.com/whoami-5a075c6e1e9641af8c002efccc64861a)|
> [How To Create a Sudo User on CentOS [Quickstart] | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-create-a-sudo-user-on-centos-quickstart)
|
2a0e2d63063b4beca36102b5af0a1d99
|
|
Snapshot Package
|
CLI Packages
|
Jan 6, 2020
|
Alan Jo
|
Alan Jo
|
May 23, 2023
|
### Snapshot Packages
|Title|
|:-:|
|[clonezilla](https://texonom.com/clonezilla-7258a02c665b43edb0fd21c28484f4fe)|
|[timeshift](https://texonom.com/timeshift-6a0ed2149735458db48c7e825280cd82)|
|
2246ab50f13b4379bc0dc3cbc1b04a84
|
|
cmatrix
|
Linux Console Packages
|
Mar 7, 2021
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
> [20 amusing Linux commands to have fun with the terminal](https://www.binarytides.com/linux-fun-commands/)
|
e3d7e1c98d854887b08996859799198f
|
|
date command
|
Linux Console Packages
|
Jan 10, 2020
|
Alan Jo
|
Alan Jo
|
Jun 21, 2022
|
```typedatecurrent = dateecho `date````
|
7f0baa7c6b5745dd8f5cd7de43018098
|
|
history package
|
Linux Console Packages
|
Apr 29, 2021
|
Alan Jo
|
Alan Jo
|
Mar 11, 2023
|
[mcfly history](https://texonom.com/mcfly-history-55840a23c59b4b619dc779eef5b18c0b)
|
### linux history packages
|Title|
|:-:|
|[hishtory](https://texonom.com/hishtory-e8b8ffa71e4441d792eb60e2a5eba65c)|
|[atuin](https://texonom.com/atuin-950a84d7f3504f58be5546ca9081a75b)|
|[mcfly history](https://texonom.com/mcfly-history-55840a23c59b4b619dc779eef5b18c0b)|
```typehistory | tail -n 50 > history.txt```
### Clear history
```typehistory -c```
|
93def17203854d378c2f2ef2f1686321
|
jog
|
Linux Console Packages
|
Nov 10, 2021
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
[history package](https://texonom.com/history-package-93def17203854d378c2f2ef2f1686321) โฃ
|
5f0b74271a1047d9a6babbcd652c961a
|
|
uptime
|
Linux Console Packages
|
Mar 22, 2020
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
check time from boot
```typeuptime | awk -F'( |,|:)+' '{print $6,$7",",$8,"hours,",$9,"minutes."}'```
> [How to View Linux System Reboot Date and Time](https://www.thegeekstuff.com/2011/10/linux-reboot-date-and-time/)
|
4856b54cc00945bb9112bb10782045db
|
|
xargs
|
Linux Console Packages
|
Apr 19, 2021
|
Alan Jo
|
Alan Jo
|
May 11, 2022
|
stdin์ผ๋ก ๋ฐ์ ๊ฑธ๋ค์
```typexargs [operation -args] [...stdin]```
> [xargs ์ฌ์ฉ๋ฒ](http://www.dreamy.pe.kr/zbxe/CodeClip/164220)
|
45c5a870edd04780a1d5ad9518a8657d
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.