RedJini Blog
http://blog.redjini.com/
2024-03-19T13:52:24+09:00
Textcube 1.9.3 : poco a poco
[Android] Dialog 속성
나그네
http://blog.redjini.com/333
2015-08-30T17:26:36+09:00
2015-08-30T17:18:23+09:00
Back키 Cancle 여부 설정 setCancelable(false); Dialog dim background 막기 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); Dialog 밖을 터치 했을 경우 Dialog 종료 막기 setCanceledOnTouchOutside(true); Dialog 밖의 View를 터치할 수 있게 하기 (다른 View를 터치시 Dialog Dism...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/26">Android</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/326">[Android] 전화걸기 연동</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/08/14</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/333">글 전체보기</a></strong></p>
[Android] 전화걸기 연동
나그네
http://blog.redjini.com/326
2014-08-14T21:57:15+09:00
2014-08-14T20:28:18+09:00
전화 바로 걸기 <pre name="CODE" class="brush:java"> Intent intent= new Intent(Intent.ACTION_CALL); intent.setData( Uri.parse("tel:"+callee)); startActivity(intent);</pre> 전화 걸기 창 표시 [code java] Intent intent= new Intent(Intent.ACTION_DIAL); intent.setData( Uri.parse("tel:"+callee))...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/26">Android</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/333">[Android] Dialog 속성</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2015/08/30</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/326">글 전체보기</a></strong></p>
[MFC] HttpOpenRequest 이용시 0xC0000005: 0xcccccccc 오류
나그네
http://blog.redjini.com/318
2014-03-04T22:31:01+09:00
2014-03-04T22:31:01+09:00
HttpOpenRequest 이용시 디버깅 창에"0xC0000005: 0xcccccccc 위치를 읽는 동안 액세스 위반이 발생했습니다."메세지가 출력되어 무시하다 해결방법을 찾았습니다. [code cpp (highlight:1,7)]LPCTSTR szAcceptType = "*/*";LPCTSTR szAccept = __ACE_HTTP_ACCEPT;LPCTSTR szContentType= _T("Content-Type: application/x-w...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/10">Visual C</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/319">[MFC] modal dialog(모달 대화상자) 숨긴채로 시작하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/03/04</td></tr>
<tr><td><a href="http://blog.redjini.com/253">[MFC] 프로세스 파일 경로</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/09/24</td></tr>
<tr><td><a href="http://blog.redjini.com/242">[MFC] OpenSSL Visual Studio 2008에서 컴파일 및 설치 하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/05/11</td></tr>
<tr><td><a href="http://blog.redjini.com/241">[MFC] Visual Studio 2008에서 zlib 1.2.3 컴파일</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/04/21</td></tr>
<tr><td><a href="http://blog.redjini.com/236">IE8설치후 VS2008 스크립트 오류 문제</a> <span class="scp_cm">(4)</span></td><td class="scp_date">2009/03/31</td></tr>
<tr><td><a href="http://blog.redjini.com/228">데이크스트라 알고리즘(Dijkstra algorithm)</a> <span class="scp_cm">(2)</span></td><td class="scp_date">2008/12/29</td></tr>
<tr><td><a href="http://blog.redjini.com/193">Microsoft Office 2007 연동</a> <span class="scp_cm">(1)</span></td><td class="scp_date">2008/06/04</td></tr>
<tr><td><a href="http://blog.redjini.com/189">GDI+에서 Round Rectangle 그리기.</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2008/03/14</td></tr>
<tr><td><a href="http://blog.redjini.com/188">VC macro __FUNCTION__ UNICODE에서 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2008/03/14</td></tr>
<tr><td><a href="http://blog.redjini.com/172">MulDiv</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2007/12/12</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/318">글 전체보기</a></strong></p>
[MFC] modal dialog(모달 대화상자) 숨긴채로 시작하기
나그네
http://blog.redjini.com/319
2014-03-04T22:30:39+09:00
2014-03-04T22:30:39+09:00
Dialog를 DoModal로 활성화시 숨긴채로 시작하는 방법. 1. 메세지 멥에 WM_WINDOWPOSCHANGING 이벤트 등록<pre name="CODE" class="brush:js highlight:[2]">BEGIN_MESSAGE_MAP(CAceDialog, CDialog) ON_WM_WINDOWPOSCHANGING()END_MESSAGE_MAP()</pre>2. OnWindowPosChanging 함수 수정[code cpp (highlight:3)]void CAceDialog:...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/10">Visual C</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/318">[MFC] HttpOpenRequest 이용시 0xC0000005: 0xcccccccc 오류</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/03/04</td></tr>
<tr><td><a href="http://blog.redjini.com/253">[MFC] 프로세스 파일 경로</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/09/24</td></tr>
<tr><td><a href="http://blog.redjini.com/242">[MFC] OpenSSL Visual Studio 2008에서 컴파일 및 설치 하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/05/11</td></tr>
<tr><td><a href="http://blog.redjini.com/241">[MFC] Visual Studio 2008에서 zlib 1.2.3 컴파일</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/04/21</td></tr>
<tr><td><a href="http://blog.redjini.com/236">IE8설치후 VS2008 스크립트 오류 문제</a> <span class="scp_cm">(4)</span></td><td class="scp_date">2009/03/31</td></tr>
<tr><td><a href="http://blog.redjini.com/228">데이크스트라 알고리즘(Dijkstra algorithm)</a> <span class="scp_cm">(2)</span></td><td class="scp_date">2008/12/29</td></tr>
<tr><td><a href="http://blog.redjini.com/193">Microsoft Office 2007 연동</a> <span class="scp_cm">(1)</span></td><td class="scp_date">2008/06/04</td></tr>
<tr><td><a href="http://blog.redjini.com/189">GDI+에서 Round Rectangle 그리기.</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2008/03/14</td></tr>
<tr><td><a href="http://blog.redjini.com/188">VC macro __FUNCTION__ UNICODE에서 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2008/03/14</td></tr>
<tr><td><a href="http://blog.redjini.com/172">MulDiv</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2007/12/12</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/319">글 전체보기</a></strong></p>
[shell script] bash read command
나그네
http://blog.redjini.com/306
2017-07-03T19:37:59+09:00
2014-02-11T18:58:56+09:00
참고 : http://wiki.redjini.com/linux/script 옵션 -n number : number 수만큼의 문자를 입력받음 -p string : 프로프트에 string 문자열 출력 -a : 입력을 Array형태로 저장 -s : 입력을 프로프트에 출력하지 않음 -d char : 입력이 char 이면 read 명령을 종료함. shell script 내에서 문자열을 array에 저장하기 [code bash]#!/bin/shVMSTATLO...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/12">Linux & Shell Script</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/301">[linux] shell command 로그 남기기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/300">[linux] Linux Console에서 BEEP 사운드 끄기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/296">[shell] netstat</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/22</td></tr>
<tr><td><a href="http://blog.redjini.com/282">[shell script] 배열(Array) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/10</td></tr>
<tr><td><a href="http://blog.redjini.com/281">[shell script] 함수(Function) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/09</td></tr>
<tr><td><a href="http://blog.redjini.com/273">[linux] 메모리</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/12/17</td></tr>
<tr><td><a href="http://blog.redjini.com/263">[shell script] Here Documents</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/26</td></tr>
<tr><td><a href="http://blog.redjini.com/262">[shell script] directory exists check</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/20</td></tr>
<tr><td><a href="http://blog.redjini.com/258">[shell script] 실행 경로 구하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/10/24</td></tr>
<tr><td><a href="http://blog.redjini.com/240">[shell] yum 장애 조치</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/04/21</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/306">글 전체보기</a></strong></p>
[linux] shell command 로그 남기기
나그네
http://blog.redjini.com/301
2014-01-27T15:52:11+09:00
2014-01-27T13:50:16+09:00
Step 1: /etc/bashrc 파일 마지막 라인에 다음 사항 추가 export PROMPT_COMMAND='RETRN_VAL=$?;logger -p local6.debug "[$(whoami)][$PWD][$$]: $(history 1 | sed "s/^[ ]*[0-9]\+[ ]*//" ) [$RETRN_VAL]"' Step 2: /etc/syslog.config 파일에 다음사항 추가 local6.* /var/log/cmdlog.log sys...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/12">Linux & Shell Script</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/306">[shell script] bash read command</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/02/11</td></tr>
<tr><td><a href="http://blog.redjini.com/300">[linux] Linux Console에서 BEEP 사운드 끄기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/296">[shell] netstat</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/22</td></tr>
<tr><td><a href="http://blog.redjini.com/282">[shell script] 배열(Array) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/10</td></tr>
<tr><td><a href="http://blog.redjini.com/281">[shell script] 함수(Function) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/09</td></tr>
<tr><td><a href="http://blog.redjini.com/273">[linux] 메모리</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/12/17</td></tr>
<tr><td><a href="http://blog.redjini.com/263">[shell script] Here Documents</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/26</td></tr>
<tr><td><a href="http://blog.redjini.com/262">[shell script] directory exists check</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/20</td></tr>
<tr><td><a href="http://blog.redjini.com/258">[shell script] 실행 경로 구하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/10/24</td></tr>
<tr><td><a href="http://blog.redjini.com/240">[shell] yum 장애 조치</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/04/21</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/301">글 전체보기</a></strong></p>
[linux] Linux Console에서 BEEP 사운드 끄기
나그네
http://blog.redjini.com/300
2014-01-27T11:59:04+09:00
2014-01-27T11:56:34+09:00
Linux 콘솔창에서 키입력시 나는 비프음(beep) 끄기. [root@localhost ~]# vi /etc/inputrc # do not bell on tab-completionset bell-style none
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/12">Linux & Shell Script</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/306">[shell script] bash read command</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/02/11</td></tr>
<tr><td><a href="http://blog.redjini.com/301">[linux] shell command 로그 남기기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/296">[shell] netstat</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/22</td></tr>
<tr><td><a href="http://blog.redjini.com/282">[shell script] 배열(Array) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/10</td></tr>
<tr><td><a href="http://blog.redjini.com/281">[shell script] 함수(Function) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/09</td></tr>
<tr><td><a href="http://blog.redjini.com/273">[linux] 메모리</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/12/17</td></tr>
<tr><td><a href="http://blog.redjini.com/263">[shell script] Here Documents</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/26</td></tr>
<tr><td><a href="http://blog.redjini.com/262">[shell script] directory exists check</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/20</td></tr>
<tr><td><a href="http://blog.redjini.com/258">[shell script] 실행 경로 구하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/10/24</td></tr>
<tr><td><a href="http://blog.redjini.com/240">[shell] yum 장애 조치</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/04/21</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/300">글 전체보기</a></strong></p>
[shell] netstat
나그네
http://blog.redjini.com/296
2014-01-23T18:50:31+09:00
2014-01-22T00:00:06+09:00
usage: netstat [-veenNcCF] [<Af>] -r netstat {-V|--version|-h|--help} netstat [-vnNcaeol] [<Socket> ...] netstat { [-veenNac] -I[<Iface>] | [-veenNac] -i | [-cnNe] -M | -s } [delay] -r, --route display routing table -I, --interfaces=[...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/12">Linux & Shell Script</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/306">[shell script] bash read command</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/02/11</td></tr>
<tr><td><a href="http://blog.redjini.com/301">[linux] shell command 로그 남기기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/300">[linux] Linux Console에서 BEEP 사운드 끄기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/282">[shell script] 배열(Array) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/10</td></tr>
<tr><td><a href="http://blog.redjini.com/281">[shell script] 함수(Function) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/09</td></tr>
<tr><td><a href="http://blog.redjini.com/273">[linux] 메모리</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/12/17</td></tr>
<tr><td><a href="http://blog.redjini.com/263">[shell script] Here Documents</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/26</td></tr>
<tr><td><a href="http://blog.redjini.com/262">[shell script] directory exists check</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/20</td></tr>
<tr><td><a href="http://blog.redjini.com/258">[shell script] 실행 경로 구하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/10/24</td></tr>
<tr><td><a href="http://blog.redjini.com/240">[shell] yum 장애 조치</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/04/21</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/296">글 전체보기</a></strong></p>
[shell script] 배열(Array) 사용하기
나그네
http://blog.redjini.com/282
2017-07-03T19:52:50+09:00
2014-01-10T19:36:13+09:00
참고 : 스크립트 > 배열" href="http://wiki.redjini.com/linux/script">http://wiki.redjini.com/linux/script 배열(Array) : 선언하기 <pre name="CODE" class="brush:bash">array_name_1=("value 1" "value 2" "value 3")array_name_2=(1 2 3)</pre> 배열(Array) : 참조하기 [code bash]array_name=("value 1" "valu...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/12">Linux & Shell Script</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/306">[shell script] bash read command</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/02/11</td></tr>
<tr><td><a href="http://blog.redjini.com/301">[linux] shell command 로그 남기기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/300">[linux] Linux Console에서 BEEP 사운드 끄기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/296">[shell] netstat</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/22</td></tr>
<tr><td><a href="http://blog.redjini.com/281">[shell script] 함수(Function) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/09</td></tr>
<tr><td><a href="http://blog.redjini.com/273">[linux] 메모리</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/12/17</td></tr>
<tr><td><a href="http://blog.redjini.com/263">[shell script] Here Documents</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/26</td></tr>
<tr><td><a href="http://blog.redjini.com/262">[shell script] directory exists check</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/20</td></tr>
<tr><td><a href="http://blog.redjini.com/258">[shell script] 실행 경로 구하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/10/24</td></tr>
<tr><td><a href="http://blog.redjini.com/240">[shell] yum 장애 조치</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/04/21</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/282">글 전체보기</a></strong></p>
[shell script] 함수(Function) 사용하기
나그네
http://blog.redjini.com/281
2017-07-03T19:37:02+09:00
2014-01-09T18:23:02+09:00
참고 : http://wiki.redjini.com/linux/script 사용법 <pre name="CODE" class="brush:bash">function name(){ shell command}</pre> 예제 <pre name="CODE" class="brush:bash">function my_function(){ echo "my function"}my_function</pre> 지역변수 (Local variables) [code bash]value=1234;function my_function(){ local value...
<!-- ACEPRO -->
<div class='google_ad_line_top' id='google_ad_line_top'></div>
<div class='google_ad' id='google_ad'>
<script type='text/javascript'>
<!--
google_ad_client = 'ca-pub-8164287241783066';
/* 블로그 468*60 */
google_ad_slot = '6132571865';
google_ad_width = 468;
google_ad_height= 60;
//-->
</script>
<script type='text/javascript' src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
</div>
<div class='google_ad_line_bottom' id='google_ad_line_bottom'></div>
<div class="scposts">
<h4>"<a href="http://blog.redjini.com/category/2">프로그래밍</a> / <a href="http://blog.redjini.com/category/12">Linux & Shell Script</a>" 분류의 다른 글</h4>
<table>
<tr><td><a href="http://blog.redjini.com/306">[shell script] bash read command</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/02/11</td></tr>
<tr><td><a href="http://blog.redjini.com/301">[linux] shell command 로그 남기기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/300">[linux] Linux Console에서 BEEP 사운드 끄기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/27</td></tr>
<tr><td><a href="http://blog.redjini.com/296">[shell] netstat</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/22</td></tr>
<tr><td><a href="http://blog.redjini.com/282">[shell script] 배열(Array) 사용하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2014/01/10</td></tr>
<tr><td><a href="http://blog.redjini.com/273">[linux] 메모리</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/12/17</td></tr>
<tr><td><a href="http://blog.redjini.com/263">[shell script] Here Documents</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/26</td></tr>
<tr><td><a href="http://blog.redjini.com/262">[shell script] directory exists check</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/11/20</td></tr>
<tr><td><a href="http://blog.redjini.com/258">[shell script] 실행 경로 구하기</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2013/10/24</td></tr>
<tr><td><a href="http://blog.redjini.com/240">[shell] yum 장애 조치</a> <span class="scp_cm">(0)</span></td><td class="scp_date">2009/04/21</td></tr>
</table></div><p><strong><a href="http://blog.redjini.com/281">글 전체보기</a></strong></p>