๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • Welcome.

:: Linux ๐Ÿšฉ/Linux_basic16

[๋ฆฌ๋ˆ…์Šค] [AWK ๋ช…๋ น์–ด] : echo -e 'no\ttitle\n1\tsubject1' | awk '{ print }' # action ์„ ์ƒ๋žตํ•˜๋ฉด ๊ธฐ๋ณธ ์•ก์…˜์ธ print ๊ฐ€ ์‹คํ–‰ ๋จ => echo -e 'no\ttitle\n1\tsubject1' | awk '/sub/' # ์ง€์ •๋œ ๋ฌธ์ž์—ด์„ ํฌํ•จํ•˜๋Š” ๋ ˆ์ฝ”๋“œ๋งŒ ์ถœ๋ ฅ echo -e 'no\ttitle\n1\tsubject1' | awk '/sub/ { print }' # ํŒŒ์ผ์˜ ์ „์ฒด ๋‚ด์šฉ ์ถœ๋ ฅ echo -e "a b c\nd e f" | awk '{ print }' # ํ•„๋“œ ๊ฐ’ ์ถœ๋ ฅ echo -e "a b c\nd e f" | awk '{ print $1 }' # ํ•„๋“œ ๊ฐ’์— ์ž„์˜ ๋ฌธ์ž์—ด์„ ๊ฐ™์ด ์ถœ๋ ฅ echo -e "a b c\nd e f" | awk '{print "FIRST : .. 2021. 5. 27.
[๋ฆฌ๋ˆ…์Šค] [์นผ๋ฆฌ ๋ฆฌ๋ˆ…์Šค(KALI LINUX)] # password ์„ค์ • sudo passwd su # ์žฌ๋ถ€ํŒ… ํ—ˆ์šฉ ์ฐฝ์ด ๋‚˜์˜ฌ๊ฒฝ์šฐ YES ํด๋ฆญ apt-get update && apt-get upgrade -y # ํ•œ๊ธ€ ํฐํŠธ ์„ค์น˜ apt-get install -y fcitx-lib* apt-get install -y fcitx hangul* apt-get install -y fonts-nanum* reboot service postgresql start #db ์ดˆ๊ธฐํ™” msfdb init msfconsole # ํ•ด๋‹น ip์—์„œ ์‚ฌ์šฉํ•˜๋Š” ์„œ๋น„์Šค ์ถœ๋ ฅ nmap 192.168.108.134 # ํ•ด๋‹น ip์—์„œ ์‚ฌ์šฉํ•˜๋Š” ์„œ๋น„์Šค ์ž์„ธํžˆ ์ถœ๋ ฅ nmap -sV 192.168.108.134 # msfadmin / msfadmin ftp 192.168.108.134 cd /.. 2021. 5. 26.
[๋ฆฌ๋ˆ…์Šค] [Raid 1] # raid 1 ์ƒ์„ฑ mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdd1 /dev/sde1 # yes y # Resync Status ๊ฐ€ 100% ๊ฐ€ ๋ ๋•Œ๊นŒ์ง€ ๋Œ€๊ธฐ mdadm --detail /dev/md1 # ์ž˜ ์ƒ์„ฑ ๋˜์—ˆ๋Š”์ง€ ํ™•์ธ cat /proc/mdstat # ํฌ๋ฉงํŒ… mkfs.ext4 /dev/md1 # mount ํ•  ํด๋” ์ƒ์„ฑ mkdir /data2 # raid 1 ๋””์Šคํฌ mount mount /dev/md1 /data2 # ๋งˆ์šดํŠธ ๋‚ด์šฉ ํ™•์ธ df -Th #lost+found ๊ฐ€ ์žˆ๋Š”๊ฒƒ์œผ๋กœ mount๊ฐ€ ๋˜์–ด์žˆ๋‹ค๋Š” ๊ฒƒ์„ ํ™•์ธ. cd /data2 # ํŒŒ์ผ ์ฝ๊ณ  ์“ฐ๊ธฐ ์ž˜ ๋˜๋Š”๊ฒƒ ํ™•์ธ touch aa;ls;rm -rf aa;ls; 2021. 5. 19.
[๋ฆฌ๋ˆ…์Šค] [Raid 0] : Hard Disk -> SCSI -> # Create a new virtual disk -> 10GB(Store vitual disk as a single file # ์ฒซ ๋ฒˆ์งธ 10GB ์™ธ 5GB # ์„œ๋ฒ„์šฉ์œผ๋กœ ์‚ฌ์šฉ๋˜๋Š” SCSI ๋ฅผ ์ด์šฉํ•˜์—ฌ ๊ตฌ์„ฑ # ํ˜„์žฌ ๋””์Šคํฌ ๋ฐ ํŒŒํ‹ฐ์…˜ ๋ณด๊ธฐ ๋ช…๋ น์–ด fdisk -l # ํ•˜๋“œ๋””์Šคํฌ ์ง€์ •ํ•˜์—ฌ ๋ณด๊ธฐ fdisk -l /dev/sda # ls ๋ฅผ ํ†ตํ•ด ๋ณด๊ธฐ ls -la /dev/sd* # ํ•˜๋“œ๋””์Šคํฌ ์„ค์ • fdisk /dev/sdb # ํŒŒํ‹ฐ์…˜ ํ™•์ธ(์ฒ˜์Œ์—” ์•„๋ฌด๊ฒƒ๋„ ์—†์–ด์•ผ ํ•จ) p # ํŒŒํ‹ฐ์…˜ ์ƒ์„ฑ n # ์ฃผ ํŒŒํ‹ฐ์…˜์œผ๋กœ ์ƒ์„ฑ p # ํŒŒํ‹ฐ์…˜ ๋ฒˆํ˜ธ ์ง€์ •(๊ทธ๋ƒฅ ์—”ํ„ฐ์‹œ 1๋กœ ๋จ) 1 # ์„นํ„ฐ ํฌ๊ธฐ ์ง€์ •(๊ทธ๋ƒฅ ์—”ํ„ฐํ•˜๋ฉด 2048) # ์„นํ„ฐ๋ž€ ํŒŒ์ผ์ด ์ €์žฅ๋  ์ˆ˜ ์žˆ๋Š” ์ตœ์†Œ ํฌ๊ธฐ(ํ•˜๋‚˜์˜ ์„นํ„ฐ์— .. 2021. 5. 19.
[๋ฆฌ๋ˆ…์Šค] [at , cron] #1. at # ntp ์„œ๋ฒ„ ์ค‘์ง€ systemctl stop ntpd systemctl stop chronyd yum -y install at # at ์‹คํ–‰ /usr/sbin/atd # at ์‹คํ–‰ 2 systemctl restart atd # at ์„œ๋น„์Šค ํ™•์ธ ps -ef | at # ์˜ˆ์•ฝ์ž‘์—… ํ™•์ธ at -l # ์˜ˆ์•ฝ์ž‘์—… ํ™•์ธ 2 atq # ์‹œ๊ฐ„ ๋ณ€๊ฒฝ date -s '2021-05-16 14:10' # at HH:mm MMddyyyy at 14:11 05162021 #> touch /tmp/at #> [ Ctrl + D ] ๋กœ ๋น ์ ธ๋‚˜๊ฐˆ ์ˆ˜ ์žˆ๋‹ค. # job ํ™•์ธ at -l # job ์‚ญ์ œ at -d [job ๋ฒˆํ˜ธ] watch -n 1 ls -ld /tmp/at echo "touch /tmp/at" | a.. 2021. 5. 18.
[๋ฆฌ๋ˆ…์Šค1] 5์ผ์ฐจ [grep, -E ์˜ต์…˜, ์˜ต์…˜๋“ค] # grep ๋ฌธ์ž '\-.,' ์— ๋Œ€ํ•œ ํ•˜์ด๋ผ์ดํŒ…์ด ํ‘œ์‹œ๋˜์ง€ ์•Š์Œ grep --help | grep -E '\-.,' | head -10 # grep ์„ always๋กœ ์„ค์ • alias grep='grep --color=always' # grep --help | grep -E '\-.,' | head -10 # -E ์˜ต์…˜ # grep ๋Œ€์ƒ ๋ฌธ์ž์—ด์ด ์ •๊ทœํ‘œํ˜„์‹์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•จ # ์ •๊ทœ์‹ # ^ : ํ–‰์˜ ์‹œ์ž‘ ์ง€์‹œ์ž => '^test' : test๋กœ ์‹œ์ž‘ํ•˜๋Š” ๋ชจ๋“  ํ–‰๊ณผ ๋Œ€์‘ํ•จ. # $ : ํ–‰์˜ ๋ ์ง€์‹œ์ž => 'test$' : test๋กœ ๋๋‚˜๋Š” ๋ชจ๋“  ํ–‰๊ณผ ๋Œ€์‘ํ•จ. # . : ํ•˜๋‚˜์˜ ๋ฌธ์ž์™€ ๋Œ€์‘ => 't.s.' : ์ด 4๊ฐœ์˜ ๋ฌธ์ž๋กœ ์ด๋ฃจ์–ด์ง„ ๋ฌธ์ž์—ด์„ ๊ฒ€์ƒ‰ํ•˜๋Š” ๋ฐ, ์ฒซ ๋ฒˆ์งธ๋Š” 't' ์„ธ ๋ฒˆ์งธ๋Š” 's'์ธ .. 2021. 4. 27.
[๋ฆฌ๋ˆ…์Šค1] 5์ผ์ฐจ ์ฐธ๊ณ  ํŒŒ์ผ 2021. 4. 26.
[๋ฆฌ๋ˆ…์Šค1] 4์ผ์ฐจ ์ฐธ๊ณ  ํŒŒ์ผ :: Sublime Text ์„ค์น˜ :: Preferences -> Color Scheme... -> Celeste ์„ ํƒ :: [ Ctrl + Shift + P ] -> [ Package Control: Install Package ] -> :: -> [ IMESupport ] ํด๋ฆญ :: [ Ctrl + [+] ] ๋กœ ์‚ฌ์ด์ฆˆ ์—… :: ConEmu ์„ค์น˜ :: ์„ค์น˜ํ›„ ๋ฐ”๋กœ๊ฐ€๊ธฐ ์ƒ์„ฑ ํ›„ C:\App\Run\ ํด๋” ์ด๋™ :: ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ๋“ฑ๋ก ํ›„ ์ด๋ฆ„์„ cmd2๋กœ ๋ณ€๊ฒฝ :: VirtualBox ์„ค์น˜ :: Docker Tool Box๋Š” Vista ์ด์ „ ๋ฒ„์ „์—์„œ ์ง€์›ํ•˜๋Š” NDIS5๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— :: VirtualBox ๋„ ๋งž์ถ”์–ด ์„ค์น˜ํ•˜์—ฌ ์ฃผ์–ด์•ผ ํ•œ๋‹ค. :: NDIS : [ Network Driver Interfa.. 2021. 4. 26.
[๋ฆฌ๋ˆ…์Šค1] 5์ผ์ฐจ [shell ์ŠคํŠธ๋ฆฝํŠธ ํ”„๋กœ๊ทธ๋ž˜๋ฐ - ] -๊ธฐ๋ณธ ์…ธ์€ bash(Bourne Again SHell : ‘๋ฐฐ์‹œ ์…ธ’) -bash ์…ธ์˜ ํŠน์ง• • Alias ๊ธฐ๋Šฅ(๋ช…๋ น์–ด ๋‹จ์ถ• ๊ธฐ๋Šฅ) • History ๊ธฐ๋Šฅ(์œ„/์•„๋ž˜ ํ™”์‚ดํ‘œํ‚ค) • ์—ฐ์‚ฐ ๊ธฐ๋Šฅ • Job Control ๊ธฐ๋Šฅ • ์ž๋™ ์ด๋ฆ„ ์™„์„ฑ ๊ธฐ๋Šฅ(ํƒญํ‚ค) • ํ”„๋กฌํ”„ํŠธ ์ œ์–ด ๊ธฐ๋Šฅ • ๋ช…๋ น ํŽธ์ง‘ ๊ธฐ๋Šฅ -์…ธ์˜ ๋ช…๋ น๋ฌธ ์ฒ˜๋ฆฌ ๋ฐฉ๋ฒ• -(ํ”„๋กฌํ”„ํŠธ) ๋ช…๋ น์–ด [์˜ต์…˜…] [์ธ์ž…] ์˜ˆ) # rm -rf /mydir - “echo $ํ™˜๊ฒฝ๋ณ€์ˆ˜์ด๋ฆ„” ์œผ๋กœ ํ™•์ธ ๊ฐ€๋Šฅ - “export ํ™˜๊ฒฝ๋ณ€์ˆ˜=๊ฐ’” ์œผ๋กœ ํ™˜๊ฒฝ ๋ณ€์ˆ˜์˜ ๊ฐ’์„ ๋ณ€๊ฒฝ - ์ฃผ์š” ํ™˜๊ฒฝ๋ณ€์ˆ˜ 2021. 4. 26.
[๋ฆฌ๋ˆ…์Šค1] 4์ผ์ฐจ[ docker, alias ์ •๋ณด ์œ ์ง€, ์—ฐ์‚ฐ ์‹œ ์ฃผ์˜ ์  , save, redirection ์ €์žฅ๋ฒ•, cat ์ €์žฅ๋ฒ• ] ์œˆ๋„์šฐ -> ๋ฆฌ๋ˆ…์Šค๋กœ ๋„˜์–ด๊ฐ€๋Š” ๊ณผ์ •. ใ…กใ…กใ…กใ…กใ…ก :: centos8 image ์„ค์น˜ docker pull centos:7 :: docker images ํ™•์ธ docker images :: docker images ์„ค์น˜ docker run -d -it --name centos7 centos:7 :: centos7 container ์ ‘์† 1 :: ์ ‘์† ํ›„ ์ข…๋ฃŒํ•˜์—ฌ๋„ ์ปจํ…Œ์ด๋„ˆ๊ฐ€ ์ข…๋ฃŒ๋˜์ง€ ์•Š์Œ docker exec -it centos7 /bin/bash :: centos7 container ์ ‘์† 2 :: ์ ‘์† ํ›„ ์ข…๋ฃŒํ•˜๋ฉด ์ปจํ…Œ์ด๋„ˆ๊ฐ€ ์ข…๋ฃŒ๋œ๋‹ค. docker attach centos7 :: centos7 container ์‹คํ–‰ docker start centos7 :: centos7 container ์ค‘์ง€ dock.. 2021. 4. 26.
[๋ฆฌ๋ˆ…์Šค1] 0417 {useradd, groupadd, rpm, yum, tar, ln, ln -s} - ์‚ฌ์šฉ์ž์™€ ๊ทธ๋ฃน ๊ด€๋ จ ๋ช…๋ น์–ด - (1) useradd ์ƒˆ๋กœ์šด ์‚ฌ์šฉ์ž๋ฅผ ์ถ”๊ฐ€ ์˜ˆ) # useradd newuser (2) passwd ์‚ฌ์šฉ์ž์˜ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ง€์ •ํ•˜๊ฑฐ๋‚˜ ๋ณ€๊ฒฝ ์˜ˆ) # passwd newuser (3) usermod ์‚ฌ์šฉ์ž์˜ ์†์„ฑ์„ ๋ณ€๊ฒฝ ์˜ˆ) # usermod -g root newuser (4) userdel ์‚ฌ์šฉ์ž๋ฅผ ์‚ญ์ œ ์˜ˆ) # userdel newuser # ์‚ฌ์šฉ์ž ์ƒ์„ฑ์‹œ ์˜ต์…˜ -u : ID ์ง€์ • -g : ๊ทธ๋ฃน ์ง€์ • -d : ํ™ˆ ๋””๋ ‰ํ„ฐ๋ฆฌ ์ง€์ • -s : ์…ธ ์ง€์ • ใ…กใ…กใ…กใ…กใ…ก (1) groups ํ˜„์žฌ ์‚ฌ์šฉ์ž๊ฐ€ ์†ํ•œ ๊ทธ๋ฃน์„ ๋ณด์—ฌ์คŒ ์˜ˆ) # groups (2) groupadd ์ƒˆ๋กœ์šด ๊ทธ๋ฃน์„ ์ƒ์„ฑ ์˜ˆ) # groupadd newgroup (3) groupmod ๊ทธ๋ฃน์˜ ์†์„ฑ์„ ๋ณ€๊ฒฝ ์˜ˆ) # group.. 2021. 4. 19.
[๋ฆฌ๋ˆ…์Šค1] [#16 ๋ฆฌ๋ˆ…์Šค ์—๋””ํ„ฐ] - vi editor, nano editor, ๋ช…๋ น๋ชจ๋“œ, ์ž…๋ ฅ๋ชจ๋“œ, ex๋ช…๋ น๋ชจ๋“œ a. CUI ๊ธฐ๋ฐ˜ - vi : 1796๋…„ ๋นŒ ์กฐ์ด(๋ฒ„ํด๋ฆฌ ๊ณต๋Œ€)๊ฐ€ ๊ฐœ๋ฐœ - vim : 1991๋…„ ๋ธŒ๋žŒ ๋ฌด๋ ˆ๋‚˜๋ฅด๊ฐ€ vi๋ฅผ ๊ฐœ๋Ÿ‰ - emacs : ๋ฆฌ์ฒ˜๋“œ ์Šคํ†จ๋งŒ(MIT)์ด LISP ์–ธ์–ด๋ฅผ ์ด์šฉํ•˜์—ฌ ๊ฐœ๋ฐœํ•œ “๊ฐœ๋ฐœ์ž์šฉ ์—๋””ํ„ฐ” - pico : MIT ๋Œ€ํ•™์—์„œ UNIX ๊ธฐ๋ฐ˜์˜ ์—๋””ํ„ฐ๋กœ ๊ฐœ๋ฐœ - nano : ๋ฆฌ์ฒ˜๋“œ ์Šคํ†จ๋งŒ์ด pico๋ฅผ Linux ๊ธฐ๋ฐ˜์œผ๋กœ ๊ฐœ๋Ÿ‰ b. GUI ๊ธฐ๋ฐ˜ - gVim - gEdit c. vi Editor - ๊ตฌ์กฐ - SELinux ๋น„ํ™œ์„ฑํ™” (1) SELinux ์ •์˜ : ๋ฐ๋ชฌ ๋ฐ ํŒŒ์ผ ๊ฒฝ๋กœ๋ฅผ ์ด์šฉํ•œ ๋ฐฉํ™”๋ฒฝ (2) ์‹ค์Šต : ๋” {1} enforcing : ์‹คํ–‰ {2} permissive : ๊ฐ์‹œ๋Š” ํ•˜๋˜ ๋™์ž‘์€ ์•ˆํ•จ {3} disabled : ๋™์ž‘x (3) vi /etc/selinux/config .. 2021. 4. 13.
[๋ฆฌ๋ˆ…์Šค1] [#15 ๋””๋ ‰ํ† ๋ฆฌ ๋ฐ ํŒŒ์ผ ์‹ค์Šต] - mkdir, cp, mv, rm a. test1 ํŒŒ์ผ ์ƒ์„ฑ : touch test1 b. bash1 ํŒŒ์ผ์˜ ์ตœ์ข… ์ˆ˜์ • ์‹œ๊ฐ„ ๋ณ€๊ฒฝํ•˜๊ธฐ - ๋ช…๋ น : touch bash1 - ๋ณ€๊ฒฝ ์ „ : 4์›” 1 2020 - ๋ณ€๊ฒฝ ํ›„ : 4์›” 10 22:56 c. ํด๋” ์ƒ์„ฑ : mkdir - test2 ํด๋” ์ƒ์„ฑ : mkdir test2 - test2 ํด๋”์•ˆ์— test2_a ๋ผ๋Š” ํด๋” ์ƒ์„ฑ (1) ๋ช…๋ น : mkdir test2/test2_a (2) ์œ ์˜์‚ฌํ•ญ : test2 ๋ผ๋Š” ํด๋”๊ฐ€ ์žˆ์–ด์•ผ ํ•จ (3) test3/test3_a ๋ผ๋Š” ํด๋”๋ฅผ ๋™์‹œ์— ์ƒ์„ฑ {1} ํ˜„์žฌ test3 ํด๋”๋Š” ์—†์Œ {2} ๋ช…๋ น : mkdir -p test3/test3_a test2 ํด๋”๋ฅผ ๋งŒ๋“ค๊ณ  ๊ทธ ํ›„์— test2_a ํด๋”๋ฅผ test2 ํด๋” ์•ˆ์— ๋งŒ๋“ฆ. d. ํŒŒ์ผ ๋ณต์‚ฌ : cp - cp.. 2021. 4. 13.
[๋ฆฌ๋ˆ…์Šค1] [#14 ๊ฒฝ๋กœ ๊ด€๋ จ ๋ช…๋ น] - ๊ฒฝ๋กœ ์ •์˜ , ์ ˆ๋Œ€ ๊ฒฝ๋กœ. ์ƒ๋Œ€ ๊ฒฝ๋กœ, ๊ฒฝ๋กœ ์ด๋™ ๋ช…๋ น, cd #14 ๊ฒฝ๋กœ ๊ด€๋ จ ๋ช…๋ น a. ๊ฒฝ๋กœ ์ •์˜ - ์ ˆ๋Œ€ ๊ฒฝ๋กœ : ์ตœ์ƒ์œ„ (/) ๋””๋ ‰ํ† ๋ฆฌ ๊ธฐ์ค€ - ์ƒ๋Œ€ ๊ฒฝ๋กœ : ํ˜„์žฌ ์†ํ•œ ๋””๋ ‰ํ† ๋ฆฌ ๊ธฐ์ค€ b. ํŠน์„ฑ - ์ ˆ๋Œ€ ๊ฒฝ๋กœ (1) ์žฅ์  : ๊ฒฝ๋กœ๊ฐ€ ๋ช…ํ™•(cd/์„œ์šธ์‹œ/๊ฐ•๋‚จ๊ตฌ/์—ญ์‚ผ๋™/123-123/12์ธต) (2) ๋‹จ์  : ์†๋„๊ฐ€ ์ƒ๋Œ€์ ์œผ๋กœ ๋Š๋ฆผ - ์ƒ๋Œ€ ๊ฒฝ๋กœ (1) ์žฅ์  : ํ˜„์žฌ ์œ„์น˜์—์„œ ๋ชฉ์ ์ง€๊นŒ์ง€์˜ ๊ฒฝ๋กœ๋ฅผ ์•Œ๊ณ  ์žˆ๋‹ค๋ฉด ๋น ๋ฆ„ (2) ์˜ˆ์‹œ : {1} ํ˜„์œ„์น˜ : /์„œ์šธ์‹œ/๊ฐ•๋‚จ๊ตฌ/์—ญ์‚ผ๋™/123-123/12์ธต {2} ์ด๋™์œ„์น˜ : /์„œ์šธ์‹œ/๊ฐ•๋‚จ๊ตฌ/์—ญ์‚ผ๋™/123-123/5์ธต {3} ์ด๋™ : cd ../5์ธต (3) ๋‹จ์  : ๊ฒฝ๋กœ๊ฐ€ ๋‹ฌ๋ผ์ง„ ๊ฒฝ์šฐ์—๋Š” ๋‹ค์‹œ ๊ณ„์‚ฐํ•ด์•ผ ํ•จ (4) ๊ฒฝ๋กœ ์ •์˜ {1} / ๋˜๋Š” ./ : ํ˜„์žฌ ๊ฒฝ๋กœ {2} .. ๋˜๋Š” ../ : ์ƒ์œ„ ๊ฒฝ๋กœ c. ๊ฒฝ๋กœ ์ด๋™ ๋ช…๋ น : cd - .. 2021. 4. 13.
[๋ฆฌ๋ˆ…์Šค1] [#13 ๋ฆฌ๋ˆ…์Šค ๋””๋ ‰ํ† ๋ฆฌ] - ์ฃผ์š” ๋””๋ ‰ํ† ๋ฆฌ, /boot, /proc, tree๊ตฌ์กฐ, ์œˆ๋„์šฐ์™€ ๋ฆฌ๋ˆ…์Šค์˜ ํŒŒ์ผ ๊ฐœ๋… 13. ๋ฆฌ๋ˆ…์Šค ๋””๋ ‰ํ† ๋ฆฌ a. ์ฃผ์š” ๋””๋ ‰ํ† ๋ฆฌ - / : ์ตœ์ƒ์œ„ ๋””๋ ‰ํ† ๋ฆฌ (root ๋””๋ ‰ํ† ๋ฆฌ) - /root : root ๊ณ„์ •์˜ ๋””๋ ‰ํ† ๋ฆฌ (1) root ๋””๋ ‰ํ† ๋ฆฌ๋ผ๊ณ  ๋ถ€๋ฅด์ง€ ์•Š์Œ (2) root ๊ณ„์ •์˜ ํ™ˆ ๋””๋ ‰ํ† ๋ฆฌ ๋ผ๊ณ  ํ‘œํ˜„ - /bin : binary file = ์ผ๋ฐ˜ ๊ณ„์ •์ด ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ช…๋ น์–ด - /sbin : binary file = root ๊ณ„์ •๋งŒ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ช…๋ น์–ด - /boot : GRUB2. ๋ถ€ํŒ… ์‹œ ์ฒ˜์Œ์œผ๋กœ ํ™•์ธ. **์ค‘์š”** - /dev : device. ์žฅ์น˜ (HDD, I/O ๋“ฑ) - /etc : ํŒจํ‚ค์ง€(ํ”„๋กœ๊ทธ๋žจ) ํŒŒ์ผ - /home : ์‚ฌ์šฉ์ž ๋””๋ ‰ํ† ๋ฆฌ - /lib , /lib64 : ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํด๋” (/lib : 32bit , /lib64 : 64bit) - /media : CD-ROM .. 2021. 4. 13.
728x90