<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>끄적끄적....</title>
    <link>https://hsnote.tistory.com/</link>
    <description>이것저것 끄적끄적....</description>
    <language>ko</language>
    <pubDate>Thu, 2 Jul 2026 20:00:38 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>정현석</managingEditor>
    <image>
      <title>끄적끄적....</title>
      <url>https://t1.daumcdn.net/cfile/tistory/27467A3C58DB4A3F18</url>
      <link>https://hsnote.tistory.com</link>
    </image>
    <item>
      <title>Error generating final archive: Debug certificate expired on ...</title>
      <link>https://hsnote.tistory.com/entry/Error-generating-final-archive-Debug-certificate-expired-on</link>
      <description>&lt;p&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;&lt;blockquote style=&quot;margin-top: 1em; margin-right: 40px; margin-bottom: 1em; margin-left: 40px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;Error generating final archive: Debug certificate expired on ...&lt;/blockquote&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;이클립스에서 안드로이드 애플리케이션 빌드 중에 이런 오류 메시지가 나오는 경우가 있다.&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;Debug certificate가 만료되어서 발생하는 문제인데, Debug certificate는 만들어진 후 365일이 지나면 만료된다. 그러므로 만료된 Debug certificate를 새로 갱신해주면 된다. 방법은 간단하다.&amp;nbsp;&lt;u&gt;&lt;b&gt;debug.keystore 파일을 삭제&lt;/b&gt;&lt;/u&gt;한 후, 그냥 다시 안드로이드 애플리케이션을 빌드만 하면 된다.&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;debug.keystore 파일의 위치는 'Window &amp;gt; Preferences &amp;gt; Android &amp;gt; Build'에서 'Default debug keystore' 항목을 참조하면 된다.&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 돋움, sans-serif; line-height: 19px; text-align: left; &quot;&gt;참고자료:&amp;nbsp;&lt;a href=&quot;http://developer.android.com/guide/publishing/app-signing.html&quot; target=&quot;_blank&quot; style=&quot;color: rgb(0, 0, 255); &quot;&gt;Signing Your Applications&lt;/a&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <category>언어/Android</category>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/217</guid>
      <comments>https://hsnote.tistory.com/entry/Error-generating-final-archive-Debug-certificate-expired-on#entry217comment</comments>
      <pubDate>Wed, 30 May 2012 09:33:27 +0900</pubDate>
    </item>
    <item>
      <title>HTTP 304 Not Modified</title>
      <link>https://hsnote.tistory.com/entry/HTTP-304-Not-Modified</link>
      <description>&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;출처 :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;a href=&quot;http://wearekorean.co.kr/zbxe/26101&quot;&gt;http://wearekorean.co.kr/zbxe/26101&lt;/a&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;&lt;br /&gt;
