OS/Linux&Unix(42)
-
아직도 nohup으로 돌리세요?? - daemon ( daemon-0.6.4.tar.gz)
지금까지 백그라운드로 실행을 하기 위해 nohup을 사용했다면 아래의 daemon을 사용하여 보자!http://www.libslack.org/daemon/ daemon으로 수행할 때 pid도 생성할 수 있고 프로세스 관리에 도움을 많이 준다.물론 다른 여러가지가 있지만 일단은 daemon을 써봐야겠다. What is daemon?Daemon turns other process into daemons. There are many tasks that need to be performed to correctly set up a daemon process. This can be tedious. Daemon performs these tasks for other processes. This is useful fo..
2016.06.21 -
펌] linux 디스크 용량 확인(df / du)
하도 까먹어서...퍼왔다..-_-;; [출처 : http://ra2kstar.tistory.com/135 ]
2016.01.19 -
Curl 이란?
출처 : http://jokergt.tistory.com/83 그냥 사용했었는데 한번 찾아보았다ㅋㅋㅋ 이런 탄생과 발전의 비화가 있었다뉘~ 참고 사항!아래의 옵션을 사용하여 체킹할 수 있다.ex) -e, --referer Referer URL (H) curl "http://www.themungu.co.kr/" -e "http://www.daum.net" 결과 : www.daum.net이 막혀있는 것을 알수가 있다..ㅠ.ㅠ..개슬픔..ForbiddenYou don't have permission to access /on this server. curl "http://www.themungu.co.kr/" -e "http://www.naver.com"네이버는 잘가져온다..ㅠ_ㅠ.. localhost:~ ter..
2015.12.03 -
리눅스 - telnet 설치 및 사용하기
node.js를 테스트 하다가...telnet을 해야하는데...아래처럼 되질 않았다.. [root@localhost nodejs]# telnet localhost 8000-bash: telnet: command not found[root@localhost nodejs]# telnet-bash: telnet: command not found[root@localhost nodejs]# rpm -qa | grep telnet[root@localhost nodejs]# cat /etc/xinetd.d/telnetcat: /etc/xinetd.d/telnet: No such file or directory >[root@localhost nodejs]# yum install telnet-server Running ..
2014.02.06 -
리눅스 현재 사용 포트 확인 방법
lsof -i TCP:portNumber acet@ubuntu:~/acetServer/apache-tomcat-6.0.37/conf$ lsof -i TCP:8080(사용포트) COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 16851 acet 37u IPv6 90074 0t0 TCP *:사용포트 (LISTEN) 해당 포트가 Listen하고 있다는 것을 알 수 있다.^-^ 물론 netstat -na로도 알수가 있다.ex) acet@ubuntu:~/acetServer$ netstat -anActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address Foreign ..
2013.06.03 -
.profile vs .bash_profile vs .bashrc
음...profile vs .bash_profile vs .bashrc 에 대해서 정확히 몰랐었다. bashrc'는 로그인 없이 Bash가 실행될 때 로드된다. 'sudo bash'나 'su'로 root 권한을 얻으려 bash를 실행할 때도 이 파일이 로드된다.정리:’.profile' - 로그인할 때 로드된다. PATH처럼 로그인할 때 로드해야 하는데 bash와 상관없는 것들을 여기에 넣는다.‘.bash_profile’ - 로그인할 때 로드된다. ‘bash completion'이나 'nvm'같이 로그인할 때 로드해야 하는데 Bash와 관련된 것이면 여기에 넣는다.’.bashrc' - 로그인하지 않고 Bash가 실행될 때마다 로드된다.bash-it나는 Bash 프레임워크인 bash-it을 사용하는데, 그냥..
2013.06.02