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) > > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fbbbf178c-dc8a-416f-b7ed-2f600902dbdb%2FUntitled.png?table=block&id=0b657aa2-b53b-495d-8e43-a252ecd8ec38&cache=v2) > [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)| ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ff105d2c2-41ec-40b8-a0bd-3d75913f545e%2FUntitled.png?table=block&id=677f5975-9919-43b3-b188-bdb0a1f09ab5&cache=v2) > [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 > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffe055639-5140-4e73-bbdb-90f7a805d653%2Ftemp.jpg?table=block&id=8afeef5f-31d4-47b9-8708-f2fea083b955&cache=v2) > Typical PC Architecture > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F760d1129-9ed5-44e9-8eda-8c8daee17b89%2Ftemp.jpg?table=block&id=7dc8321c-cdad-4b71-8d87-763b4fa8abf6&cache=v2) # 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 > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb036ccab-880e-4018-a275-df44ae43d1df%2Ftemp.jpg?table=block&id=037d66e8-04ec-45d3-99be-16689a75f3ad&cache=v2) > I/O software layer > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F5b010c89-ec87-4eb4-af36-bbf3a1a6cee0%2Ftemp.jpg?table=block&id=c8087403-17dd-47f2-b304-6e9c90bf56fd&cache=v2) `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 > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fa92ff712-8bfb-42ca-b8a2-356c1b22e06a%2FUntitled.png?table=block&id=5ece07c1-9346-4aed-902b-bfd9c7200fe3&cache=v2) > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9b9f8471-1d0e-45a6-98b3-270d0f111dfa%2FUntitled.png?table=block&id=eb6cafc2-18dd-414d-bdf9-14298dbca0fe&cache=v2) # 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)| ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F58b39a8b-5fe2-4a54-871c-2b8326baf7eb%2FUntitled.png?table=block&id=368c538e-4f51-4917-b6ea-e3046103199f&cache=v2) > [[๋ฆฌ๋ˆ…์Šค] ๋ฆฌ๋‹ค์ด๋ ‰์…˜(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
![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F68318714-b41a-42b2-a54b-45cc30ed6f5f%2FUntitled.png?table=block&id=6fd4df10-63e4-487c-8527-1f72b78fa86e&cache=v2) - 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 ์™€ ๋น„์Šทํ•˜๋‹ค๊ณ  ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fc1c8f997-6b7c-42ca-aef4-e0d9bf1ee4cf%2FUntitled.png?table=block&id=9d53c5c3-0b22-4ac0-ac10-cac5c5e4f35c&cache=v2) - 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 ์€ ์‹ค์ œ ํ„ฐ๋ฏธ๋„๊ณผ ๊ฐ™์ด ํ™”๋ฉด์— ํ‘œ์‹œ ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0ab59adc-65fc-45a2-a789-f280639a4046%2FUntitled.png?table=block&id=af99279d-c897-4cc2-9d97-97ce34fda5cd&cache=v2) > [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
![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F1960774e-15a7-4843-a15f-df49f9877258%2FUntitled.png?table=block&id=fceccceb-ee77-4668-ba57-448b6e32b316&cache=v2) ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F97a889be-cf50-436b-89cc-8d59d59b951b%2FUntitled.png?table=block&id=4addba9b-cb00-4901-9b93-1a9626503186&cache=v2) > [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]``` ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F6e577660-944b-4af7-84de-2a0ff39f5424%2FUntitled.png?table=block&id=43e0efca-87be-4339-8c3e-a817e266fb1e&cache=v2) ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fc87fa5c1-5ccc-4849-9f3a-c87bab4463bd%2FUntitled.png?table=block&id=013787a3-180a-42ec-b805-6007b71ae9e5&cache=v2) - 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
![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F73fe416a-d1df-4a1f-9196-81079eafbba4%2FUntitled.png?table=block&id=b61b51ed-f280-45a8-824b-40c80f79ada8&cache=v2) 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'๋กœ ์ •์ฑ…์„ ๋ฐ”๊ฟ”์ค˜์•ผ ํ•œ๋‹ค - ์™ธ๋ถ€ ํ„ฐ๋ฏธ๋„ ์žฅ์น˜ ์—ฐ๊ฒฐ ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F176c299a-1505-43d0-ae66-23b8148fca48%2FUntitled.png?table=block&id=66b75910-82fb-4f63-9967-670dbae7a92b&cache=v2) - Virtual Console - `ctrl+alt+f1-6` ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb6b770c1-8066-43cd-948d-3bac6f2cdb12%2FUntitled.png?table=block&id=d91cf3ec-7511-4081-818d-8fd821161aa6&cache=v2) - pseudo tty (normal terminal) - pty ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F65afc2a9-7350-4f5b-89fb-4d680fcd5daf%2FUntitled.png?table=block&id=7179c023-9718-4c66-ae08-eaa0deb2b01c&cache=v2) > [[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` + `.` ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0bedff40-0dfe-4a55-94fd-7c1fe1f19e50%2FUntitled.png?table=block&id=24172312-d537-45cc-8f5e-f621625fd47f&cache=v2)
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)| ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F72483726-11c5-4c2a-832e-4e0b19d09db6%2FUntitled.png?table=block&id=222ffe52-59a8-4f77-b6f5-619ec8cd835e&cache=v2)
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