&lt;br /&gt;브라우저와 웹서버와의 대화&lt;div&gt;
&lt;hr style=&quot;border-left-width: 0px; border-left-color: black; border-bottom-width: 0px; border-bottom-color: black; border-top-color: black; height: 1px; border-right-width: 0px; border-right-color: black; &quot;&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;브라우저는 웹서버에게&amp;nbsp;이미지, CSS 그리고 동적생성 정보(HTML, XML, JSON... 등&amp;nbsp;많은 컨텐츠를 요청합니다. 그런데 동일한 리소스(이하 컨텐츠)를 여러번 요청하는 경우가 굉장히 많습니다. 전형적인 예가 이미지나 CSS 같은 정적 컨텐츠인데 이런 것을 요청할 때 브라우저와 웹서버가 어떻게 대화하는지 아래 그림으로 살펴보겠습니다.&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; text-align: center; clear: both; &quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/1456BA1D4B277C4962&quot; rel=&quot;lightbox&quot; target=&quot;_blank&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: none; &quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/1456BA1D4B277C4962&quot; alt=&quot;&quot; height=&quot;168&quot; width=&quot;502&quot; style=&quot;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; &quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;ul&gt;
&lt;li&gt;1: /AAA 컨텐츠를 주세요&lt;/li&gt;
&lt;li&gt;2: OK 주었습니다. 이 컨텐츠의 마지막 갱신일은 2009년 9월 7일... 입니다. (컨텐츠 전송)&lt;/li&gt;
&lt;li&gt;잠시 후...&lt;/li&gt;
&lt;li&gt;3: /AAA 컨텐츠를 주세요. 아. 제가 캐시에 가지고 있는 건 마지막 갱신일이 2009년 9월 7일 ... 이네요&lt;/li&gt;
&lt;li&gt;4: 변경사항 없습니다. 그냥 캐시에 있는 것 쓰세요. (아무것도 전송 안함)&lt;/li&gt;
&lt;/ul&gt;브라우저 기본설정이라면 캐시에 있을 경우 브라우저가 시작하고 한 번 확인하고 두 번 다시는 GET 확인 요청을 하지 않습니다. 그냥 캐시에 있는 걸 씁니다. 브라우저를 다시 시작할 경우만 확인 요청을 합니다. 서버에 아예 요청도 안 가니 네트워크나 서버 부하는 무지 감소합니다. (IE 인터넷 옵션 설정에서 &quot;페이지를 열 때마다&quot;로 설정된 경우는 매번 확인 요청을 합니다.)&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br /&gt;
&lt;span id=&quot;callbacknestgreatkim91tistorycom1187075&quot; style=&quot;float: right; width: 226px; height: 196.5px; &quot;&gt;&lt;embed width=&quot;100%&quot; height=&quot;100%&quot; wmode=&quot;transparent&quot; id=&quot;greatkim91tistorycom1187075&quot; src=&quot;http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknestgreatkim91tistorycom1187075&amp;amp;id=118&amp;amp;callbackId=greatkim91tistorycom1187075&amp;amp;host=http://greatkim91.tistory.com&amp;amp;float=left&amp;amp;&quot; allowscriptaccess=&quot;always&quot; menu=&quot;false&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;동적 컨텐츠와 304&lt;div&gt;
&lt;hr style=&quot;border-left-width: 0px; border-left-color: black; border-bottom-width: 0px; border-bottom-color: black; border-top-color: black; height: 1px; border-right-width: 0px; border-right-color: black; &quot;&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;서블릿이나 JSP 등으로 생성하는 동적 컨텐츠는 매번 정보가 갱신되어야 하기에 이런 메커니즘을 사용하지 않습니다. 그런데 간혹&amp;nbsp;&lt;b&gt;서버 컨텐츠 마지막 갱신일을 알고 매우 요청이 많은 페이지 일 경우&lt;/b&gt;&amp;nbsp;위 메커니즘을 이용하는 것도 좋은 방법이겠네요. 다음 예는 JSP로 구현한 소스 예입니다.&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;div id=&quot;highlighter_369595&quot; class=&quot;syntaxhighlighter  &quot; style=&quot;margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 1px !important; padding-right: 1px !important; padding-bottom: 1px !important; padding-left: 1px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: relative !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 603px; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;div class=&quot;lines&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;
&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;01&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;lt;%&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt2&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;02&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;comments&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; color: rgb(0, 130, 0) !important; &quot;&gt;// 서버 컨텐츠의 마지막 갱신을 얻어온다.&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt1&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;03&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;java.util.Date date = getLastModified();&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt2&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;04&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: bold !important; font-size: 1em !important; min-height: inherit !important; color: rgb(0, 102, 153) !important; &quot;&gt;long&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;clientDate = request.getDateHeader(&lt;/code&gt;&lt;code class=&quot;string&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; color: blue !important; &quot;&gt;&quot;If-Modified-Since&quot;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;);&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt1&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;05&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: bold !important; font-size: 1em !important; min-height: inherit !important; color: rgb(0, 102, 153) !important; &quot;&gt;long&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;serverDate = date.getTime();&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt2&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;06&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: bold !important; font-size: 1em !important; min-height: inherit !important; color: rgb(0, 102, 153) !important; &quot;&gt;if&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;(clientDate != -&lt;/code&gt;&lt;code class=&quot;value&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; color: rgb(0, 153, 0) !important; &quot;&gt;1&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;amp;&amp;amp; clientDate &amp;gt;= serverDate) {&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt1&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;07&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt2&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;08&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: bold !important; font-size: 1em !important; min-height: inherit !important; color: rgb(0, 102, 153) !important; &quot;&gt;return&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt1&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;09&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;}&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt2&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;10&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;spaces&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;response.setDateHeader(&lt;/code&gt;&lt;code class=&quot;string&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; color: blue !important; &quot;&gt;&quot;Last-Modified&quot;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;, serverDate);&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class=&quot;line alt1&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;table style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-collapse: collapse !important; &quot;&gt;&lt;tbody style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;&lt;tr style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;
&lt;td class=&quot;number&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; color: rgb(175, 175, 175) !important; &quot;&gt;&lt;code style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; display: block !important; &quot;&gt;11&lt;/code&gt;&lt;/td&gt;
&lt;td class=&quot;content&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: inherit !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; &quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; min-height: inherit !important; &quot;&gt;%&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;b&gt;비즈니스 로직이 실행되기 전&lt;/b&gt;&amp;nbsp;해당 정보 갱신일을 살펴보고 다시 줄 것인지 304를 던질 것인지 판단하는게 좋겠습니다. 그래야 필요없는 서버 로직이 수행되지 않습니다.&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;웹 애플리케이션 성능 향상&lt;div&gt;
&lt;hr style=&quot;border-left-width: 0px; border-left-color: black; border-bottom-width: 0px; border-bottom-color: black; border-top-color: black; height: 1px; border-right-width: 0px; border-right-color: black; &quot;&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;기본에 충실하는게 좋습니다. 우선은 문제가 되는 비즈니스 로직을 충분히 튜닝하십시오. 그런 후 특별한 캐싱 장치를 사용하거나 가능하면 위의 경우처럼 표준 캐싱 메키니즘을 충분히 활용하십시오.&lt;/div&gt;
&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: dotum; background-color: rgb(255, 255, 255); &quot;&gt;
그리고 비즈니스 로직의 성능을 높이기 위해 특정 비즈니스 로직을 열심히 튜닝하기 전에 우선&amp;nbsp;&lt;a title=&quot;[http://www.fiddler2.com]로 이동합니다.&quot; href=&quot;http://www.fiddler2.com/&quot; target=&quot;_blank&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: none; &quot;&gt;Fiddler&lt;/a&gt;&amp;nbsp;같은 도구로 브라우저와 서버가 무슨 통신을 하는지 살펴보는게 좋습니다. 생각보다 필요없는 요청이 많이 발생할 수도 있습니다.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;script src=&quot;http://greatkim91.tistory.com/plugin/CallBack_bootstrapper?&amp;amp;src=http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback&amp;amp;id=118&amp;amp;callbackId=greatkim91tistorycom1187075&amp;amp;destDocId=callbacknestgreatkim91tistorycom1187075&amp;amp;host=http://greatkim91.tistory.com&amp;amp;float=left&amp;amp;random=100&quot;&gt;&lt;/script&gt;</description>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/215</guid>
      <comments>https://hsnote.tistory.com/entry/HTTP-304-Not-Modified#entry215comment</comments>
      <pubDate>Fri, 16 Dec 2011 15:01:02 +0900</pubDate>
    </item>
    <item>
      <title>[Java] java.util.regex.Pattern</title>
      <link>https://hsnote.tistory.com/entry/Java-javautilregexPattern</link>
      <description>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; line-height: 19px; background-color: rgb(255, 255, 255); &quot;&gt;* Date 형식 String datePattern = &quot;[\d+\-]+[\d+\-]+[\d]+&quot;;&lt;/span&gt;&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;
* email 형식 검사하는 java regex 를 이용한 소스&lt;br /&gt;
package kr.pe.okjsp.util;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;import java.util.regex.Pattern;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;public class FormatEmail {&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;public static void main(String[] args) {&lt;br /&gt;
String [] mails = {&quot;&lt;a target=&quot;_blank&quot; href=&quot;mailto:okjsp@okjsp.pe.kr&quot; style=&quot;color: rgb(115, 115, 115); text-decoration: none; &quot;&gt;okjsp@okjsp.pe.kr&lt;/a&gt;&quot;,&lt;br /&gt;
&quot;@okjsp.pe.kr&quot;,&lt;br /&gt;
&quot;&lt;a target=&quot;_blank&quot; href=&quot;mailto:hello@kr&quot; style=&quot;color: rgb(115, 115, 115); text-decoration: none; &quot;&gt;hello@kr&lt;/a&gt;&quot;,&lt;br /&gt;
&quot;happ_okjsp.pe.kr&quot;};&lt;br /&gt;
&lt;br /&gt;for(int i=0; i&amp;lt;mails.length; i++) {&lt;br /&gt;
System.out.println(mails[i] + &quot; : &quot; + isEmail(mails[i]));&lt;br /&gt;
} // end for&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;public static boolean isEmail(String email) {&lt;br /&gt;
if (email==null) return false;&lt;br /&gt;
boolean b = Pattern.matches(&lt;br /&gt;
&quot;[\w\~\-\.]+@[\w\~\-]+(&lt;a target=&quot;_blank&quot; href=&quot;file://%5C.[%5Cw%5C%7E%5C/&quot; style=&quot;color: rgb(115, 115, 115); text-decoration: none; &quot;&gt;\.[\w\~\&lt;/a&gt;-]+)+&quot;,&lt;br /&gt;
email.trim());&lt;br /&gt;
return b;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;import java.util.regex.*; // Pattern과 Matcher가 속한 패키지&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;class RegularEx5&lt;br /&gt;
{&lt;br /&gt;
public static void main(String[] args)&lt;br /&gt;
{&lt;br /&gt;
String source = &quot;23123()asdawe()23123()asdawe()23123()asdawe()&quot;;&lt;br /&gt;
String pattern = &quot;&lt;a target=&quot;_blank&quot; href=&quot;file://%5Cd+%5C%28%5C/&quot; style=&quot;color: rgb(115, 115, 115); text-decoration: none; &quot;&gt;\d+\(\&lt;/a&gt;)&quot;; // 숫자(&lt;a target=&quot;_blank&quot; href=&quot;file://%5Cd/&quot; style=&quot;color: rgb(115, 115, 115); text-decoration: none; &quot;&gt;\d&lt;/a&gt;)뒤에오는 괄호를 패턴으로 지정&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;// d는 숫자를 의미하며 +는 하나이상의 숫자가 있어야함을 의미&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;// 괄호는 예약문자(?)이므로 \를 앞에 붙여줘야 괄호로 인식&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;// 괄호앞에 \를 붙이지 않으면 그룹화문자로 인식한다.&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;// 를 \와 같이 두개씩 쓰는 이유는 문자열 내에서 를 표현하려면 두개 써줘야하기 때문&lt;br /&gt;
StringBuffer sb = new StringBuffer();&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern p = Pattern.compile(pattern);&lt;br /&gt;
Matcher m = p.matcher(source);&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;System.out.println(&quot;source:&quot;+source);&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;int i=0;&lt;br /&gt;
while(m.find()) {&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;// 지정한 패턴과 매칭되는 부분을 치환한다. 마지막 두글자인 괄호를 잘라내고&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;// 원하는 문자(@@)로 바꾼다.&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;// find()를 통해서 패턴과 일치하는 부분은 m.group()을 통해서 얻는다.&lt;br /&gt;
m.appendReplacement(sb, m.group().substring(0, m.group().length()-2)+&quot;@@&quot;);&lt;br /&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;m.appendTail(sb);&lt;br /&gt;
System.out.println(&quot;result:&quot;+sb.toString());&lt;br /&gt;
}&lt;br /&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;/*&lt;br /&gt;
source:23123()asdawe()23123()asdawe()23123()asdawe()&lt;br /&gt;
result:23123@@asdawe()23123@@asdawe()23123@@asdawe()&lt;br /&gt;
*/&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;숫자뒤에오는 ()를 @@로 바꾼겁니다.&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;[예제2] - 다양한 정규식활용예&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;import java.util.regex.*; // Pattern과 Matcher가 속한 패키지&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;class RegularEx2&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;{&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;public static void main(String[] args)&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;{&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;String[] data = {&quot;bat&quot;, &quot;baby&quot;, &quot;bonus&quot;, &quot;c&quot;, &quot;cA&quot;,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;&quot;ca&quot;, &quot;co&quot;, &quot;c.&quot;, &quot;c0&quot;, &quot;c#&quot;,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;&quot;car&quot;,&quot;combat&quot;,&quot;count&quot;, &quot;date&quot;, &quot;disc&quot;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;};&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;String[] pattern = {&quot;.*&quot;,&quot;c[a-z]*&quot;,&quot;c[a-z]&quot;, &quot;c[a-zA-Z]&quot;, &quot;c[a-zA-Z0-9]&quot;,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;&quot;c.&quot;,&quot;c.*&quot;,&quot;c\.&quot;,&quot;c\w&quot;,&quot;c\d&quot;,&quot;c.*t&quot;, &quot;[b|c].*&quot;,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;&quot;.*a.*&quot;, &quot;.*a.+&quot;, &quot;[b|c].{2}&quot;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;};&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;for(int x=0; x &amp;lt; pattern.length; x++) {&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern p = Pattern.compile(pattern[x]);&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;System.out.print(&quot;Pattern : &quot; + pattern[x] + &quot; 결과: &quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;for(int i=0; i &amp;lt; data.length; i++) {&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Matcher m = p.matcher(data[i]);&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;if(m.matches())&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;System.out.print(data[i] + &quot;,&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;System.out.println();&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;} // public static void main(String[] args)&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;/*&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : .* 결과: bat,baby,bonus,c,cA,ca,co,c.,c0,c#,car,combat,count,date,disc,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : c[a-z]* 결과: c,ca,co,car,combat,count,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : c[a-z] 결과: ca,co,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : c[a-zA-Z] 결과: cA,ca,co,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : c[a-zA-Z0-9] 결과: cA,ca,co,c0,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : c. 결과: cA,ca,co,c.,c0,c#,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : c.* 결과: c,cA,ca,co,c.,c0,c#,car,combat,count,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : c. 결과: c.,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : cw 결과: cA,ca,co,c0,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : cd 결과: c0,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : c.*t 결과: combat,count,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : [b|c].* 결과: bat,baby,bonus,c,cA,ca,co,c.,c0,c#,car,combat,count,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : .*a.* 결과: bat,baby,ca,car,combat,date,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : .*a.+ 결과: bat,baby,car,combat,date,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;Pattern : [b|c].{2} 결과: bat,car,&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;*/&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;[참고]쌍따옴표(&quot;)내에서 escape문자()를 표현하려면 escape문자를 '\'와 같이 두 번 사용해야한다.&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;자주 쓰일 만한 몇 가지 패턴들을 만들어서 테스트하였다. 그 결과를 정리해보면 다음과 같다.&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;정규식&lt;br /&gt;
설명&lt;br /&gt;
결과&lt;br /&gt;
&lt;br /&gt;c[a-z]*&lt;br /&gt;
c로 시작하는 영단어&lt;br /&gt;
c,ca,co,car,combat,count,&lt;br /&gt;
&lt;br /&gt;c[a-z]&lt;br /&gt;
c로 시작하는 두 자리 영단어&lt;br /&gt;
ca,co,&lt;br /&gt;
&lt;br /&gt;c[a-zA-Z]&lt;br /&gt;
c로 시작하는 두 자리 영단어&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;(a~z 또는 A~Z, 즉 대소문자 구분안함)&lt;br /&gt;
cA,ca,co,&lt;br /&gt;
&lt;br /&gt;c[a-zA-Z0-9]&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;cw&lt;br /&gt;
c로 시작하고 숫자와 영어로 조합된 두 글자&lt;br /&gt;
cA,ca,co,c0,&lt;br /&gt;
&lt;br /&gt;.*&lt;br /&gt;
모든 문자열&lt;br /&gt;
bat,baby,bonus,c,cA,ca,co,c.,c0,c#,car,combat,count,date,disc,&lt;br /&gt;
&lt;br /&gt;c.&lt;br /&gt;
c로 시작하는 두 자리&lt;br /&gt;
cA,ca,co,c.,c0,c#,&lt;br /&gt;
&lt;br /&gt;c.*&lt;br /&gt;
c로 시작하는 모든 문자열(기호포함)&lt;br /&gt;
cA,ca,co,c.,c0,c#,car,combat,count,&lt;br /&gt;
&lt;br /&gt;c.&lt;br /&gt;
c.와 일치하는 문자열&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;'.'은 정규식표현에 사용되는 문자이므로 escape문자인 ''를 사용해야한다.&lt;br /&gt;
c.,&lt;br /&gt;
&lt;br /&gt;cd&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;c[0-9]&lt;br /&gt;
c와 숫자로 구성된 두 자리 문자열&lt;br /&gt;
c0,&lt;br /&gt;
&lt;br /&gt;c.*t&lt;br /&gt;
c로 시작하고 t로 끝나는 모든 문자열&lt;br /&gt;
combat,count,&lt;br /&gt;
&lt;br /&gt;[b|c].*&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;[bc].*&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;[b-c].*&lt;br /&gt;
b 또는 c로 시작하는 문자열&lt;br /&gt;
bat,baby,bonus,c,cA,ca,co,c.,c0,c#,car,combat,count,&lt;br /&gt;
&lt;br /&gt;[^b|c].*&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;[^bc].*&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;[^b-c].*&lt;br /&gt;
b 또는 c로 시작하지 않는 문자열&lt;br /&gt;
date,disc,&lt;br /&gt;
&lt;br /&gt;.*a.*&lt;br /&gt;
a를 포함하는 모든 문자열&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;* : 0 또는 그 이상의 문자&lt;br /&gt;
bat,baby,ca,car,combat,date,&lt;br /&gt;
&lt;br /&gt;.*a.+&lt;br /&gt;
a를 포함하는 모든 문자열.&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;+: 1 또는 그 이상의 문자&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;+는 *과는 달리 반드시 하나 이상의 문자가 있어야 하므로 a로 끝나는 단어는 포함되지 않았다.&lt;br /&gt;
bat,baby,car,combat,date,&lt;br /&gt;
&lt;br /&gt;[b|c].{2}&lt;br /&gt;
b 또는 c로 시작하는 세 자리 문자열.&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; line-height: 19px; text-align: left; background-color: rgb(255, 255, 255); &quot;&gt;(b 또는 c 다음에 두 자리이므로 모두 세 자리)&lt;br /&gt;
bat,car,&lt;br /&gt;
&lt;br /&gt;출처&amp;nbsp;&lt;a href=&quot;http://ultteky.egloos.com/kulc78/18226644&quot; target=&quot;_top&quot; class=&quot;cm_info&quot; style=&quot;color: rgb(115, 115, 115); text-decoration: none; &quot;&gt;: http://blog.empas.com/kulc78/18226644&lt;/a&gt;&lt;/div&gt;</description>
      <category>언어/Java</category>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/214</guid>
      <comments>https://hsnote.tistory.com/entry/Java-javautilregexPattern#entry214comment</comments>
      <pubDate>Sun, 11 Dec 2011 13:48:04 +0900</pubDate>
    </item>
    <item>
      <title>서울에 있는 캠핑장 노을공원</title>
      <link>https://hsnote.tistory.com/entry/%EC%84%9C%EC%9A%B8%EC%97%90-%EC%9E%88%EB%8A%94-%EC%BA%A0%ED%95%91%EC%9E%A5-%EB%85%B8%EC%9D%84%EA%B3%B5%EC%9B%90</link>
      <description>&lt;div&gt;
&lt;a href=&quot;http://blog.naver.com/starsiege?Redirect=Log&amp;amp;logNo=130115880183&quot;&gt;http://blog.naver.com/starsiege?Redirect=Log&amp;amp;logNo=130115880183&lt;/a&gt;&lt;/div&gt;</description>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/213</guid>
      <comments>https://hsnote.tistory.com/entry/%EC%84%9C%EC%9A%B8%EC%97%90-%EC%9E%88%EB%8A%94-%EC%BA%A0%ED%95%91%EC%9E%A5-%EB%85%B8%EC%9D%84%EA%B3%B5%EC%9B%90#entry213comment</comments>
      <pubDate>Sun, 11 Dec 2011 00:09:13 +0900</pubDate>
    </item>
    <item>
      <title>dell studio 1558에서 macos를 사용해보자</title>
      <link>https://hsnote.tistory.com/entry/dell-studio-1558%EC%97%90%EC%84%9C-macos%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%B4%EB%B3%B4%EC%9E%90</link>
      <description>&lt;p style=&quot;margin:0&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/2024B2394EE4245237&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/unknown.gif&quot; style=&quot;vertical-align: middle;&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;Mac_OS_X_Snow_Leopard_10.6.7_ISO.6407331.TPB.torrent&lt;/a&gt;&lt;/div&gt;
&lt;/p&gt;
USB8G(Ghost)를 통한 설치 방법 :&amp;nbsp;&lt;a href=&quot;http://x86osx.com/bbs/view.php?id=pds&amp;amp;no=5782&quot;&gt;http://x86osx.com/bbs/view.php?id=pds&amp;amp;no=5782&amp;nbsp;&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
설치전 드라이버 확인 방법 :&amp;nbsp;&lt;a href=&quot;http://assetin.tistory.com/88&quot;&gt;http://assetin.tistory.com/88&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
Dell용 노트북에 OSX 설치하기 :&amp;nbsp;&lt;a href=&quot;http://projectresearch.co.kr/2007/09/22/dell-%EB%85%B8%ED%8A%B8%EB%B6%81%EC%97%90-osx-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0/&quot;&gt;http://projectresearch.co.kr/2007/09/22/dell-%EB%85%B8%ED%8A%B8%EB%B6%81%EC%97%90-osx-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0/&lt;/a&gt;&amp;nbsp;</description>
      <category>IT/MacOS</category>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/212</guid>
      <comments>https://hsnote.tistory.com/entry/dell-studio-1558%EC%97%90%EC%84%9C-macos%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%B4%EB%B3%B4%EC%9E%90#entry212comment</comments>
      <pubDate>Wed, 7 Dec 2011 04:44:21 +0900</pubDate>
    </item>
    <item>
      <title>[여행] 가보고 싶은곳 전주 한옥마을, 담양 메타세콰이어 가로수길</title>
      <link>https://hsnote.tistory.com/entry/%EC%97%AC%ED%96%89-%EA%B0%80%EB%B3%B4%EA%B3%A0-%EC%8B%B6%EC%9D%80%EA%B3%B3-%EC%A0%84%EC%A3%BC-%ED%95%9C%EC%98%A5%EB%A7%88%EC%9D%84-%EB%8B%B4%EC%96%91-%EB%A9%94%ED%83%80%EC%84%B8%EC%BD%B0%EC%9D%B4%EC%96%B4-%EA%B0%80%EB%A1%9C%EC%88%98%EA%B8%B8</link>
      <description>&lt;a href=&quot;http://blog.naver.com/milgaru220?Redirect=Log&amp;amp;logNo=150117012019&quot;&gt;http://blog.naver.com/milgaru220?Redirect=Log&amp;amp;logNo=150117012019&lt;/a&gt;</description>
      <category>잡다구리/여행...</category>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/206</guid>
      <comments>https://hsnote.tistory.com/entry/%EC%97%AC%ED%96%89-%EA%B0%80%EB%B3%B4%EA%B3%A0-%EC%8B%B6%EC%9D%80%EA%B3%B3-%EC%A0%84%EC%A3%BC-%ED%95%9C%EC%98%A5%EB%A7%88%EC%9D%84-%EB%8B%B4%EC%96%91-%EB%A9%94%ED%83%80%EC%84%B8%EC%BD%B0%EC%9D%B4%EC%96%B4-%EA%B0%80%EB%A1%9C%EC%88%98%EA%B8%B8#entry206comment</comments>
      <pubDate>Thu, 24 Nov 2011 19:13:29 +0900</pubDate>
    </item>
    <item>
      <title>[Linux] Ubuntu Shell 활용 (03) - 간단한 Bash shell script 작성하기</title>
      <link>https://hsnote.tistory.com/entry/Linux-Ubuntu-Shell-%ED%99%9C%EC%9A%A9-03-%EA%B0%84%EB%8B%A8%ED%95%9C-Bash-shell-script-%EC%9E%91%EC%84%B1%ED%95%98%EA%B8%B0</link>
      <description>출처 :&amp;nbsp;&lt;a href=&quot;http://greenfishblog.tistory.com/43&quot;&gt;http://greenfishblog.tistory.com/43&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;
shell script는 반복적인 shell 작업을 자동화 하는데 훌륭한 도구입니다. Bash 뿐만 아니라 다른 shell은 loop, 조건 검사, case문 등과 같은 프로그래밍을 할 수 있는 기본적인 구조를 제공하고 있습니다. 단지 다른점은, string 타입의 변수만 지원된다는 점입니다.&lt;br /&gt;
&lt;br /&gt;&lt;div&gt;
&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;/div&gt;
&lt;/div&gt;&lt;font color=&quot;#ff8b16&quot; style=&quot;font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;script를 편집하고 실행하기&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;shell script는 간단한 text 파일입니다. 그래서 당신이 선호하는 text editor(vi)를 이용하여 만들 수 있습니다. 실행을 위해서 shell script 파일은 실행가능해야 합니다. 예를 들어, 만약 당신이 myscript.sh 이름으로 shell script를 생성했다면, 다음을 통해 실행가능하게 만드는 것이 필요합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;chmod&lt;/strong&gt;&amp;nbsp;u+x myscript.sh&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;그리고, bash script의 첫 line은 반드시 다음과 같아야 합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;#! /bin/bash&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;#는 comment의 시작을 알립니다. #! syntax는 이러한 특수한 문법을 적용하지 말라고 shell에게 알려주는 역할을 합니다. /bin/bash 부분은 bash나 다른 shell과 같은 어떤 동작 가능한 shell에게 script를 실행해라는 뜻입니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;당신이 작성한 실행 가능한 shell script는 PATH 혹은 전체 경로 혹은 상대경로에 있어야 합니다. 다시 말해 script를 실행할 때 다음과 같은 결과를 얻을 수 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$ myscript.sh&lt;/font&gt;&lt;br /&gt;
myscript.sh: command not found&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;현재 디렉토리에 myscript.sh가 있어도, 해당 PATH에 포함되지 않은 경우입니다. 이러한 문제를 해결하기 위해, PATH에 추가하던가 아니면 전체 경로 혹은 상대경로로 실행합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$ mkdir ~/bin ; cp myscript.sh ~/bin/ ; PATH=$PATH:~/bin&lt;br /&gt;
$ cp myscript.sh /user/local/bin&lt;br /&gt;
$ ./myscript.sh&lt;br /&gt;
$ /home/greenfish/work/myscript.sh&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br /&gt;
&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;/div&gt;
&lt;strong style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;Script에 내용 추가하기&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;shell script는 명령의 단순 나열이지만, 또한 훌륭한 programming language이기도 합니다. 예를 들어, 주어진 다른 input으로 발생된 다른 output의 different를 추출할 수 있습니다. if/else, case 그리고 for/while loop 같은 명령들을 다루기로 하겠습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;다음의 예제 코드는 abc를 MYSTRING 변수에 할당하는 것을 보여줍니다. 그리고, abc인지 테스트하며, 그 결과를 보여줍니다. 테스트는 [ ]에 의해 구성됩니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;MYSTRING=abc&lt;br /&gt;
if [ $MYSTRING = abc ] ; then&lt;br /&gt;
echo &quot;The variable is abc&quot;&lt;br /&gt;
fi&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;부정 조건 테스트는 !=를 사용합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;if [ $MYSTRING != abc ] ; then&lt;br /&gt;
echo &quot;$MYSTRING is not abc&quot;;&lt;br /&gt;
fi&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;다음은 숫자에 대한 테스트를 보여줍니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;MYNUMBER=1&lt;br /&gt;
if [ $MYNUMBER -eq 1 ] ; then echo &quot;MYNUMBER equals 1&quot;; fi&lt;br /&gt;
if [ $MYNUMBER -lt 2 ] ; then echo &quot;MYNUMBER &amp;lt;2&quot;; fi&lt;br /&gt;
if [ $MYNUMBER -le 1 ] ; then echo &quot;MYNUMBER &amp;lt;=1&quot;; fi&lt;br /&gt;
if [ $MYNUMBER -gt 0 ] ; then echo &quot;MYNUMBER &amp;gt;0&quot;; fi&lt;br /&gt;
if [ $MYNUMBER -ge 1 ] ; then echo &quot;MYNUMBER &amp;gt;=1&quot;; fi&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;이제 파일 이름에 대한 테스트를 확인해 봅시다. 아래 예는, 파일의 존재 여부 체크 (-e), 정규 파일 체크 (-r), 디렉토리 체크 (-d)와 같습니다. 이러한 체크는 if/then으로 구성됩니다. 만약 일치되지 않는다면 그에 상응되는 결과를 보고합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;filename=&quot;$HOME&quot;&lt;br /&gt;
if [ -e $filename ] ; then echo &quot;$filename exists&quot;; fi&lt;br /&gt;
if [ -f &quot;$filename&quot; ] ; then&lt;br /&gt;
&amp;nbsp;echo &quot;$filename is a regular file&quot;&lt;br /&gt;
elif [ -d &quot;$filename&quot; ] ; then&lt;br /&gt;
&amp;nbsp;echo &quot;$filename is a directory&quot;&lt;br /&gt;
else&lt;br /&gt;
&amp;nbsp;echo &quot;I have no idea what $filename is&quot;&lt;br /&gt;
fi&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;아래 표는 파일, 문자열 그리고 변수에 대한 테스트에 필요한 Operator를 보여줍니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#eaf4cf&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;Operator&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;설명&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-a file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;파일 존재 여부 체크 (-e와 동일)&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-b file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;special block device 파일인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-c file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;special device 파일인지 체크 (예, serial device)&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-d file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;디렉토리 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-e file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;파일 존재 여부 체크 (-a와 동일)&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-f file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;파일이 존재하고 정규 파일인지 체크&lt;br /&gt;
&amp;nbsp;(directory, socket, pipe, link, device 등은 아님)&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-g file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;set-group-id bit가&amp;nbsp;세팅된 파일인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-h file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;심볼릭 링크인지 체크 (-L과 동일)&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-k file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;sticky bit가 세팅된 파일인지 체크&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-L file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;심볼릭 링크인지 체크 (-h와 &amp;nbsp;동일)&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-n string&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;문자열 길이가 0&amp;nbsp;byte 이상인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-o file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;당신이 소유한 파일인지&amp;nbsp;체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-p file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;named pipe 파일인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-r file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;당신이 읽을 수 있는 파일인지 체크&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-s file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;파일이 존재하고, socket인지 체크&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-t fd&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;terminal에 연결된 파일 descriptor인지&amp;nbsp;체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-u file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;set-user-id&amp;nbsp;bit가 세팅된 파일인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-w file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;당신이 쓸수 있는 파일인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-x file&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;당신이 실행할 수 있는 파일인지 체크&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#eaf4cf&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;-z string&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;문자열 길이가 0 byte 인지 체크&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;expr1 -a expr2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;처음과 두번째 expression이&amp;nbsp;true인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;expr1 -o expr2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;처음과 두번째 expression중 하나가 true인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;file1 -nt file2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;처음 파일이 두번째 파일보다 새 파일인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;file1 -ot file2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;처음 파일이 두번째 파일보다 오래된 파일인지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;file1 -ef file2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;두개의 파일이&amp;nbsp;하드 혹은 심볼릭 링크로 연결되어 있는지&amp;nbsp;체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;var1 = var2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;두개의 값이 동일한지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;var1 -eq var2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;두개의 값이 동일한지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;var1 -ge var2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;첫번째 값이 두번째 값보다&amp;nbsp;같거나 큰지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;var1 -gt var2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;첫번째 값이 두번째 값보다 큰지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;var1 -le var2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;첫번째 값이 두번째 값보다&amp;nbsp;같거나 작은지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;var1 -lt var2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;첫번째 값이 두번째 값보다&amp;nbsp;작은지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;var != var2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;두개의 값이 다른지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;var -ne var2&lt;/td&gt;
&lt;td width=&quot;50%&quot; style=&quot;border-bottom-color: rgb(95, 182, 54); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(95, 182, 54); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(95, 182, 54); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(95, 182, 54); border-right-width: 1px; border-right-style: solid; &quot;&gt;&amp;nbsp;두개의 값이 다른지 체크&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;그다음으로 자주 사용되는 명령은 case 입니다. case를 이용하여 각각 다른 값의 테스트를 할 수 있습니다. 프로그래밍언어의 보통 switch 구문과 유사합니다. case 구문은 몇개 단계의&amp;nbsp;if 구문으로 구성될 수 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;case “$VAR” in&lt;br /&gt;
&amp;nbsp;string1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{ action1 };;&lt;br /&gt;
&amp;nbsp;string2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{ action2 };;&lt;br /&gt;
&amp;nbsp;*)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{ default action } ;;&lt;br /&gt;
esac&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;그리고,&amp;nbsp;case의 예제를 /etc/init.d/ 경로에 start-up script를 통해 찾을 수 있습니다. 각각의 initscript는 어떤 파라미터(start, stop, ...)가 들어왔는지 체크하고 선택합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;/etc/init.d$&amp;nbsp;&lt;strong&gt;cat&lt;/strong&gt;&amp;nbsp;networking&lt;br /&gt;
&lt;/font&gt;#!/bin/sh -e&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; networking&lt;br /&gt;
# Required-Start:&lt;br /&gt;
# Required-Stop:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $local_fs&lt;br /&gt;
# Default-Start:&lt;br /&gt;
# Default-Stop:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 6&lt;br /&gt;
# Short-Description: Raise network interfaces.&lt;br /&gt;
### END INIT INFO&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;PATH=&quot;/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin&quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;[ -x /sbin/ifup ] || exit 0&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;. /lib/lsb/init-functions&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;# helper function to set the usplash timeout.&amp;nbsp;&lt;/font&gt;&lt;a href=&quot;https://launchpad.net/bugs/21617&quot; style=&quot;text-decoration: none; color: rgb(86, 86, 86); &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;https://launchpad.net/bugs/21617&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;
&lt;font color=&quot;#ffffff&quot;&gt;usplash_timeout () {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMEOUT=$1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ -x /sbin/usplash_write ]; then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /sbin/usplash_write &quot;TIMEOUT $TIMEOUT&quot; || true&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;br /&gt;
}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;process_options() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [ -e /etc/network/options ] || return 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; log_warning_msg &quot;/etc/network/options still exists and it will be IGNORED! Read README.Debian of netbase.&quot;&lt;br /&gt;
}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;check_network_file_systems() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [ -e /proc/mounts ] || return 0&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ -e /etc/iscsi/iscsi.initramfs ]; then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # probably root on iSCSI&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_warning_msg &quot;not deconfiguring network interfaces: root filesystem appears to be on iSCSI.&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec 9&amp;lt;&amp;amp;0 &amp;lt; /proc/mounts&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while read DEV MTPT FSTYPE REST; do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case $DEV in&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_warning_msg &quot;not deconfiguring network interfaces: network devices still mounted.&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esac&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case $FSTYPE in&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nfs|nfs4|smbfs|ncp|ncpfs|cifs|coda|ocfs2|gfs|pvfs|pvfs2|fuse.httpfs|fuse.curlftpfs)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_warning_msg &quot;not deconfiguring network interfaces: network file systems still mounted.&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esac&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; done&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; exec 0&amp;lt;&amp;amp;9 9&amp;lt;&amp;amp;-&lt;br /&gt;
}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;case &quot;$1&quot; in&lt;br /&gt;
start)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lib/init/upstart-job networking start&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;stop)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; check_network_file_systems&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_action_begin_msg &quot;Deconfiguring network interfaces&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ &quot;$VERBOSE&quot; != no ]; then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ifdown -a --exclude=lo; then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_action_end_msg $?&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_action_end_msg $?&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ifdown -a --exclude=lo &amp;gt;/dev/null 2&amp;gt;/dev/null; then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_action_end_msg $?&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_action_end_msg $?&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;force-reload|restart)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; process_options&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_action_begin_msg &quot;Reconfiguring network interfaces&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifdown -a --exclude=lo || true&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ifup -a --exclude=lo; then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_action_end_msg $?&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_action_end_msg $?&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;*)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;Usage: /etc/init.d/networking {start|stop|restart|force-reload}&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;;&lt;br /&gt;
esac&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;exit 0&lt;/font&gt;&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;bash shell은 또한 표준 loop 방식을 제공합니다. 다음을 숫자 0~9를 출력합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;for NUMBER in 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; echo The number is $NUMBER&lt;br /&gt;
done&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;아래는 ls 명령의 결과를 제공받아 for 구문에 전달하는것을 보여주고 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;for FILE in `/bin/ls`; do echo $FILE; done&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;다음과 같이 while loop를 이용하여 VAR 변수가 0에서 3으로 증가하는 것을 확인할 수 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&quot;VAR=0&quot;&lt;br /&gt;
while [ $VAR -lt 3 ]; do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo $VAR&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR=$[$VAR+1]&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</description>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/205</guid>
      <comments>https://hsnote.tistory.com/entry/Linux-Ubuntu-Shell-%ED%99%9C%EC%9A%A9-03-%EA%B0%84%EB%8B%A8%ED%95%9C-Bash-shell-script-%EC%9E%91%EC%84%B1%ED%95%98%EA%B8%B0#entry205comment</comments>
      <pubDate>Thu, 24 Nov 2011 15:01:02 +0900</pubDate>
    </item>
    <item>
      <title>[Linux] Ubuntu Shell 활용(02) redirect / su, sudo / 환경 변수</title>
      <link>https://hsnote.tistory.com/entry/Linux-Ubuntu-Shell-%ED%99%9C%EC%9A%A902-redirect-su-sudo-%ED%99%98%EA%B2%BD-%EB%B3%80%EC%88%98</link>
      <description>&lt;div style=&quot;font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;font&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;&lt;span style=&quot;font-size: 10pt; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000000&quot;&gt;출처 :&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;a href=&quot;http://greenfishblog.tistory.com/41&quot;&gt;http://greenfishblog.tistory.com/41&lt;/a&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;&lt;span style=&quot;font-size: 10pt; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000000&quot;&gt;&lt;br /&gt;
