Linux/Unix 에서 ps 명령어를 리다이렉트로 사용하는 경우가 많다. ps -ef > test.txt 이 명령이 평소에는 잘 먹다가도 특정 시스템에서는 잘 안되는 현상이 있다. 주로 Unix에서 발생하며 오래된 버전의 Linux 에서도 같은 현상이 나타난다. 증상은 명령어 결과 최초 80 바이트만 Redirect 되는 현상이다. 이는 다음의 옵션을 통해 해결할 수 있다. ps 명령어 입력 때, w […]

Continue reading about ps 명령어 Redirect 할 때, 80 바이트만 Redirect 되는 현상..

pchero on March 13th, 2012

얼랭 설치하기 Ubuntu의 경우.. sudo apt-get install erlang   셸 시작하기 터미널 창에서 erl 이라고 입력하고 얼랭을 시작하자. $ erl jonathan@jonathan-laptop:~$ erl Erlang R13B03 (erts-5.7.4) [source] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.7.4  (abort with ^G) 1> 20 + 30. 50 2>   간단한 정수 연산 jonathan@jonathan-laptop:~$ erl Erlang R13B03 (erts-5.7.4) [source] [smp:4:4] [rq:4] [async-threads:0] […]

Continue reading about 2. 시작