OS(53)
-
아직도 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 -
[삽질 스토리] ssh에 연결하면서 바로 shell 수행하기!!
상황)쉘스크립트를 하나 받았다.이 쉘을 수행 후에 내가 개발한 것을 돌려야 한다. 이것은 다른 서버에 있다. ssh 공개키도 설정 된 상태! 방법)ssh를 통해 서버에 접근하여 내가 개발한 것을 돌릴수 있는 쉘 스크립트를 돌리려고 한다. 시도1)ex) ssh acet(user name)@search-acet-good(hostname):/home/acet/dev/hello.sh a b 아래의 오류가 계속 났다..ㅠ_ㅠ..ssh could not resolve hostname name or service not known /etc/hosts도 확인하여 등록하였지만 계속하여 났다..OTL=3=3 아래처럼 했더니..잘되었다..ex) ssh acet(user name)@search-acet-good(hostnam..
2016.05.10 -
펌] 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 -
value too great for base (error token is 08 )
오류 내용value too great for base (error token is 08 ) 등의 블라블라~ 참고 사이트 :http://stackoverflow.com/questions/12821715/convert-string-into-integer-in-bash-script/12821845#12821845 해결책hour=8 echo $(( ${hour#0} +1 ))위처럼 #0을 붙여주면 된다. - 끝 -
2015.02.04 -
리눅스 - 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