env 명령을 실행하면 환경 변수가 보입니다. 그런데 그 중에서 "HOST= " 가 보이지 않는군요. 어떻게 하면 나오게 할 수 있을까요? 프로그램이 호스트 변수를 읽어들이게 되어 있어서요.
getenv("HOST")로 없으면 setenv로 설정에 맞게 지정해 주시면 됩니다..
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
getenv("HOST")로 없으면setenv로 설정에 맞게 지정해
getenv("HOST")로 없으면
setenv로 설정에 맞게 지정해 주시면 됩니다..
댓글 달기