๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ฆฌ๋ˆ…์Šค ๋ช…๋ น์–ด

(1)
[Linux / Terminal] ๋ฆฌ๋ˆ…์Šค, ํ„ฐ๋ฏธ๋„ ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ๋ช…๋ น์–ด ์ •๋ฆฌ ์ทจ๋ฏธ๋‚˜ ์—…๋ฌด๋กœ ์ธํ•ด์„œ ๋ฆฌ๋ˆ…์Šค ํ™˜๊ฒฝ์„ ์ž์ฃผ ์ ‘ํ•ด์•ผ ํ•˜๋Š” ๋ถ„๋“ค์ด ๋งŽ์œผ์‹ค ํ…๋ฐ์š”. ์ตœ๊ทผ์— ์ €๋„ ๋ฆฌ๋ˆ…์Šค ํ™˜๊ฒฝ์„ ์ž์ฃผ ์‚ฌ์šฉํ•˜๋‹ค ๋ณด๋‹ˆ GUI์™€๋Š” ๋‹ค๋ฅธ ํŽธ๋ฆฌํ•œ ์ ๋„ ๋งŽ๋‹ค๋Š” ์ƒ๊ฐ์ด ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค. ์•ˆ ์“ฐ๋ฉด ์›Œ๋‚™ ์ž์ฃผ ์žŠ์–ด๋ฒ„๋ฆฌ๋Š” ์„ฑ๊ฒฉ ๋•Œ๋ฌธ์— ๊ฐ„๋‹จํ•˜์ง€๋งŒ ์œ ์šฉํ•œ ๋ช…๋ น์–ด๋“ค์„ ์ •๋ฆฌํ•ด๋ณผ๊นŒ ํ•ฉ๋‹ˆ๋‹ค. ๐Ÿ“ Linux ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ๋ช…๋ น์–ด ๐Ÿค” ํ˜„์žฌ ์œ„์น˜(working dirctory) ์ฐพ๊ธฐ - PWD (Print Working Directory) pwd ํ˜„์žฌ ์ž์‹ ์˜ ์œ„์น˜๋ฅผ ์•Œ๋ ค์ฃผ๋Š” ๋ช…๋ น์–ด์ž…๋‹ˆ๋‹ค(๋Œ€์†Œ๋ฌธ์ž ๊ตฌ๋ถ„ ์—†์ด ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.). ๋ฆฌ๋ˆ…์Šค๋‚˜ ํ„ฐ๋ฏธ๋„์„ ์ด์šฉํ•  ๋•Œ, ์ข…์ข… ํ˜„์žฌ ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์–ด๋””์ธ์ง€ ํ—ท๊ฐˆ๋ฆด ๋•Œ๊ฐ€ ์žˆ๋Š”๋ฐ ํ˜„์žฌ ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ์ฐพ์„ ๋•Œ ์‚ฌ์šฉํ•˜๋ฉด ์œ ์šฉํ•œ ๋ช…๋ น์–ด์ž…๋‹ˆ๋‹ค. cd๋กœ ์ฐพ๋Š” ์ผ์€ ์ด์ œ ๊ทธ๋งŒ~ ํ˜„์žฌ ๋””๋ ‰ํ„ฐ๋ฆฌ(ํด๋”) ๋ฐ ํŒŒ์ผ ์ฐพ๊ธฐ / ์ˆจ๊น€ ํŒŒ..

728x90