๋ชฉ๋ก์ ์ฒด ๊ธ (1103)
KoreanFoodie's Study

ํ์ด์ฌ์์ ๊น๋จน์ ์ ์๋ ์์ํ ์ฌํญ๋ค์ ๋ฆฌ๋ง์ธ๋ํ๋ ํฌ์คํธ์ ๋๋ค. ์ฝ๋๋ค์ automatetheboringstuff.com์์ ์ฐธ์กฐํ์ต๋๋ค. ๋จผ์ , syntax์ ๊ด๋ จ๋ ์ฌํญ๋ค์ ๋ณต์ตํ๋ ๊ฒ์ด ์ฐ์ ์ด๋ค. ์ฃผ๋ก ์์ ๋ค์ ํตํด ๊ธฐ์ต์ ๋๋ฌ์ด ๋ณด์. ์ ์์ ๋ค(๊ฐ์ฅ ๊ธฐ์ด๋ถํฐ) : >>> 'Alice' + 'Bob' 'AliceBob' >>> 'Alice' + 42 Traceback (most recent call last): File "", line 1, in 'Alice' + 42 TypeError: Can't convert 'int' object to str implicitly >>> 'Alice' * 5 'AliceAliceAliceAliceAlice' >>> 'Alice' * 'Bob' Traceb..

Implement a simple linux shell with pipe and more! ๋ฆฌ๋ ์ค ์์์ ํ์ดํ, ๋ฆฌ๋ค์ด๋ ์ ์ ๊ตฌํํด ๋ณด์ I'm going to present how to solve execercise 11, chapter3, from Operating Systems: Principles & Practice,2nd Edition. Problem specificatoin : implement a simple linux shell in c capable of executing a sequence of programs that communicate through a pipe. For example, if the user types ls | wc... So the problem is how t..
์น๊ตฌ์ ์ฝ์์ด ์์๋๋ฐ, ์ด์ฉ๋ค ๋ณด๋ ์ทจ์๊ฐ ๋์ด ์๊ฐ์ด ๋ถ ๋ ๋ฒ๋ ธ๋ค. ๋ง์นจ ๊น์น์ฐ๊ฐ๋ฅผ ๋จน๊ณ ์ถ์๊ธฐ์, ๊ฐ ๊ณณ ์๋ ๋ฐ๊ฑธ์์ ์๋ง์ ์๋น์ผ๋ก ํฅํ๋ค. ๊ฐ์คํ๊ณ , ๋ง ํ๊ฐ๋ฅผ ํด๋ณด์๋ฉด... -๊น์น์ฐ๊ฐ์ ๊ฐ์ ์ ๋นํ๊ณ , ๋งค์ด ์ ๋๋ ์ ๋นํ๋ค. ์ ๋ผ๋ฉด๋ณด๋ค ์ฝ๊ฐ ๋ ๋งค์ด ๋๋?- ๋ฐฅ์ ์ผ๋ฐ ๋ฐฅ์ง์์ ๋์ค๋ ์์ ์คํ ๊ทธ๋ฆ์ 2๋ฐฐ๋ฅผ ์ด์ง ์๋๋ ์์ด๋ค. ๋ฐฅ์ด ๋ถ์กฑํ์ง ์์๋ฏ.- ๊ตญ๋ฌผ์ ๋ฐฅ์ ๋ค ๋ง์์ ๋ ๊ธฐ์ค์ผ๋ก ์ฝ 2.3 ์๊ฐ์ ํ ๋ฒ์ฉ ๊ณ ๊ธฐ๊ฐ ์ฌ๋ผ์ค๋ ๊ฒ ๊ฐ๋ค.- ๊ณ ๊ธฐ๋ ์ง๋ฐฉ(๊ธฐ๋ฆ๊ธฐ)์ด ๊ฑฐ์ ์๋ ๋ถ์๋ฅผ ์ฌ์ฉํ๋ ๊ฒ ๊ฐ๋ค. ์๋ค๋ฆฌ๋ ๋ท๋ค๋ฆฌ๊ฐ ์๋๊น..? ํ๊ฒ์ง๊ฒ ๋จน์ด์ ์ฒดํฌ๋ฅผ ์ ๋ชป ํ์ง๋ง, ์ผ๊ฒน์ด์ ํ์คํ ์๋๋ค. ๊ทธ๋๋ ๋ง์ด ํฝํฝํ๋ค๊ฑฐ๋ ์ง๊ธฐ์ง๋ ์์๋ค. ๋ถ๋๋ฝ๋ค!- ๊ฐ๊ฒฉ์ด 5000์์ด์๋ค๋ฉด ์ธ๋ค๊ณ , 70..