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
shellfirm
oh-my-zsh
null
null
null
null
null
[shellfirm](https://github.com/kaplanelad/shellfirm)
9c39f44e837a4e6f8e452d2c3810c560
zsh Auto completion
oh-my-zsh
null
null
null
null
null
### Gallary |Title| |:-:| |[](https://texonom.com/ee6d59f0f6b84acc8534eac73d615539)|
73816354dc564722844ce09fbafd1997
zsh auto suggestion
oh-my-zsh
null
null
null
null
null
[zsh-users/zsh-autosuggestions](https://texonom.com/zsh-userszsh-autosuggestions-3ffd004e61e145e094515dabbf2d5541)
9d28ec9aa74049189ac3c38f6e48c86c
zsh dirhistory
oh-my-zsh
null
null
null
null
null
7ce716dab7de485cbdd12b93bef56416
zsh syntax highlight
oh-my-zsh
null
null
null
null
null
ffc75fae60d44eb892b6c7a1bb85729d
Untitled
Gallary
May 1, 2020
null
null
null
null
### Gallary |Title| |:-:|
ee6d59f0f6b84acc8534eac73d615539
zsh-users/zsh-autosuggestions
zsh auto suggestion
null
null
null
null
null
3ffd004e61e145e094515dabbf2d5541
zinit
ZSH Tools
Jan 15, 2022
null
null
null
null
e2d488c025d94005b3b50b9d70927458
[Builder.io](http://Builder.io) AI Shell
AI CLI
Jun 18, 2023
Alan Jo
Alan Jo
Jun 18, 2023
[ai-shell](https://github.com/BuilderIO/ai-shell)
15f8dfd77af64846ba3248e018dc2960
Github Copilot CLI
AI CLI
Jun 23, 2022
Alan Jo
Alan Jo
Jun 18, 2023
### Github Copilot CLI makes CLI not only for developers - `gh?` - [Github CLI](https://texonom.com/github-cli-ccbd3cc8638d49008acc5a08aa9e9aef) - `git?` - [Git CLI](https://texonom.com/git-cli-d2161cea9163483f86d860020cc5abaa) - `??` - [Shell Tool](https://texonom.com/shell-tool-771f3d0d294d4d40884a61f3361cb914)
11a5aeeb44824b87942dde9c09eb8f58
Shell Framework
Shell Tools
Aug 27, 2021
Alan Jo
Alan Jo
May 3, 2023
[awesome-cli-frameworks](https://github.com/shadawck/awesome-cli-frameworks)
### Shell Frameworks |Title| |:-:| |[Bashly](https://texonom.com/bashly-cd50aa5aba894aa6a74d18969f78ca2f)| |[Term Ink](https://texonom.com/term-ink-f4b1adbd06044273a572972536cb5587)|
a402d048cae0491f8cf65d50c850b6f0
Terminal Software
null
null
null
null
null
null
a8f2f095d25243b39345fb180af7bb19
Bashly
Shell Frameworks
Aug 27, 2021
Alan Jo
Alan Jo
Aug 27, 2021
### Bash CLI framework & generator > [Welcome to Bashly | Bashly - Bash CLI Framework](https://bashly.dannyb.co/) > [GitHub - DannyBen/bashly: Bash command line framework and CLI generator](https://github.com/DannyBen/bashly?utm_source=tldrnewsletter)
cd50aa5aba894aa6a74d18969f78ca2f
Term Ink
Shell Frameworks
May 10, 2023
Alan Jo
Alan Jo
May 10, 2023
[ink](https://github.com/vadimdemedes/ink)
### Term Ink Usages |Title| |:-:| |[Term Ink UI](https://texonom.com/term-ink-ui-38099c62b364419bb6f8a07f8d326fa7)|
f4b1adbd06044273a572972536cb5587
Term Ink UI
Term Ink Usages
May 10, 2023
Alan Jo
Alan Jo
May 10, 2023
[ink-ui](https://github.com/vadimdemedes/ink-ui)
38099c62b364419bb6f8a07f8d326fa7
windows terminal 1.1
Windows Terminal
null
null
null
null
null
> [Windows Terminal Preview 1.1 Release | Windows Command Line](https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-1-release/)
2f93542a49794635a2601d017f997807
windows terminal 1.2
Windows Terminal
null
null
null
null
null
> [Windows Terminal Preview 1.2 Release | Windows Command Line](https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-2-release/) ```type{ "command": "toggleFocusMode", "keys": "shift+f11" }``` ```type{ "command": "toggleAlwaysOnTop", "keys": "shift+tab" },```
3c767a8d6e9847bf93f7443e3dd0ec56
windows terminal 1.3
Windows Terminal
null
null
null
null
null
> [Windows Terminal Preview 1.3 Release | Windows Command Line](https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-3-release/) ```typewt```
7e62d07c62844ac9921999ca52d91cf1
windows terminal 1.4
Windows Terminal
null
null
null
null
null
bfe12aeeb2ca4928afd00adf76367627
windows terminal 1.5
Windows Terminal
null
null
null
null
null
903bd5edbaff4d3aad623c97d21437ac
windows terminal options
Windows Terminal
null
null
null
null
null
[windows terminal profile](https://texonom.com/windows-terminal-profile-6cab0d033b004b9694c3c3ae5592c4e8) [windows Terminal keybindings](https://texonom.com/windows-terminal-keybindings-4edeefc682ef49d09724dcd2dd723189) > [Windows Terminal: Open terminal in current folder via single command · Issue #620 · microsoft/terminal](https://github.com/microsoft/terminal/issues/620)
8c0dd8b343a94794b092a0e2a457d745
windows terminal registry
Windows Terminal
null
null
null
null
null
```typeWindows Registry Editor Version 5.00;Binary data is just UTF16 (LE) split every 2 bytes with a comma;Conversion done with https://onlineutf8tools.com/convert-utf8-to-utf16?hex=true&little-endian=true&space=false&chain=split-string%253Fsplit-by-length%253Dtrue%2526separator%253D%252C;User action[HKEY_CLASSES_ROOT\Directory\Background\shell\WindowsTerminal]@="Open Terminal here";"Icon"="%USERPROFILE%\Pictures\Icons\terminal.ico" (Location to ICO or comment out to hide icon)"Icon"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,50,00,69,00,63,00,74,00,75,00,72,00,65,00,73,00,5c,00,49,00,63,00,6f,00,6e,00,73,00,5c,00,74,00,65,00,72,00,6d,00,69,00,6e,00,61,00,6c,00,2e,00,69,00,63,00,6f,00;User action command[HKEY_CLASSES_ROOT\Directory\Background\shell\WindowsTerminal\command];@="%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe -d ."@=hex(2):25,00,4c,00,4f,00,43,00,41,00,4c,00,41,00,50,00,50,00,44,00,41,00,54,00,41,00,25,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,41,00,70,00,70,00,73,00,5c,00,77,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,64,00,20,00,2e,00;Admin action[HKEY_CLASSES_ROOT\Directory\Background\shell\WindowsTerminalAdmin]@="Open Terminal here (Admin)";Show the UAC shield on the action"HasLUAShield"="";"Icon"="%USERPROFILE%\Pictures\Icons\terminal.ico" (Location to ICO or comment out to hide icon)"Icon"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,50,00,69,00,63,00,74,00,75,00,72,00,65,00,73,00,5c,00,49,00,63,00,6f,00,6e,00,73,00,5c,00,74,00,65,00,72,00,6d,00,69,00,6e,00,61,00,6c,00,2e,00,69,00,63,00,6f,00;Admin action command[HKEY_CLASSES_ROOT\Directory\Background\shell\WindowsTerminalAdmin\command]@="PowerShell -WindowStyle Hidden -Command \"Start-Process wt -ArgumentList '-d','.' -Verb runAs\""```
644ebf0363f54d5799394ac974ed7d80
windows Terminal keybindings
windows terminal options
null
null
null
null
null
[windows terminal actions](https://texonom.com/windows-terminal-actions-75a91507637c403fb7d05e92381d388e)
4edeefc682ef49d09724dcd2dd723189
windows terminal profile
windows terminal options
null
null
null
null
null
[windows terminal startingDirectory](https://texonom.com/windows-terminal-startingdirectory-3c0ef46b4bf04a08a36c13f24e4f4412) > [Windows 터미널 글로벌 설정](https://docs.microsoft.com/ko-kr/windows/terminal/customize-settings/global-settings)
6cab0d033b004b9694c3c3ae5592c4e8
windows terminal actions
windows Terminal keybindings
null
null
null
null
null
> [Windows Terminal Actions](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions)
75a91507637c403fb7d05e92381d388e
windows terminal startingDirectory
windows terminal profile
null
null
null
null
null
not defined → same directory > [Windows Terminal: Open terminal in current folder via single command · Issue #620 · microsoft/terminal](https://github.com/microsoft/terminal/issues/620)
3c0ef46b4bf04a08a36c13f24e4f4412
Fig
Terminal Addons
Nov 4, 2020
Alan Jo
Alan Jo
Apr 10, 2023
### Awesome cli management platform ```typefig doctor``` > [withfig/autocomplete](https://github.com/withfig/autocomplete?utm_source=tldrnewsletter) > [Fig](https://fig.io/docs/getting-started)
d6779dbc634c477f84b94e3bbdec5806
pyWhat
Terminal Addons
Nov 4, 2020
Alan Jo
Alan Jo
Apr 7, 2023
> [bee-san/pyWhat](https://github.com/bee-san/pyWhat?utm_source=tldrnewsletter)
1723be6999e8439cbc28a989a036db0e
Shortkut
Terminal Addons
Jul 18, 2022
Alan Jo
Alan Jo
Apr 7, 2023
[shortkut](https://github.com/dimensionhq/shortkut) cross-platform, performant terminal shortcut manager
77139e23e6b64385a161cc952be4c49e
Terminal Recording
Terminal Addons
Mar 11, 2023
Alan Jo
Alan Jo
Apr 7, 2023
### Terminal Recording Tools |Title| |:-:| |[VHS](https://texonom.com/vhs-ec7dcabd785b45d1a9e1d958683471c1)| |[Asciinema](https://texonom.com/asciinema-d7739c7ca9e6485fad6240627c9b10e4)|
8dba13d2c7424b6bb2e733f7ce1c37a8
Try cmd
Terminal Addons
Jun 26, 2023
Alan Jo
Alan Jo
Jun 26, 2023
[Linux Namespace](https://texonom.com/linux-namespace-7467966a140049f4b869a784d36d9852)
[try](https://github.com/binpash/try) not fully sandboxing but commit structure in cli ```typegit clone https://github.com/binpash/try.git .mv try /usr/bin/```
d1621cf04c5e470fa6afa7c7302a63b5
Asciinema
Terminal Recording Tools
Nov 10, 2021
Alan Jo
Alan Jo
Mar 11, 2023
terminal recording and share video based on text data, not video ```typesudo apt install asciinemaasciinema authasciinema rec``` > [asciinema - Record and share your terminal sessions, the right way](https://asciinema.org/)
d7739c7ca9e6485fad6240627c9b10e4
VHS
Terminal Recording Tools
Mar 11, 2023
Alan Jo
Alan Jo
Mar 11, 2023
[vhs](https://github.com/charmbracelet/vhs)
ec7dcabd785b45d1a9e1d958683471c1
Disk Compact Tool
Disk System Usages
May 23, 2023
Alan Jo
Alan Jo
May 23, 2023
### Disk Compact Tools |Title| |:-:| |[Kondo](https://texonom.com/kondo-46bd44a6b993456baac7da63955a7524)| |[SpaceSniff](https://texonom.com/spacesniff-a213b52f157645d78667a54570073598)|
4f7e789989ae4a44b0fb9908b7cf2789
Disk Package
Disk System Usages
May 23, 2023
Alan Jo
Alan Jo
May 23, 2023
### Disk Packages |Title| |:-:| |[du](https://texonom.com/du-5ee881b59b864207bef8b87c31e8cec4)| |[df](https://texonom.com/df-e85dc78ab68a49b5bb462a76a5e2c0c7)| |[duf](https://texonom.com/duf-c8264eb2abe0491b8b810695edc9cd6e)| |[mount](https://texonom.com/mount-56ad9f27d7e64ed08838fb7c9124e6eb)| |[fsck](https://texonom.com/fsck-caa70e6ba8094272b3baf44a42694bee)| |[fio](https://texonom.com/fio-49ca72cb8597400b8d925180aef1cf79)| |[pvresize](https://texonom.com/pvresize-74d08b1e8475478d8ce4f8dd9f73406a)| |[lvextend](https://texonom.com/lvextend-7a70edd5dd714ee98431a0d3eb7dd987)| |[lvdisplay](https://texonom.com/lvdisplay-a9dd3a2cb3424fa2a6eecbce157e34c3)|
516180a17825418c9d2e7ab3c34f0cf6
Dynamic Disk
Disk System Usages
Dec 12, 2020
Alan Jo
Alan Jo
May 23, 2023
윈도우에서 자신들의 서버 운영체제를 위해 개발한 디스크 형식 값비싼 **레이드 **장비를 윈도우 자체에서 소프트웨어적으로 볼륨을 구현할 수 있게 개발된 것이 바로 동적 디스크입니다 오직 윈도우에서만 읽을 수 있다는 단점
1b80638b71e94972abc1cca74585608d
Kondo
Disk Compact Tools
May 23, 2023
Alan Jo
Alan Jo
May 23, 2023
[kondo](https://github.com/tbillington/kondo)
46bd44a6b993456baac7da63955a7524
SpaceSniff
Disk Compact Tools
May 23, 2023
Alan Jo
Alan Jo
Jul 28, 2023
[Treemap](https://texonom.com/treemap-d536b4096fd94188b558e8c4bdeca3e1)
good for windows
a213b52f157645d78667a54570073598
df
Disk Packages
Dec 13, 2019
Alan Jo
Alan Jo
Aug 2, 2023
[du](https://texonom.com/du-5ee881b59b864207bef8b87c31e8cec4)
: disk file system [cfdisk](https://texonom.com/cfdisk-45c83669ad0d438cb904fe33e93d5347) [pydf](https://texonom.com/pydf-053ad255deb343a99a16b44f74094d77) [fdisk](https://texonom.com/fdisk-9b3cd6c2527349de9114fcda81b4f7de) ### check linux file system ```typedf -Th```
e85dc78ab68a49b5bb462a76a5e2c0c7
du
Disk Packages
Dec 10, 2019
Alan Jo
Alan Jo
Jul 18, 2023
[dust](https://texonom.com/dust-429c7c31c9ba451b9c3f87fc4f73c759) [dutree](https://texonom.com/dutree-b8ab641fa2ba4497b2a511144ef1d2c9) [df](https://texonom.com/df-e85dc78ab68a49b5bb462a76a5e2c0c7)
[dutree](https://texonom.com/dutree-b8ab641fa2ba4497b2a511144ef1d2c9) [dust](https://texonom.com/dust-429c7c31c9ba451b9c3f87fc4f73c759) ### current directory ```typedu -h -d 1 ./``` ```typedu -h -d 1 *.htmlv``` fs ```typedu -h /home/tecmint``` du : disk usage > [Unix / Linux: See Colourised Filesystem Disk Space Usage - nixCraft](https://www.cyberciti.biz/tips/unix-linux-bsd-pydf-command-in-colours.html) > [CentOS 7 - Install Pydf](https://blog.programster.org/centos-7-install-pydf)
5ee881b59b864207bef8b87c31e8cec4
duf
Disk Packages
Mar 7, 2021
Alan Jo
Alan Jo
May 23, 2023
```typegit clone https://github.com/muesli/duf.gitcd dufgo build``` > [muesli/duf](https://github.com/muesli/duf)
c8264eb2abe0491b8b810695edc9cd6e
fio
Disk Packages
Nov 26, 2020
Alan Jo
Alan Jo
May 23, 2023
### Linux Crystal Mark ```typesudo mkdir /mnt/fssudo apt install fiosudo fio --loops=5 --size=1000m --filename=/mnt/fs/fiotest.tmp --stonewall --ioengine=libaio --direct=1 \ --name=Seqread --bs=1m --rw=read \ --name=Seqwrite --bs=1m --rw=write \ --name=512Kread --bs=512k --rw=randread \ --name=512Kwrite --bs=512k --rw=randwrite \ --name=4kQD32read --bs=4k --iodepth=32 --rw=randread \ --name=4kQD32write --bs=4k --iodepth=32 --rw=randwritesudo rm -f /mnt/fs/fiotest.tmp``` > [Linux의 벤치 마크 SSD : Crystaldiskmark와 Windows에서 동일한 작업을 측정하는 방법](https://qastack.kr/unix/93791/benchmark-ssd-on-linux-how-to-measure-the-same-things-as-crystaldiskmark-does-i)
49ca72cb8597400b8d925180aef1cf79
fsck
Disk Packages
Dec 12, 2019
Alan Jo
Alan Jo
May 23, 2023
fix files ### Fix File System error ```typeexitfsck /dev/sda2exit``` ubuntu default command for find corrupted file > file system check
caa70e6ba8094272b3baf44a42694bee
lvdisplay
Disk Packages
Mar 22, 2020
Alan Jo
Alan Jo
May 23, 2023
a9dd3a2cb3424fa2a6eecbce157e34c3
lvextend
Disk Packages
Mar 22, 2020
Alan Jo
Alan Jo
May 23, 2023
7a70edd5dd714ee98431a0d3eb7dd987
mount
Disk Packages
Jan 6, 2020
Alan Jo
Alan Jo
May 23, 2023
### Default ```typesudo mount -t cifs "//blabla" /blabla -o user="id",pass="wd",rw,vers=2.0``` ### cifs ```typeapt install cifs-utils -y``` ### version error > ```typechange versvers=1.0vers=2.0vers=2.1``` > > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F69fc0f4d-bfb1-459e-b985-d91263f13880%2FUntitled.png?table=block&id=f461e790-1d1b-4590-9247-7ce571bc1085&cache=v2) > - reason > 나스 패스 자체는 안되고 안에 공유폴더까지는 접근해야함 >> [cifs 드라이브를 마운트하면 마운트 오류 (22) : 잘못된 인수](https://qastack.kr/ubuntu/427044/mounting-cifs-drive-gives-mount-error22-invalid-argument) >
56ad9f27d7e64ed08838fb7c9124e6eb
pvresize
Disk Packages
Oct 14, 2021
Alan Jo
Alan Jo
May 23, 2023
74d08b1e8475478d8ce4f8dd9f73406a
cfdisk
df
null
null
null
null
null
- best great gui
45c83669ad0d438cb904fe33e93d5347
fdisk
df
null
null
null
null
null
- past tool
9b3cd6c2527349de9114fcda81b4f7de
pydf
df
null
null
null
null
null
```typepip3 install pydfpydf -apydf -i = pydf```
053ad255deb343a99a16b44f74094d77
dust
du
null
null
null
null
null
```typecargo install du-dustcd /dust```
429c7c31c9ba451b9c3f87fc4f73c759
dutree
du
null
null
null
null
null
```typedutree -d 1``` > [dutree - A CLI Tool to Analyze Disk Usage in Coloured Output](https://www.tecmint.com/dutree-analyze-disk-usage-in-linux/)
b8ab641fa2ba4497b2a511144ef1d2c9
GPT Disk
Disk Systems
Dec 12, 2020
null
null
null
null
EFI(UEFI) 펌웨어 환경을 기반으로 개발된 디스크 형식 운영체제가 이를 지원을 해야만 사용 가능 GPT 디스크는 BIOS 와 MBR 의 한계를 극복하기 위한 목적으로 등장하였기에 MBR 디스크에서 발생하던 문제(한계)들을 해결 > - 128 개의 주 파티션 생성 가능 > - 2TB 의 용량 한계를 18EB 로 확장 EFI 환경을 기반으로 개발되었지만 반드시 EFI 환경에서만 사용이 가능한 것은 아니고 운영체제만 지원을 하면 BIOS 환경에서도 사용을 할 수있다 BIOS 환경에서는 GPT 디스크에 운영체제를 설치하고 부팅하는 것이 불가능하기 때문에 일반적인 데이터를 저장하는 용도로만 사용하는 것이 가능 > [디스크 형식 (MBR/GPT)에 대한 이해](http://blog.naver.com/PostView.nhn?blogId=kalps1&logNo=221352946201)
029f58b047d747ff8662d742073984e2
MBR Disk
Disk Systems
Dec 12, 2020
null
null
null
null
전통적인 BIOS 펌웨어 환경을 기반으로 하는 디스크 형식 Basic Disk Dynamic Disk 1개 파티션 2tb까지 인식
ecb2741e43624a25a0eb43c63a41062d
Copy-on-Wirte
File System Notion
Jun 7, 2021
Alan Jo
Alan Jo
Jun 7, 2021
파일을 수정할 때 기존 데이터를 새로운 데이터로 덮어쓰지 않습니다
87d1a10de4c748abb37a48f797fbe169
Directory
File System Notion
May 19, 2021
Alan Jo
Alan Jo
May 23, 2023
[Disk System](https://texonom.com/disk-system-104aed644fd54c31a9938e4f7b3bae6f)
have meta data and have partitionTo avoid a directory searching overhead, the operating system keeps a small table containing information about all open files - tree structured directories - acyclic graph directories ### Directory Notion |Title| |:-:| |[Dentry](https://texonom.com/dentry-f8e66e99e5d442afa341fcbbd26eb5b9)| |[Directory Mounting](https://texonom.com/directory-mounting-e5159d27588a4e738f88b6b1a12b7b86)| |[Directory Metadata](https://texonom.com/directory-metadata-d5fea87c41124306bbc4e573b1b99c0e)| ### Directory Packages |Title| |:-:| |[samba](https://texonom.com/samba-e79342492aab407b8fcd346f8fcdfe00)| |[ln](https://texonom.com/ln-b14a4b11598f4a27a0bdd1e4fdd6afc8)| |[pwd](https://texonom.com/pwd-834a7f1bb541428c97a8470633d9fe3b)| |[fselect](https://texonom.com/fselect-c779bba393e9443bb72c3b4d60407de2)|
1c3f4c9519f7455495aed665277dfdc9
File
File System Notion
May 19, 2021
Alan Jo
Alan Jo
Apr 7, 2022
[INode](https://texonom.com/inode-f59013f016cf41e0a58611a3e72eb5ef)
file 객체는 해당 파일을 open 한 task 당 하나씩open 한 파일과 연관된 정보를 제공 두 개 이상의 task가 하나의 파일에 접근하는 경우 inode 객체는 하나만 존재 task와 연관된 파일 정보를 담기 위해 file 객체가 사용 `include/linux/fs.h` ### File Notion |Title| |:-:| |[File IO](https://texonom.com/file-io-cb3e87996cec4d5d9b4c461636592dff)| |[File Format](https://texonom.com/file-format-5b9431ff3fbe4116ba3fb0620421c6f4)| |[File Linking](https://texonom.com/file-linking-d8da0c7222f54c01be020ea0ddedf460)| |[File Type](https://texonom.com/file-type-cde6a152113d4ab8b1a0be3e89863b0d)| |[File Permission](https://texonom.com/file-permission-16121267de7e4ffaa8e5afa46ea5e758)|
285b7d615f0243bea5d8dd87a7453db5
File System Extent
File System Notion
Jun 7, 2021
Alan Jo
Alan Jo
Jun 7, 2021
d4e743192dbe43e3bcd2a07c2d0dce33
File Watch
File System Notion
Mar 15, 2023
Alan Jo
Alan Jo
Mar 15, 2023
### File Watchers |Title| |:-:|
fbb18b97f55248eea7ac3ce6bd16a591
Filesystem snapshot
File System Notion
Jun 7, 2021
Alan Jo
Alan Jo
Jun 7, 2021
c01359d0fc9042a8891f1a488b2c5fb3
INode
File System Notion
May 19, 2021
Alan Jo
Alan Jo
Aug 29, 2021
[Unix File System](https://texonom.com/unix-file-system-60d125967dfe486fb9dcda7dab9543f6)
## Index node ### Data Structure for File System [EXT File Systems](https://texonom.com/ext-file-systems-f985030d9ed04839a90ca45760792808) 계열에서 index block 과 유사하게 사용하는 구조 파일에 대한 정보를 담는 구조체 inode 포인터 구조를 통해 파일의 실제 데이터가 저장된 블록의 정보를 포함하여 파일의 메타 데이터 정보만 저장 Inode 할당 방식이 fs별로 다르다 파일 폴더별 개수 VFS의 inode 객체와 EXT 계열 파일시스템의 inode는 다름 ### inode Notion |Title| |:-:| |[Directory block](https://texonom.com/directory-block-940d6887d16242abb0fc7ccba97027d3)| |[Indirection block](https://texonom.com/indirection-block-e2305dee1794477f831986fbdbc82931)| |[Super Block](https://texonom.com/super-block-747596b810134a358c81963644ee8263)| |[Group Descriptor](https://texonom.com/group-descriptor-8b77babc2b994b3ca4cc910b25afc3d8)| |[Block Bitmap](https://texonom.com/block-bitmap-7075952193ed40e1b84188a6b1d63bdf)| |[Inode Bitmap](https://texonom.com/inode-bitmap-51f61c8205d5474fbedfe7811501d0c8)| |[Inode Table](https://texonom.com/inode-table-e5b2d2feab8242258735737874ebf15a)| |[Data Blocks](https://texonom.com/data-blocks-67d144522f0b4b7dbac7473b90198f01)| |[data block](https://texonom.com/data-block-63d2a85af3ed46f6a97d94090bef6100)| |[Inode Hole](https://texonom.com/inode-hole-26f722549b004d109b93d5c142adc889)| [INode assignment](https://texonom.com/inode-assignment-080775768e2a4a90b42ff1d519326132) - 파일 모드(퍼미션) - 링크 수 - 소유자명 - 그룹명 - 파일 크기 - 파일 주소 - 마지막 접근 정보 - 마지막 수정 정보 - 아이노드 수정 정보 > [리눅스 시스템의 아이노드(inode), 심볼릭 링크(Symbolic Link), 하드 링크(Hard Link)](https://koromoon.blogspot.com/2018/05/inode-symbolic-link-hard-link.html) > [Unix/Linux 파일시스템 구조 정리 (1)](https://jins-dev.tistory.com/entry/UnixLinux-%ED%8C%8C%EC%9D%BC%EC%8B%9C%EC%8A%A4%ED%85%9C-%EA%B5%AC%EC%A1%B0-%EC%A0%95%EB%A6%AC-1) > [[Linux Kernel Concept, File System] (1) 유닉스 파일시스템과 Inode구조체](https://jiming.tistory.com/359)
f59013f016cf41e0a58611a3e72eb5ef
journaling File System
File System Notion
Jun 7, 2021
Alan Jo
Alan Jo
Jun 7, 2021
319339dd38d34fffb84f600201e86a6a
Dentry
Directory Notion
Aug 29, 2021
Alan Jo
Alan Jo
May 23, 2023
경로 검색과 같은 directory-specific 한 작업들을 수행해야 하는 경우 dentry 객체가 사용 directory와 관련된 정보를 제공 `/home/user/name`으로 구성된 파일을 열면 4개의 dentry 객체가 존재 (root directory, home directory, user directory, name file) root directory는 상위 계층이 없는 유일한 dentry `include/linux/dcache.h`
f8e66e99e5d442afa341fcbbd26eb5b9
Directory Metadata
Directory Notion
May 23, 2023
Alan Jo
Alan Jo
May 23, 2023
![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F28a3adb9-2cbc-4af3-8856-86d84e18282b%2FUntitled.png?table=block&id=d788dcb0-167f-4b96-917d-6fa9e75c1ec8&cache=v2) ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F95522d66-93ae-40e5-848d-a46c5438d316%2FUntitled.png?table=block&id=865d2af7-ed18-432c-9165-653bd219bc02&cache=v2)
d5fea87c41124306bbc4e573b1b99c0e
Directory Mounting
Directory Notion
May 23, 2023
Alan Jo
Alan Jo
May 23, 2023
network file directory - windows - to drive letter - unix - to a n existing empty directory (= mount point) done by root user
e5159d27588a4e738f88b6b1a12b7b86
fselect
Directory Packages
Apr 7, 2021
Alan Jo
Alan Jo
May 23, 2023
> [jhspetersson/fselect](https://github.com/jhspetersson/fselect?utm_source=tldrnewsletter)
c779bba393e9443bb72c3b4d60407de2
ln
Directory Packages
Jan 6, 2020
Alan Jo
Alan Jo
May 23, 2023
b14a4b11598f4a27a0bdd1e4fdd6afc8
pwd
Directory Packages
Jan 7, 2020
Alan Jo
Alan Jo
May 23, 2023
834a7f1bb541428c97a8470633d9fe3b
samba
Directory Packages
Jan 7, 2020
Alan Jo
Alan Jo
May 23, 2023
e79342492aab407b8fcd346f8fcdfe00
File Format
File Notion
Feb 26, 2022
Alan Jo
Alan Jo
Mar 1, 2022
### File Formats |Title| |:-:| |[PE Format](https://texonom.com/pe-format-db8b93bb0262403584a39e53abaeab85)| |[ELF](https://texonom.com/elf-44c468c41619411e898731fe534a984a)| |[Mach-O](https://texonom.com/mach-o-6c29191c2f214f8b842acb4eb5b52fc8)|
5b9431ff3fbe4116ba3fb0620421c6f4
File IO
File Notion
Apr 7, 2022
Alan Jo
Alan Jo
Apr 7, 2022
### File IOs |Title| |:-:| |[file operation](https://texonom.com/file-operation-7389746cdf834baca9424fc5e1eb044e)| |[File access](https://texonom.com/file-access-202734e7a7f545a7b95dd46f6d023be0)| > [Coding for SSDs - Part 6: A Summary - What every programmer should know about solid-state drives](https://codecapsule.com/2014/02/12/coding-for-ssds-part-6-a-summary-what-every-programmer-should-know-about-solid-state-drives)
cb3e87996cec4d5d9b4c461636592dff
File Linking
File Notion
May 19, 2021
Alan Jo
Alan Jo
Apr 7, 2022
[INode](https://texonom.com/inode-f59013f016cf41e0a58611a3e72eb5ef)
### File Links |Title| |:-:| |[File Hard Link](https://texonom.com/file-hard-link-bc4c3c1e65af499b83e64e93e5643b99)| |[Symbolic Link](https://texonom.com/symbolic-link-2c901ae724a34a5aa73ab7cc15898914)| > [리눅스 시스템의 아이노드(inode), 심볼릭 링크(Symbolic Link), 하드 링크(Hard Link)](https://koromoon.blogspot.com/2018/05/inode-symbolic-link-hard-link.html)
d8da0c7222f54c01be020ea0ddedf460
File Permission
File Notion
Nov 5, 2019
Alan Jo
Seong-lae Cho
Mar 8, 2023
### mode of access - read, write, execute FCB - Storage structure consisting of information about a file. - three classes of users - each has different mode access 1. owner access - read, write, execute - 7 2. groups(unique name) access - read, write - 6 3. public access - execute - 1 so if you want to 보안 OS, architecture is most important 암호화는 보안의 일부 system information 보안 important
16121267de7e4ffaa8e5afa46ea5e758
File Type
File Notion
Apr 7, 2022
Alan Jo
Alan Jo
Apr 7, 2022
### File Types |Title| |:-:| |[Flat File](https://texonom.com/flat-file-9c060ca7e5704f5aa65ca2f07cbd8cd7)| |[Memory mapped file](https://texonom.com/memory-mapped-file-237ad96ec5d0421cb54768455a06147a)|
cde6a152113d4ab8b1a0be3e89863b0d
ELF
File Formats
Feb 26, 2022
Alan Jo
Alan Jo
Feb 26, 2022
## Executable and Linkable Format ### Extensible Linking Format 오브젝트 파일, 공유 라이브러리, 또는 코어 덤프를 할 수 있게 하는 바이너리 파일 원래 뜻은 Extensible Linking Format 이라는 뜻 각 ELF 파일은 하나의 ELF 헤더와 파일 데이터로 이루어진다 > [ELF 파일 형식 - 위키백과, 우리 모두의 백과사전](https://ko.wikipedia.org/wiki/ELF_%ED%8C%8C%EC%9D%BC_%ED%98%95%EC%8B%9D)
44c468c41619411e898731fe534a984a
Mach-O
File Formats
Feb 26, 2022
Alan Jo
Alan Jo
Feb 26, 2022
6c29191c2f214f8b842acb4eb5b52fc8
PE Format
File Formats
Feb 26, 2022
Alan Jo
Alan Jo
Mar 1, 2022
## Portable Executable Format 윈도우 로더가 실행 가능한 코드를 관리하는데 필요한 정보를 캡슐화한 데이터 구조체 [MZ File](https://texonom.com/mz-file-4fe49fbbad6e426d80f2bb25e497b44a) 의 확장 > [PE 포맷 - 위키백과, 우리 모두의 백과사전](https://ko.wikipedia.org/wiki/PE_%ED%8F%AC%EB%A7%B7)
db8b93bb0262403584a39e53abaeab85
MZ File
PE Format
null
null
null
null
null
DOS 실행파일
4fe49fbbad6e426d80f2bb25e497b44a
File access
File IOs
May 19, 2021
Alan Jo
Alan Jo
Apr 7, 2022
![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fda0514d1-1ecc-4d98-add2-c34e08d931c2%2FUntitled.png?table=block&id=11f0a7c9-e647-46fc-aa66-afc2134f7673&cache=v2)
202734e7a7f545a7b95dd46f6d023be0
file operation
File IOs
Nov 5, 2019
Alan Jo
Seong-lae Cho
Apr 7, 2022
- file unconditionally first need to open file if open then return file descripter - index in start is fd number can open 1024 at once
7389746cdf834baca9424fc5e1eb044e
File Hard Link
File Links
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
inode 복사 없음 파일만 생성가능 원본파일 삭제해도 엑세스 가능 다른 파티션에 링크 불가능 ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F88b7dd40-97fe-42dd-955c-0884793bff78%2FUntitled.png?table=block&id=6088d0dd-b0e2-44fe-89e1-322703b96371&cache=v2) > [리눅스 시스템의 아이노드(inode), 심볼릭 링크(Symbolic Link), 하드 링크(Hard Link)](https://koromoon.blogspot.com/2018/05/inode-symbolic-link-hard-link.html)
bc4c3c1e65af499b83e64e93e5643b99
Symbolic Link
File Links
May 19, 2021
Alan Jo
Alan Jo
Aug 2, 2023
파일과 디렉토리 모두 생성가능 원본삭제 시 액세스 불가능 inode 새로 생성함 다른 파티션에 링크 가능 ```typeln -s original new``` ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F991177a0-7ae9-4598-aff8-fc28cc4e6d2e%2FUntitled.png?table=block&id=a625cdc8-aab2-4f04-880e-0e8a2bcb94f0&cache=v2) > [리눅스 시스템의 아이노드(inode), 심볼릭 링크(Symbolic Link), 하드 링크(Hard Link)](https://koromoon.blogspot.com/2018/05/inode-symbolic-link-hard-link.html)
2c901ae724a34a5aa73ab7cc15898914
Flat File
File Types
Mar 11, 2020
Alan Jo
Alan Jo
Apr 7, 2022
### What have no structured interrelationship. A flat file typically consists of a text > [What is flat file? - Definition from WhatIs.com](https://searchsqlserver.techtarget.com/definition/flat-file)
9c060ca7e5704f5aa65ca2f07cbd8cd7
Memory mapped file
File Types
May 19, 2021
Alan Jo
Alan Jo
Apr 7, 2022
[Virtual Memory](https://texonom.com/virtual-memory-07bf10ba636b42e9818c009b17f893f0)
237ad96ec5d0421cb54768455a06147a
INode assignment
INode
null
null
null
null
null
Inode 할당 방식이 fs별로 다르
080775768e2a4a90b42ff1d519326132
Block Bitmap
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
7075952193ed40e1b84188a6b1d63bdf
data block
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
데이터블록은 inode 에 포함
63d2a85af3ed46f6a97d94090bef6100
Data Blocks
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
67d144522f0b4b7dbac7473b90198f01
Directory block
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
파일 이름과 inode 번호를 저장
940d6887d16242abb0fc7ccba97027d3
Group Descriptor
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
8b77babc2b994b3ca4cc910b25afc3d8
Indirection block
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
추가적인 데이터 블록을 사용하기 위한 포인터들이 할당되는 공간 실제로 inode 는 적은 수의 데이터블록을 갖고 있으며 더 많은 데이터블록이 필요할 경우 이를 동적으로 가리킬 포인터가 저장 indirect block 구조에 의해 깊이에 따라 가질 수 있는 파일 최대 사이즈가 정해져 있다 > [Unix/Linux 파일시스템 구조 정리 (1)](https://jins-dev.tistory.com/entry/UnixLinux-%ED%8C%8C%EC%9D%BC%EC%8B%9C%EC%8A%A4%ED%85%9C-%EA%B5%AC%EC%A1%B0-%EC%A0%95%EB%A6%AC-1)
e2305dee1794477f831986fbdbc82931
Inode Bitmap
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
51f61c8205d5474fbedfe7811501d0c8
Inode Hole
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
홀은 inode 나 간접 블록 안의 데이터 블록의 주소로 특별한 값을 저장 hole 을 파일 안에 구조화되지만 hole 을 위한 실질적인 disk 공간은 할당되지 않는다. > [Unix/Linux 파일시스템 구조 정리 (1)](https://jins-dev.tistory.com/entry/UnixLinux-%ED%8C%8C%EC%9D%BC%EC%8B%9C%EC%8A%A4%ED%85%9C-%EA%B5%AC%EC%A1%B0-%EC%A0%95%EB%A6%AC-1)
26f722549b004d109b93d5c142adc889
Inode Table
inode Notion
May 19, 2021
Alan Jo
Alan Jo
May 19, 2021
e5b2d2feab8242258735737874ebf15a
Super Block
inode Notion
May 19, 2021
Alan Jo
Alan Jo
Aug 29, 2021
파일 시스템 전체 정보 저장 마운트 된 파일 시스템 구조에 관한 정보를 제공하며 파일시스템 당 하나씩 파일시스템을 마운트 하면 VFS는 파일시스템 고유의 마운트 함수를 호출하면서 인자로 빈 super block 객체를 전달 파일 시스템 고유의 마운트 함수는 VFS가 넘긴 super block 객체의 내용을 채워 리턴 `fs/super.c`에 정의된 alloc_super() 함수에 의해 super block 객체가 생성 및 초기화 `include/linux/fs.h` > [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)
747596b810134a358c81963644ee8263
CIFS
File Systems
Mar 4, 2022
Alan Jo
Alan Jo
Mar 4, 2022
[Synology NAS](https://texonom.com/synology-nas-1a0431be7f4043e5b0c7dda9923357f8)
### Common Internet File system
bf8cb8fbcb9541fdb357e4d876453dfa
Dwarfs
File Systems
Jul 25, 2022
Alan Jo
Alan Jo
Jul 25, 2022
[dwarfs](https://github.com/mhx/dwarfs) - fast - readonly
dda18d44649c46138ee8c6fcea2447a7
NFS
File Systems
Nov 5, 2019
Alan Jo
Seong-lae Cho
Jun 7, 2021
## Network file system - nfs client - nfs server > [리눅스 서버를 다루는 기술: NFS란 무엇인가요?](https://thebook.io/006718/part02/ch07/02/01/)
8457927e6e6d45a9a8e6bd3207bd0ba9
Unix File System
File Systems
Nov 5, 2019
Alan Jo
Seong-lae Cho
Jun 7, 2021
[INode](https://texonom.com/inode-f59013f016cf41e0a58611a3e72eb5ef)
### Unix 계열은 모든 것이 파일 (device, directory 등등) completely all byte and it has meta is main + Ext2 file system ### EXt2 - first block is boot block (boot sector) - the remainder of the partition is split into block groups partition → formatting → make file system ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F65f58d6d-7321-483b-9b7e-7a9ac69d228e%2Ftemp.jpg?table=block&id=eb67826d-6b83-445c-8f7b-337f5b33b5a9&cache=v2) ### meta data (in right table) in i-node data structure > i-node : metadata + index > index is 128 byte fixed in linux index data structure is important ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F4a4216db-804a-4cea-a39f-83392a55ab5c%2Ftemp.jpg?table=block&id=b925801e-5a81-4f65-8d5c-1d1f367a9080&cache=v2) ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F030b7aea-df82-4981-a2db-441197f4323b%2Ftemp.jpg?table=block&id=748e15d5-c5fe-4a15-bc42-d4147ccf0acb&cache=v2) block address scheme ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0e0f4de0-914a-4073-8e55-4b43c65f8e8d%2Ftemp.jpg?table=block&id=b656c03f-0c9c-4410-8132-80596a432efd&cache=v2) direct blocks is right image block is 10 so can 10k if more than 10 then double or triple indirect which means treating data block as index block this is because file incoding limit file size 10 + 256 + 256 ^ 2 + ..
60d125967dfe486fb9dcda7dab9543f6
VFS
File Systems
Nov 1, 2020
Alan Jo
Alan Jo
Apr 16, 2023
[Unix File System](https://texonom.com/unix-file-system-60d125967dfe486fb9dcda7dab9543f6)
## Virtual File System ### Virtual File Systems |Title| |:-:| |[ZFS](https://texonom.com/zfs-283f3f14959d42758186ee9b8f9f914a)| |[Btrfs](https://texonom.com/btrfs-86e7ae79406d4df6b890975148ecd89e)| |[XFS](https://texonom.com/xfs-3f1cf4a4216e4fadb39a2d7396543d30)| |[exFAT](https://texonom.com/exfat-d4e8f87477f64b0eaedac14fe9529d27)| |[fat32](https://texonom.com/fat32-9208e471bb9f4e8a9e3c6b01a7484852)| |[ntfs](https://texonom.com/ntfs-1ba1b3ac9db94cb2a480d5751a63b21b)| |[tmpfs](https://texonom.com/tmpfs-2adf84cd728b41b6bc9071381d06d791)| |[UnionFS](https://texonom.com/unionfs-fa1d3666e9cb458cbb54920385a1dea5)| |[EXT File System](https://texonom.com/ext-file-system-ffbe804c04ad43d1b7cd5b19b642457f)| |[MINIX File Sytem](https://texonom.com/minix-file-sytem-506a483327db45409c2f6cd8c5249a4a)| ### VFS Notion |Title| |:-:| |[VFS Layer](https://texonom.com/vfs-layer-97327945cd5a4d3d8b66f2fd259e77e2)| treat different file system of os > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fea7c30cc-0ca4-4b72-8c50-6f262a835c50%2Ftemp.jpg?table=block&id=ee211860-1ba2-4740-b496-f0b6a6960b78&cache=v2) > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F48222610-1563-4b92-a006-3dd2f1098dc8%2FUntitled.png?table=block&id=3d664345-ea5f-465a-99f8-4a231b82b3bd&cache=v2) > ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fe62270de-7abc-4d3b-bf34-89e14ce01b13%2Ftemp.jpg?table=block&id=1675e3bb-ede8-448b-b91d-ac7e6429caaf&cache=v2) kernel memory is flash memory ***file is run time data structure*** > [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)
0fecc4979bf74f81b24a4b523c7a2c5f