&amp;nbsp;&lt;/font&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#565656&quot;&gt;﻿&lt;/font&gt;&lt;/span&gt;&lt;br /&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#565656&quot;&gt;Command Line Completion 사용하기&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#565656&quot;&gt;Tab키를 이용하여 command line을 완성키킬 수 있습니다.&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#565656&quot;&gt;$ tracer&amp;lt;Tab&amp;gt; : tracerout6 완성&lt;/font&gt;&lt;br /&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#565656&quot;&gt;$ cd /home/gre&amp;lt;Tab&amp;gt; : cd /home/greenfish/ 완성&lt;/font&gt;&lt;br /&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#565656&quot;&gt;$ cd ~gre&amp;lt;Tab&amp;gt; : cd /home/greenfish/ 완성&lt;/font&gt;&lt;br /&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#565656&quot;&gt;$ echo $PA&amp;lt;Tab&amp;gt; : echo $PATH 완성&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div style=&quot;color: rgb(86, 86, 86); &quot;&gt;
&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;/div&gt;
&lt;/div&gt;&lt;strong style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;stdin과 stdout으로 redirect하기&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;shell에서 typing하면 interactive하게 동작합니다. 결과를 보고하는 process는 두개의 output stream을 가집니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;ul style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 15px; padding-bottom: 0px; padding-left: 15px; list-style-position: initial; list-style-image: initial; color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;stdout : 일반 command의 output&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;stderr : error output&lt;/li&gt;
&lt;/ul&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;아래의 예로, /tmpp가 없는 경우, 에러 메시지는 stderr로 보내지고, /tmp의 list로 부터 나온 output은 stdout으로 출력됩니다.&lt;br /&gt;
&lt;/p&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;strong&gt;ls&lt;/strong&gt;&lt;/font&gt;&amp;nbsp;&lt;font color=&quot;#ff8b16&quot;&gt;/tmp /tmpp&lt;/font&gt;&lt;br /&gt;
ls: cannot access /tmpp: No such file or directory&lt;br /&gt;
/tmp:&lt;br /&gt;
orbit-gdm&amp;nbsp; pulse-PKdhtXMmr18n&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;기본적으로 모든 output은 스크린에 직접 표시됩니다. &amp;gt;문자를 사용하여 output을 파일로 저장할 수 있습니다. 특별히 standard output stream은 &amp;gt;를, standard error stream은 2&amp;gt;를 사용하여 파일로 저장합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;font size=&quot;+0&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;/tmp /tmmp &amp;gt; output.txt&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls: cannot access /tmmp: No such file or directory&lt;/span&gt;&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&lt;/span&gt;&lt;font size=&quot;+0&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;font size=&quot;+0&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;/tmp /tmmp 2&amp;gt; errors.txt&lt;/span&gt;&lt;br /&gt;
&lt;/font&gt;/tmp:&lt;br /&gt;
orbit-gdm&amp;nbsp; pulse-PKdhtXMmr18n&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;font size=&quot;+0&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;/tmp /tmmp 2&amp;gt; errors.txt &amp;gt; ouptput.txt&lt;/span&gt;&lt;br /&gt;
&lt;/font&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;/tmp /tmmp &amp;gt; everything.txt 2&amp;gt;&amp;amp;1&lt;/span&gt;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;위 설명대로라면, 첫 예제는 output.txt에 stdout 내용이 저장(redirect)이 되며, stderr은 화면에 출력하게 됩니다. 두 번째 예제는 stderr은 errors.txt로 저장(redirect)되며, stdout은 화면에 출력됩니다. 세번째 예제는 첫 번째, 두 번째가 조합된 경우입니다. 그리고 마지막 예제는 두개 모두의 stream을 everything.txt에 저장(redirect)합니다. 만일 덮어 쓰기(overwrite) 대신에 파일에 추가하고 싶다면, &amp;gt;&amp;gt;를 사용합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;만약, 어떠한 output stream을 보고 싶지 않다면, 특별한 bit bucket 파일인 /dev/null로 redirect하여 해결할 수 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;ls&lt;/strong&gt;&amp;nbsp;/tmp&lt;br /&gt;
&lt;/font&gt;orbit-gdm&amp;nbsp; pulse-PKdhtXMmr18n&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;ls&lt;/strong&gt;&amp;nbsp;/tmp &amp;gt; /dev/null&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;다음은 pipe와 조합했을때의 경우입니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;아래의 예에서는, stderr을 표시하지 않고, sort된 경로를 표시하는 방법을 보여줍니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;+0&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;/tmp/ /tmmp |&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;sort&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls: cannot access /tmmp: No such file or directory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;orbit-gdm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;pulse-PKdhtXMmr18n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;/tmp/:&lt;/span&gt;&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;/tmp/ /tmmp 2&amp;gt; /dev/null |&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;sort&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
&lt;font color=&quot;#ffffff&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;orbit-gdm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;pulse-PKdhtXMmr18n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;/tmp/:&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;또한 pipe는 다음과 같이 많은 것에 사용됩니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font size=&quot;+0&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;strong&gt;&lt;span style=&quot;font-family: 'Times New Roman'; &quot;&gt;&lt;span style=&quot;font-family: Batang; &quot;&gt;dpkg-query&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: 'Times New Roman'; &quot;&gt;&lt;span style=&quot;font-family: Batang; &quot;&gt;&amp;nbsp;-l |&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 'Times New Roman'; &quot;&gt;&lt;span style=&quot;font-family: Batang; &quot;&gt;grep&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: 'Times New Roman'; &quot;&gt;&lt;span style=&quot;font-family: Batang; &quot;&gt;&amp;nbsp;-i sql |&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 'Times New Roman'; &quot;&gt;&lt;span style=&quot;font-family: Batang; &quot;&gt;wc&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: 'Times New Roman'; &quot;&gt;&lt;span style=&quot;font-family: Batang; &quot;&gt;&amp;nbsp;-l&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;3&lt;/span&gt;&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;strong&gt;ps&lt;/strong&gt;&amp;nbsp;auwx |&amp;nbsp;&lt;strong&gt;grep&lt;/strong&gt;&amp;nbsp;firefox&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;1000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3136&amp;nbsp; 0.0&amp;nbsp; 0.1&amp;nbsp;&amp;nbsp; 3320&amp;nbsp;&amp;nbsp; 808 pts/6&amp;nbsp;&amp;nbsp;&amp;nbsp; S+&amp;nbsp;&amp;nbsp; 19:04&amp;nbsp;&amp;nbsp; 0:00 grep --color=auto firefox&lt;br /&gt;
&lt;/span&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;ps&lt;/strong&gt;&amp;nbsp;auwx | less&lt;/font&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;USER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PID %CPU %MEM&amp;nbsp;&amp;nbsp;&amp;nbsp; VSZ&amp;nbsp;&amp;nbsp; RSS TTY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STAT START&amp;nbsp;&amp;nbsp; TIME COMMAND&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0.0&amp;nbsp; 0.3&amp;nbsp;&amp;nbsp; 2664&amp;nbsp; 1608 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ss&amp;nbsp;&amp;nbsp; 16:43&amp;nbsp;&amp;nbsp; 0:01 /sbin/init&lt;br /&gt;
...&lt;br /&gt;
&lt;/span&gt;:&lt;br /&gt;
...&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;strong&gt;whereis&lt;/strong&gt;&amp;nbsp;-m bash |&amp;nbsp;&lt;strong&gt;awk&lt;/strong&gt;&amp;nbsp;'{print $2}'&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;/usr/share/man/man1/bash.1.gz&lt;/span&gt;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;첫번째 명령은 설치된 package중에서 대소문자 구별없이 'sql'을 포함하는 것을 나열하되, 그 라인수를 출력하게 합니다. 두번째 명령은 long process 목록으로 부터 firefox process를 표시합니다. 세번째 명령은 process 목록을 페이지 단위로 보여줍니다. 마지막 명령은 &quot;bash: /user/share/man/man1/bash.1.gz&quot;와 같이 표시하는데, 단지 경로만 표시하도록 해줍니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;`를 이용하여&amp;nbsp;한 section의 명령을 먼저 실행하고, 명령줄의 나머지 명령의 output을 입력(feed)합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;which&lt;/strong&gt;&amp;nbsp;bash&lt;/font&gt;&lt;br /&gt;
/bin/bash&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;ls&lt;/strong&gt;&amp;nbsp;-&lt;span style=&quot;font-family: Batang; &quot;&gt;l&lt;/span&gt;&amp;nbsp;/bin/bash&lt;/font&gt;&lt;br /&gt;
-rwxr-xr-x 1 root root 818232 2010-04-18 18:51 /bin/bash&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;ls&lt;/strong&gt;&amp;nbsp;-&lt;span style=&quot;font-family: Batang; &quot;&gt;l&lt;/span&gt;&amp;nbsp;`&lt;strong&gt;which&lt;/strong&gt;&amp;nbsp;bash`&lt;/font&gt;&lt;br /&gt;
-rwxr-xr-x 1 root root 818232 2010-04-18 18:51 /bin/bash&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;즉, 위 예처럼, which bash의 결과를 ls -l에 입력하여 실행이 됩니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;좀더 결과를 입력하는 좀더 강력한 방법은 xargs command를 사용하는 것입니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font size=&quot;+0&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;/bin/b*&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;/bin/bash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /bin/bzcat&amp;nbsp;&amp;nbsp; /bin/bzegrep&amp;nbsp; /bin/bzgrep&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /bin/bzless&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;/bin/bunzip2&amp;nbsp; /bin/bzcmp&amp;nbsp;&amp;nbsp; /bin/bzexe&amp;nbsp;&amp;nbsp;&amp;nbsp; /bin/bzip2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /bin/bzmore&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;/bin/busybox&amp;nbsp; /bin/bzdiff&amp;nbsp; /bin/bzfgrep&amp;nbsp; /bin/bzip2recover&lt;/span&gt;&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;dpkg-query&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;-S /bin/bash&lt;/span&gt;&lt;br /&gt;
&lt;/font&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;bash: /bin/bash&lt;/span&gt;&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;ls&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;/bin/b* |&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;xargs&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;dpkg-query -S&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 9pt; &quot;&gt;bash: /bin/bash&lt;/span&gt;&lt;br /&gt;
bzip2: /bin/bunzip2&lt;br /&gt;
busybox-static: /bin/busybox&lt;br /&gt;
bzip2: /bin/bzcat&lt;br /&gt;
bzip2: /bin/bzcmp&lt;br /&gt;
bzip2: /bin/bzdiff&lt;br /&gt;
bzip2: /bin/bzegrep&lt;br /&gt;
bzip2: /bin/bzexe&lt;br /&gt;
bzip2: /bin/bzfgrep&lt;br /&gt;
bzip2: /bin/bzgrep&lt;br /&gt;
bzip2: /bin/bzip2&lt;br /&gt;
bzip2: /bin/bzip2recover&lt;br /&gt;
bzip2: /bin/bzless&lt;br /&gt;
bzip2: /bin/bzmore&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;ls&lt;/strong&gt;&amp;nbsp;/bin/b* |&amp;nbsp;&lt;strong&gt;xargs&lt;/strong&gt;&amp;nbsp;-t dpkg-query -S&lt;/font&gt;&lt;br /&gt;
dpkg-query -S /bin/bash /bin/bunzip2 /bin/busybox /bin/bzcat /bin/bzcmp /bin/bzdiff /bin/bzegrep /bin/bzexe /bin/bzfgrep /bin/bzgrep /bin/bzip2 /bin/bzip2recover /bin/bzless /bin/bzmore&lt;br /&gt;
bash: /bin/bash&lt;br /&gt;
bzip2: /bin/bunzip2&lt;br /&gt;
busybox-static: /bin/busybox&lt;br /&gt;
bzip2: /bin/bzcat&lt;br /&gt;
bzip2: /bin/bzcmp&lt;br /&gt;
bzip2: /bin/bzdiff&lt;br /&gt;
bzip2: /bin/bzegrep&lt;br /&gt;
bzip2: /bin/bzexe&lt;br /&gt;
bzip2: /bin/bzfgrep&lt;br /&gt;
bzip2: /bin/bzgrep&lt;br /&gt;
bzip2: /bin/bzip2&lt;br /&gt;
bzip2: /bin/bzip2recover&lt;br /&gt;
bzip2: /bin/bzless&lt;br /&gt;
bzip2: /bin/bzmore&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;위 예에서,&amp;nbsp;dpkg-query -S 명령으로 전달된 output을 전부 출력하고 있습니다. -t를 xargs에 사용하면, xargs를 사용하기 전의&amp;nbsp;output을 출력한뒤 실행합니다. 이제 dpkg-query 명령에 ls input으로 부터&amp;nbsp;output을 각각 xargs로 전달해 봅시다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;ls&lt;/strong&gt;&amp;nbsp;/bin/b* |&amp;nbsp;&lt;strong&gt;xargs&lt;/strong&gt;&amp;nbsp;-t -&lt;span style=&quot;font-family: Batang; &quot;&gt;I&lt;/span&gt;{} dpkg-query -S {}&lt;br /&gt;
&lt;/font&gt;dpkg-query -S /bin/bash&lt;br /&gt;
bash: /bin/bash&lt;br /&gt;
dpkg-query -S /bin/bunzip2&lt;br /&gt;
bzip2: /bin/bunzip2&lt;br /&gt;
dpkg-query -S /bin/busybox&lt;br /&gt;
busybox-static: /bin/busybox&lt;br /&gt;
dpkg-query -S /bin/bzcat&lt;br /&gt;
bzip2: /bin/bzcat&lt;br /&gt;
dpkg-query -S /bin/bzcmp&lt;br /&gt;
bzip2: /bin/bzcmp&lt;br /&gt;
dpkg-query -S /bin/bzdiff&lt;br /&gt;
bzip2: /bin/bzdiff&lt;br /&gt;
dpkg-query -S /bin/bzegrep&lt;br /&gt;
bzip2: /bin/bzegrep&lt;br /&gt;
dpkg-query -S /bin/bzexe&lt;br /&gt;
bzip2: /bin/bzexe&lt;br /&gt;
dpkg-query -S /bin/bzfgrep&lt;br /&gt;
bzip2: /bin/bzfgrep&lt;br /&gt;
dpkg-query -S /bin/bzgrep&lt;br /&gt;
bzip2: /bin/bzgrep&lt;br /&gt;
dpkg-query -S /bin/bzip2&lt;br /&gt;
bzip2: /bin/bzip2&lt;br /&gt;
dpkg-query -S /bin/bzip2recover&lt;br /&gt;
bzip2: /bin/bzip2recover&lt;br /&gt;
dpkg-query -S /bin/bzless&lt;br /&gt;
bzip2: /bin/bzless&lt;br /&gt;
dpkg-query -S /bin/bzmore&lt;br /&gt;
bzip2: /bin/bzmore&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;output에서 보여진것 처럼,&amp;nbsp;각각의 dpkg-query -S 명령이&amp;nbsp;ls에 의해 실행된 것으로 각각 개별적으로 실행됩니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;hr style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;strong style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;alias 사용하기&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;alias를 세팅하고 나열하는 것으로 alias를 사용합니다. 몇몇 alias들은 이전에 설명되었던 shell initialization 파일에 의해 사용자 지정된 경우 혹은 system-wide한 경우로 이미 세팅되어 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&lt;strong&gt;&amp;nbsp;alias&lt;/strong&gt;&lt;br /&gt;
&lt;/font&gt;alias egrep='egrep --color=auto'&lt;br /&gt;
alias fgrep='fgrep --color=auto'&lt;br /&gt;
alias grep='grep --color=auto'&lt;br /&gt;
alias l='ls -CF'&lt;br /&gt;
alias la='ls -A'&lt;br /&gt;
alias ll='ls -alF'&lt;br /&gt;
alias ls='ls --color=auto'&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;확인해 볼 수 있는건, 이러한 alias들은 명령에 옵션을 추가할 수 있는 간순한 방법을 제공합니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;alias&lt;/strong&gt;&amp;nbsp;la='ls -la'&lt;/font&gt;&lt;br /&gt;
alias&lt;br /&gt;
alias egrep='egrep --color=auto'&lt;br /&gt;
alias fgrep='fgrep --color=auto'&lt;br /&gt;
alias grep='grep --color=auto'&lt;br /&gt;
alias l='ls -CF'&lt;br /&gt;
alias la='ls -la'&lt;br /&gt;
alias ll='ls -alF'&lt;br /&gt;
alias ls='ls --color=auto'&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;la&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
total 212&lt;br /&gt;
drwxr-xr-x 24 greenfish greenfish&amp;nbsp; 4096 2010-10-18 18:27 .&lt;br /&gt;
drwxr-xr-x&amp;nbsp; 3 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 2010-09-30 16:34 ..&lt;br /&gt;
-rw-------&amp;nbsp; 1 greenfish greenfish&amp;nbsp; 9825 2010-10-18 19:50 .bash_history&lt;br /&gt;
-rw-r--r--&amp;nbsp; 1 greenfish greenfish&amp;nbsp;&amp;nbsp; 220 2010-09-30 16:34 .bash_logout&lt;br /&gt;
-rw-r--r--&amp;nbsp; 1 greenfish greenfish&amp;nbsp; 3103 2010-09-30 16:34 .bashrc&lt;br /&gt;
drwx------&amp;nbsp; 4 greenfish greenfish&amp;nbsp; 4096 2010-10-03 20:28 .cache&lt;br /&gt;
drwxr-xr-x&amp;nbsp; 6 greenfish greenfish&amp;nbsp; 4096 2010-10-04 01:20 .config&lt;br /&gt;
...&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;unalias&lt;/strong&gt;&amp;nbsp;la&lt;/font&gt;&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;unalias&lt;/strong&gt;&amp;nbsp;-a&lt;br /&gt;
$&lt;strong&gt;&amp;nbsp;alias&lt;/strong&gt;&lt;br /&gt;
$&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;div style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;/div&gt;
&lt;strong style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;Command Watch 하기&lt;/span&gt;&lt;br /&gt;
&lt;/font&gt;&lt;/strong&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;만약 command의 output을 계속 눈으로 보기 위한다면, watch 명령을 사용합니다.&amp;nbsp;아래를 통해 load average를 계속 눈으로 볼 수 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;font color=&quot;#ff8b16&quot; style=&quot;font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;$&amp;nbsp;&lt;strong&gt;watch&amp;nbsp;&lt;/strong&gt;'cat /proc/loadavg'&lt;/font&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;Every 2.0s: cat /proc/loadavg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mon Oct 18 20:19:48 2010&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;0.06 0.06 0.00 1/176 3877&lt;/font&gt;&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;매 2초마다 해당 정보를 화면에 보여줍니다. ctrl+C를 통해 종료할 수 있으며, 갱신 기간을 10초로 하려면,&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;font color=&quot;#ff8b16&quot; style=&quot;font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;$&amp;nbsp;&lt;strong&gt;watch&lt;/strong&gt;&amp;nbsp;-n 10 'ls -l'&lt;/font&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;과 같이 하면 됩니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;만약 변경된 부분을 highlight하고 싶다면, 아래를 참고하십시요.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;font color=&quot;#ff8b16&quot; style=&quot;font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;$&amp;nbsp;&lt;strong&gt;watch&amp;nbsp;&lt;/strong&gt;-d 'ls -l'&lt;br /&gt;
&lt;br /&gt;&lt;font color=&quot;#000000&quot;&gt;아래와 같이 tail command로 ctrl+C를 누를 때 까지 파일을 계속 watch할 수도 있습니다.&lt;/font&gt;&lt;br /&gt;
&lt;font color=&quot;#000000&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;sudo tail&lt;/strong&gt;&amp;nbsp;-f /var/log/message&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div&gt;
&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;/div&gt;
&lt;/font&gt;&lt;/font&gt;&lt;strong style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;Super user 권한 얻기&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;당신이 shell을 열면,&amp;nbsp;당신의 user/group ID와 권한을 기반으로 한 파일과 디렉토리를 접근하고 실행할 수 있습니다. 많은 system은 root user에 제약을 가하고 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;대략적으로 super user 권한을 얻기 위해서는 다음의 3가지 방법이 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;ol style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 15px; padding-bottom: 0px; padding-left: 45px; list-style-position: initial; list-style-image: initial; color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;root user로 로그인&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;su&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;명령으로 임시적인 root user로 되기&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;strong&gt;sudo&lt;/strong&gt;&amp;nbsp;&lt;/font&gt;명령으로 root user 권한을 얻어 한번 실행하기&lt;/li&gt;
&lt;/ol&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;대부분의 경우, root user로 로그인할 필요는 없는데, 의도하지 않았던 변경사항으로 인한 사고를 방지하기 위함입니다. 대부분의 linux user는 일반 login에서 부터 root user로 변경하기 위해 su 명령을 사용하거나, root user로 실행해야 하는 단일 명령을 실행하기 위해 sudo 명령을 이용하기도 합니다.&lt;br /&gt;
&lt;br /&gt;Ubuntu에서는 sudo 명령으로 user를 추가할 수 있습니다. 대부분 관리자 권한 명령을 실행시킬 때 sudo 명령을 앞에 달아줘야 합니다. 예를 들면 $ sudo useradd -m joe 와 같습니다.&lt;br /&gt;
&lt;br /&gt;디폴트로, Ubuntu는 root user로 로그인을 하지 못하도록 제약을 걸고 있습니다. 그래서 su로 관리자 권한의 명령을 수행할 수 없습니다.&lt;br /&gt;
&lt;/p&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;login as: root&lt;br /&gt;
&lt;/font&gt;&lt;a href=&quot;mailto:root@xxx.xxx.xxx.xxx's&quot; style=&quot;text-decoration: none; color: rgb(86, 86, 86); &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;root@xxx.xxx.xxx.xxx's&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#ffffff&quot;&gt;&amp;nbsp;password:&lt;br /&gt;
Access denied&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;su&lt;/strong&gt;&amp;nbsp;greenfish&lt;/font&gt;&lt;br /&gt;
Password:&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;exit&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
exit&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;su&lt;/strong&gt;&amp;nbsp;root&lt;br /&gt;
&lt;/font&gt;Password:&lt;br /&gt;
su: Authentication failure&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;만약 연속된 관리자 권한 명령 수행을 위해서는 아래와 같이 shell을 다시 띄우는 방법이 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font size=&quot;+0&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;sudo&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;bash&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
# ...&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;# exit&lt;br /&gt;
&lt;/font&gt;exit&lt;br /&gt;
$&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;/p&gt;
&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;그리고, sudo passwd root를 통해 root의 비밀번호를 변경할 수 있습니다.&lt;/p&gt;
&lt;div style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;sudo를 통한 권한 위임&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;이와 같이 sudo 명령은 user로 부터 root&amp;nbsp;user로 권한을 위임하도록 해 줍니다. 또한 sudo는 많은 user를 관리할 때 특정 권한을 위임할 때 사용되는 도구이며, 이러한 권한으로 user의 모든 행위를 log해 줍니다.&lt;br /&gt;
&lt;br /&gt;아무런 옵션이 없는한 sudo는 root로 실행됩니다. Ubuntu linux는 특정 권한 명령을 수행하는데 사용되는데, su 명령보다&amp;nbsp;선호되는 방법입니다. sudo 명령은 /etc/sodoers에 설정되어 있습니다. (주의! 해당 파일은 필히 visudo로 편집해야 합니다)&lt;br /&gt;
&lt;br /&gt;/etc/sudoers 파일은 제한되어 있기때문에, sudo visudo를 통해 편집해야 합니다. 해당 명령은 nano editor를 통해 편집하도록 해 줍니다.&amp;nbsp;&lt;br /&gt;
&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;border-collapse: collapse; &quot;&gt;&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;p&gt;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;&amp;nbsp;GNU nano 2.2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File: /etc/sudoers.tmp&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;# /etc/sudoers&lt;br /&gt;
#&lt;br /&gt;
# This file MUST be edited with the 'visudo' command as root.&lt;br /&gt;
#&lt;br /&gt;
# See the man page for details on how to write a sudoers file.&lt;br /&gt;
#&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;Defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env_reset&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;# Host alias specification&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;# User alias specification&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;# Cmnd alias specification&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;# User privilege specification&lt;br /&gt;
root&amp;nbsp;&amp;nbsp;&amp;nbsp; ALL=(ALL) ALL&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;# Allow members of group sudo to execute any command after they have&lt;br /&gt;
# provided their password&lt;br /&gt;
# (Note that later entries override this, so you might need to move&lt;br /&gt;
# it further down)&lt;br /&gt;
%sudo ALL=(ALL) ALL&lt;br /&gt;
#&lt;br /&gt;
#includedir /etc/sudoers.d&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;# Members of the admin group may gain root privileges&lt;br /&gt;
%admin ALL=(ALL) ALL&lt;/font&gt;&lt;br /&gt;
&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^G&lt;/font&gt;&amp;nbsp;Get Help&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^O&lt;/font&gt;&amp;nbsp;WriteOut&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^R&lt;/font&gt;&amp;nbsp;Read File&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^Y&lt;/font&gt;&amp;nbsp;Prev Page&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^K&lt;/font&gt;&amp;nbsp;Cut Text&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^C&lt;/font&gt;&amp;nbsp;Cur Pos&lt;br /&gt;
&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^X&lt;/font&gt;&amp;nbsp;Exit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^J&lt;/font&gt;&amp;nbsp;Justify&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^W&lt;/font&gt;&amp;nbsp;Where Is&amp;nbsp;&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^V&lt;/font&gt;&amp;nbsp;Next Page&amp;nbsp;&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^U&lt;/font&gt;&amp;nbsp;UnCut Text&lt;font color=&quot;#587693&quot; style=&quot;background-color: rgb(218, 232, 246); &quot;&gt;^T&lt;/font&gt;&amp;nbsp;To Spell&lt;/font&gt;&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;font color=&quot;#ff8b16&quot;&gt;root ALL=(ALL) ALL&lt;/font&gt;&lt;br /&gt;
이 있는데, 이는&amp;nbsp;모든 user가&amp;nbsp;모든 host에서 root로 됨을 허락한다는 뜻입니다.&lt;br /&gt;
&lt;br /&gt;&lt;font color=&quot;#ff8b16&quot;&gt;%admin ALL=(ALL) ALL&lt;/font&gt;&lt;br /&gt;
은 admin group에 있는 모둔 user가 root로 됨을 허락한다는 뜻입니다.&lt;br /&gt;
&lt;br /&gt;Ubuntu linux를 설치하였다면, 당신이 추가한 user 계정은 자동으로 admin group에 추가됩니다. 추가된 user의 root 권한을 자동으로 하기 위해서는 다음과 같은 Line을 추가합니다.&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;USERNAME&amp;nbsp;ALL= /usr/bin/less /var/log/messages&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;만약 USERNAME이 testacc였다면, 다음과 같은 것이 가능합니다.&lt;br /&gt;
&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;border-collapse: collapse; &quot;&gt;&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;sudo&lt;/strong&gt;&amp;nbsp;/usr/bin/less /var/log/messages&lt;/font&gt;&lt;br /&gt;
Password:&lt;/font&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
그럼, testacc의 비밀번호를 입력하면, /var/log/messages의 내용을 표시합니다.&lt;br /&gt;
&lt;br /&gt;&lt;div&gt;
&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;/div&gt;
&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;환경 변수 사용하기&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;shell 환경에 사용되는 작은 양의 정보는 환경 변수에 저장됩니다. 규약에 따라 환경 변수는 대문자가 사용됩니다. 만약 bash을 사용한다면, 몇몇 환경 변수는 직전에 다뤘던 다양한 bash start scripts로 부터 세팅됩니다.&lt;br /&gt;
&lt;br /&gt;다음과 같이, 모든&amp;nbsp;환경 변수를 알파벳 순서로 표시할 수 있습니다.&lt;br /&gt;
&lt;br /&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;set&lt;/strong&gt;&amp;nbsp;| less&lt;/font&gt;&lt;br /&gt;
BASH=/bin/bash&lt;br /&gt;
BASHOPTS=checkwinsize:cmdhist:expand_aliases:extglob:extquote:force_fignore:histappend:interactive_comments:login_shell:progcomp:promptvars:sourcepath&lt;br /&gt;
BASH_ALIASES=()&lt;br /&gt;
...&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;그리고 아래와 같이 환경 변수를 set/reset 할 수 있습니다.&lt;br /&gt;
&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;border-collapse: collapse; &quot;&gt;&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;p&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;echo&lt;/strong&gt;&amp;nbsp;$ABC&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$ ABC=123&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&amp;nbsp;&lt;strong&gt;echo&amp;nbsp;&lt;/strong&gt;&lt;/font&gt;$ABC&lt;br /&gt;
&lt;/font&gt;123&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;bash&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;echo&lt;/strong&gt;&amp;nbsp;$ABC&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;exit&lt;/strong&gt;&lt;br /&gt;
&lt;/font&gt;exit&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;echo&amp;nbsp;&lt;/strong&gt;$ABC&lt;/font&gt;&lt;br /&gt;
123&lt;/font&gt;&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;그리고, export에 의해 환경 변수를 child process에 상속할 수 있도록 할 수있습니다.&lt;br /&gt;
&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;border-collapse: collapse; &quot;&gt;&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;p&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;echo&lt;/strong&gt;&amp;nbsp;$ABC&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ffffff&quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;export&lt;/strong&gt;&amp;nbsp;ABC=123&lt;br /&gt;
&lt;/font&gt;&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;echo&lt;/strong&gt;&amp;nbsp;$ABC&lt;/font&gt;&lt;br /&gt;
123&lt;br /&gt;
&lt;font color=&quot;#ff8b16&quot;&gt;$&amp;nbsp;&lt;strong&gt;bash&lt;/strong&gt;&lt;br /&gt;
$&amp;nbsp;&lt;strong&gt;echo&lt;/strong&gt;&amp;nbsp;$ABC&lt;/font&gt;&lt;br /&gt;
123&lt;/font&gt;&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</description>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/204</guid>
      <comments>https://hsnote.tistory.com/entry/Linux-Ubuntu-Shell-%ED%99%9C%EC%9A%A902-redirect-su-sudo-%ED%99%98%EA%B2%BD-%EB%B3%80%EC%88%98#entry204comment</comments>
      <pubDate>Thu, 24 Nov 2011 15:00:30 +0900</pubDate>
    </item>
    <item>
      <title>[Linux] Ubuntu Shell 활용(1)</title>
      <link>https://hsnote.tistory.com/entry/Linux-Ubuntu-Shell-%ED%99%9C%EC%9A%A91</link>
      <description>출처 :&amp;nbsp;&lt;a href=&quot;http://greenfishblog.tistory.com/39&quot;&gt;http://greenfishblog.tistory.com/39&lt;br /&gt;
&lt;br /&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;Shell command interpreter(shell)의 사용은 과거 unix로 부터 거슬러 올라갑니다. 이러한 shell은 환경 변수, aliase, 프로그래밍을 위한 여러 기능등 많은 명령을 수행합니다. Bourne Again Shell(bash)이 Linux에서 가장 일반적으로 많이 사용됩니다(sh, csh, ksh, tcsh 등등도 있습니다). 많은 경우, 이러한 shell들은 다른 shell로의 symbolic link를 가지고 있습니다. Ubuntu에서, sh는 /bin/dash에 symbolic link를 가지고 있습니다. 이러한 sh shell은 run script로 실행시킬 shell script를 호출하는데 중요한 역할을 수행합니다.&lt;/span&gt;&lt;div style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;/div&gt;
&lt;font color=&quot;#ff8b16&quot; style=&quot;font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;Shell 사용하기&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;Shell이 시작될 때 shell environment가 실행시킨 user 기반으로 설정됩니다. bash shell의 모든 user의 설정은 많은 파일에 저장되어 있습니다. 이러한 시스템 세팅을 무시하고 당신만의 버전으로 만들어 사용할 수 있습니다. 이러한 설정을 포함하는 파일은 다음과 같이 두 종류가 있습니다.&lt;/span&gt;&lt;br style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;ul style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 15px; padding-bottom: 0px; padding-left: 15px; list-style-position: initial; list-style-image: initial; color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;startup files&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;initialization files&lt;/li&gt;
&lt;/ul&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;bash는 로그인 shell으로 부터 startup files를 실행시킵니다. 이 파일은 전체 로그인을 넘나들어 적용되는 설정을 정의합니다. bash는 shell의 초기화를 위해 initialization files를 실행시킵니다. 이는 다시 말하면, shell script를 실행시키는것은 아닙니다.&lt;br /&gt;
&lt;br /&gt;bash는 startup files을 /etc/profile(이는 system-wide) 혹은 user home directory의 .bash_profile, .bash_login, 그리고 .profile와 같이 개인 설정이 저장된 .으로 시작되는 파일을 찾습니다. (다른 linux 시스템에서 system-wide 파일이&amp;nbsp;/etc/profile과 /etc/profile.d/에 저장이 되어 있는 경우도 있습니다.)&lt;br /&gt;
&lt;br /&gt;bash는 initialization files를 /etc/bash.bashrc (이는 system-wide) 혹은&amp;nbsp;user home directory의 .bashrc에서 찾습니다. (다른 linux 시스템에서 system-wide 파일이 /etc/bashrc에 저장되어 있는 경우도 있습니다.)&lt;br /&gt;
&lt;br /&gt;shell이 끝날 때 user의 ~/.bash_logout 파일이 실행됩니다. 이러한 파일들을 변경하였지만, 이미 동작하고 있는 shell에는 영향을 미치지는 않습니다.&lt;br /&gt;
&lt;br /&gt;shell environment를 변경하고 나열할 수 있는 여러 가지 방법이 있는데, 가장 흔한 방법은 user를 변경하는 방법입니다.&lt;/p&gt;
&lt;div style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; line-height: 16px; background-color: rgb(255, 255, 255); &quot;&gt;&lt;hr style=&quot;border-bottom-color: black; border-right-width: 0px; border-top-color: black; border-bottom-width: 0px; height: 1px; border-right-color: black; border-left-color: black; border-left-width: 0px; &quot;&gt;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 11pt; &quot;&gt;bash history 사용하기&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;bash(Bourne Again Shell)은 Linux에서 일반적으로 쓰이는 기본 shell입니다.&amp;nbsp;다른 shell과 마찬가지로, bash에 의해 설치된 history를 관리하는 기능이 있어, 과거 실행한 command를 보거나 변경하기, 그리고 재사용할 수 있습니다. 이는 매우 길고 복잡한 Linux command을 처리할때 큰 도움을 줍니다.&lt;br /&gt;
&lt;br /&gt;bash를 시작할 때, ~/.bash_histroy 파일을 읽어 메모리에 로드하게 됩니다. 이 파일은 $HISTFILE 값에 세팅되어 있습니다.&lt;br /&gt;
&lt;br /&gt;bash session 동안, command는 메모리에 있는 history에 추가하게 됩니다. 그리고 bash가 종료될 때, 메모리에 있는 history는 .bash_history에 저장하게 됩니다. bash session동안 포함할 command 개수는 $HISTSIZE에 세팅되어 있으며, history에 저장될 개수는 #HISTFILESIZE에 세팅되어 있습니다.&lt;br /&gt;
&lt;br /&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; width=&quot;610&quot; bgcolor=&quot;#000000&quot; style=&quot;border-collapse: collapse; &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-width: 1px; border-bottom-style: solid; border-left-color: rgb(255, 255, 255); border-left-width: 1px; border-left-style: solid; border-top-color: rgb(255, 255, 255); border-top-width: 1px; border-top-style: solid; border-right-color: rgb(255, 255, 255); border-right-width: 1px; border-right-style: solid; &quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;$&amp;nbsp;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;echo $HISTFILE $HISTSIZE $HISTFILESIZE&lt;/font&gt;&lt;br /&gt;
&lt;/strong&gt;/home/greenfish/.bash_history 1000 2000&lt;br /&gt;
$&amp;nbsp;&lt;font color=&quot;#ff8b16&quot;&gt;&lt;strong&gt;&lt;font size=&quot;+0&quot;&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;history&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-size: 9pt; &quot;&gt;&amp;nbsp;5&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;/font&gt;&amp;nbsp; 447&amp;nbsp;&amp;nbsp;ps&lt;br /&gt;
&amp;nbsp; 448&amp;nbsp; head .bash_history&lt;br /&gt;
&amp;nbsp; 449&amp;nbsp; echo $HISTFILE $HISTSIZE $HISTFILESIZE&lt;br /&gt;
&amp;nbsp; 450&amp;nbsp; clear&lt;br /&gt;
&amp;nbsp; 451&amp;nbsp; history 5&lt;br /&gt;
$&amp;nbsp;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;!!&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;
history 5&lt;br /&gt;
&amp;nbsp; 458&amp;nbsp;&amp;nbsp;ps&lt;br /&gt;
&amp;nbsp; 459&amp;nbsp; head .bash_history&lt;br /&gt;
&amp;nbsp; 460&amp;nbsp; echo $HISTFILE $HISTSIZE $HISTFILESIZE&lt;br /&gt;
&amp;nbsp; 461&amp;nbsp; clear&lt;br /&gt;
&amp;nbsp; 462&amp;nbsp; history 5&lt;br /&gt;
$&amp;nbsp;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;!458&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;
pwd&lt;br /&gt;
/home/greenfish&lt;br /&gt;
$&amp;nbsp;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;!458 -aux&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;
ps -aux&lt;br /&gt;
Warning: bad ps syntax, perhaps a bogus '-'? See&amp;nbsp;&lt;a href=&quot;http://procps.sf.net/faq.html&quot; style=&quot;text-decoration: none; color: rgb(86, 86, 86); &quot;&gt;http://procps.sf.net/faq.html&lt;/a&gt;&lt;br /&gt;
USER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PID %CPU %MEM&amp;nbsp;&amp;nbsp;&amp;nbsp; VSZ&amp;nbsp;&amp;nbsp; RSS TTY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STAT START&amp;nbsp;&amp;nbsp; TIME COMMAND&lt;br /&gt;
root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0.0&amp;nbsp; 0.3&amp;nbsp;&amp;nbsp; 2664&amp;nbsp; 1608 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ss&amp;nbsp;&amp;nbsp; 16:43&amp;nbsp;&amp;nbsp; 0:01 /sbin/init&lt;br /&gt;
root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S&amp;nbsp;&amp;nbsp;&amp;nbsp; 16:43&amp;nbsp;&amp;nbsp; 0:00 [kthreadd]&lt;br /&gt;
...&lt;br /&gt;
$&amp;nbsp;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;!?aux?&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;
ps -aux&lt;br /&gt;
Warning: bad ps syntax, perhaps a bogus '-'? See&amp;nbsp;&lt;a href=&quot;http://procps.sf.net/faq.html&quot; style=&quot;text-decoration: none; color: rgb(86, 86, 86); &quot;&gt;http://procps.sf.net/faq.html&lt;/a&gt;&lt;br /&gt;
USER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PID %CPU %MEM&amp;nbsp;&amp;nbsp;&amp;nbsp; VSZ&amp;nbsp;&amp;nbsp; RSS TTY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STAT START&amp;nbsp;&amp;nbsp; TIME COMMAND&lt;br /&gt;
root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0.0&amp;nbsp; 0.3&amp;nbsp;&amp;nbsp; 2664&amp;nbsp; 1608 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ss&amp;nbsp;&amp;nbsp; 16:43&amp;nbsp;&amp;nbsp; 0:01 /sbin/init&lt;br /&gt;
root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S&amp;nbsp;&amp;nbsp;&amp;nbsp; 16:43&amp;nbsp;&amp;nbsp; 0:00 [kthreadd]&lt;br /&gt;
...&lt;br /&gt;
$&amp;nbsp;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;!ps&lt;br /&gt;
&lt;/font&gt;&lt;/strong&gt;ps -aux&lt;br /&gt;
Warning: bad ps syntax, perhaps a bogus '-'? See&amp;nbsp;&lt;a href=&quot;http://procps.sf.net/faq.html&quot; style=&quot;text-decoration: none; color: rgb(86, 86, 86); &quot;&gt;http://procps.sf.net/faq.html&lt;/a&gt;&lt;br /&gt;
USER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PID %CPU %MEM&amp;nbsp;&amp;nbsp;&amp;nbsp; VSZ&amp;nbsp;&amp;nbsp; RSS TTY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STAT START&amp;nbsp;&amp;nbsp; TIME COMMAND&lt;br /&gt;
root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0.0&amp;nbsp; 0.3&amp;nbsp;&amp;nbsp; 2664&amp;nbsp; 1608 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ss&amp;nbsp;&amp;nbsp; 16:43&amp;nbsp;&amp;nbsp; 0:01 /sbin/init&lt;br /&gt;
root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S&amp;nbsp;&amp;nbsp;&amp;nbsp; 16:43&amp;nbsp;&amp;nbsp; 0:00 [kthreadd]&lt;br /&gt;
...&lt;br /&gt;
$&amp;nbsp;&lt;strong&gt;&lt;font color=&quot;#ff8b16&quot;&gt;!ps:s/aux/A&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;
ps -A&lt;br /&gt;
&amp;nbsp; PID TTY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIME CMD&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:01 init&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00 kthreadd&lt;br /&gt;
...&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;ul style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 15px; padding-bottom: 0px; padding-left: 15px; list-style-position: initial; list-style-image: initial; &quot;&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;history 5&lt;br /&gt;
이전의 command&amp;nbsp;5개를 보여준다.&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;!!&lt;br /&gt;
바로 직전의 command를 실행한다.&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;!458&lt;br /&gt;
458번째의 command를 실행한다.&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;!458 -aux&lt;br /&gt;
458번째의 command에 -aux를 붙여 실행한다.&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;!?aux?&lt;br /&gt;
이전 command중 aux를 포함하고 있는 것을 실행한다.&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;!ps&lt;br /&gt;
이전 command중 ps인것을 실행한다.&lt;/li&gt;
&lt;li style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;!ps:s/aux/A&lt;br /&gt;
이전 command중 ps인것을 실행하되 aux를 A로 치환하여 실행한다.&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/203</guid>
      <comments>https://hsnote.tistory.com/entry/Linux-Ubuntu-Shell-%ED%99%9C%EC%9A%A91#entry203comment</comments>
      <pubDate>Thu, 24 Nov 2011 14:59:24 +0900</pubDate>
    </item>
    <item>
      <title>[건강] 오후 3시에 졸린다면? 달걀을 먹어라</title>
      <link>https://hsnote.tistory.com/entry/%EA%B1%B4%EA%B0%95-%EC%98%A4%ED%9B%84-3%EC%8B%9C%EC%97%90-%EC%A1%B8%EB%A6%B0%EB%8B%A4%EB%A9%B4-%EB%8B%AC%EA%B1%80%EC%9D%84-%EB%A8%B9%EC%96%B4%EB%9D%BC</link>
      <description>&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot; style=&quot;table-layout: auto; color: rgb(48, 48, 48); font-family: 굴림, Gulim; font-size: 14px; line-height: 23px; background-color: rgb(255, 255, 255); &quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td style=&quot;border-collapse: collapse; &quot;&gt;&lt;div id=&quot;contentArea&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 619px; &quot;&gt;
&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot;&gt;&lt;img src=&quot;http://nimg.nate.com/orgImg/kr/2011/11/17/cc201111171630.jpg&quot; width=&quot;240&quot; height=&quot;361&quot; style=&quot;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; vertical-align: middle; &quot;&gt;&lt;/div&gt;
&lt;b&gt;흰자 단백질이 정신 맑게 해주기 때&lt;/b&gt;문&lt;br /&gt;
&lt;br /&gt;점심식사 뒤 오후 서너 시 무렵 사무실 책상에 앉아 꾸벅거린다면 정신을 차리느라 애를 쓰게 마련이다. 이때 커피나 과자 같은 단 것에 손대지 말고 피로회복제로 달걀을 집는 것이 좋다는 연구 결과가 나왔다.&lt;br /&gt;
&lt;br /&gt;영국 케임브리지 대학교 연구팀은 각종 영양소들이 정신을 맑게 해주고 칼로리를 태우는 기능을 하는 뇌 세포에 어떤 영향을 미치는지에 대해 조사했다. 그 결과 달걀의 단백질, 특히 흰자에 있는 단백질 성분이 정신을 맑게 하여, 깨어있게 해준다는 사실을 발견했다. 달걀흰자 단백질의 이 같은 기능은 흔히 원기 회복제로 쉽게 택하는 초콜릿이나 비스킷 등 단 음식에 들어 있는 당질보다 훨씬 효과적인 것으로 나타났다. 이는 뇌 세포를 활성화시키고, 오렉신의 방출을 촉발시킨다. 반면 설탕은 오렉신의 분비를 차단하는 것으로 드러났다. 오렉신은 식욕과 수면을 조절하는 호르몬으로 부족하면 수면 장애를 일으켜 기면증으로 이어질 수 있고 비만을 유발하기도 한다.&lt;br /&gt;
&lt;br /&gt;따라서 연구팀은 토스트에 잼을 바른 것과 달걀흰자를 얹은 것이 있을 때 후자를 고르는 것이 뇌 세포를 활성화 시킬 수 있는 한 가지 방법이라고 조언한다. 또한 두 가지 토스트의 칼로리 양이 똑같다고 해도 단백질이 약간 있는 쪽이 칼로리를 더 소비할 수 있게 한다는 것이다.&lt;br /&gt;
&lt;br /&gt;흔히 달걀은 우유와 함께 완전식품으로 불린다. 모든 사람이 맛, 영양, 가격에 만족하기 때문이다. 최근 한 연구에서는 달걀에 있는 콜레스테롤이 심장병을 일으키는데 가장 영향력이 덜한 종류라는 결과를 내놓기도 했다.&lt;br /&gt;
&lt;br /&gt;이 같은 내용은 학술지 ‘신경(Neuron)’에 실렸으며, 영국 일간지 데일리메일 온라인판이 17일 보도했다.&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</description>
      <category>잡다구리/건강을 위하여...</category>
      <author>정현석</author>
      <guid isPermaLink="true">https://hsnote.tistory.com/200</guid>
      <comments>https://hsnote.tistory.com/entry/%EA%B1%B4%EA%B0%95-%EC%98%A4%ED%9B%84-3%EC%8B%9C%EC%97%90-%EC%A1%B8%EB%A6%B0%EB%8B%A4%EB%A9%B4-%EB%8B%AC%EA%B1%80%EC%9D%84-%EB%A8%B9%EC%96%B4%EB%9D%BC#entry200comment</comments>
      <pubDate>Fri, 18 Nov 2011 13:41:49 +0900</pubDate>
    </item>
  </channel>
</rss>