jekyll build from Action 602288f196f23a78d1e3ce1d2ddf690f105c07ba
This commit is contained in:
@ -329,8 +329,8 @@ func<span class="o">()</span> <span class="o">{</span>
|
||||
<span class="nb">echo</span> <span class="s2">"Got SIGUSR1"</span>
|
||||
<span class="o">}</span>
|
||||
|
||||
<span class="c"># here we are telling that run 'func' when USR1 signal is </span>
|
||||
<span class="c"># received # you can run anything. Combine commands with ; etc.</span>
|
||||
<span class="c"># here we are telling that run 'func' when USR1 signal is</span>
|
||||
<span class="c"># received. You can run anything. Combine commands with ; etc.</span>
|
||||
<span class="nb">trap</span> <span class="s2">"func"</span> USR1
|
||||
|
||||
<span class="c"># The while loop is important here otherwise our script will exit</span>
|
||||
@ -526,7 +526,7 @@ killing 3124876
|
||||
</code></pre></div></div>
|
||||
|
||||
<h3 id="final-words">Final words</h3>
|
||||
<p>I think I am started to getting obsessed with <code class="language-plaintext highlighter-rouge">trap</code> command because it has such a good name. FOSS folks are at something when it comes to naming. Here is another good one:</p>
|
||||
<p>I think I am started to getting obsessed with <code class="language-plaintext highlighter-rouge">trap</code> command because it has such a good name and it is very useful. FOSS folks are really on another level when it comes to naming. Here is another good one:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>- How can you see the contents of a file? <br />
|
||||
@ -537,7 +537,7 @@ killing 3124876
|
||||
|
||||
<p>No, it is not just a joke. Try it… Man I love Gnoo slash Linux.</p>
|
||||
|
||||
<p>Anyway, I hope now you know how to <code class="language-plaintext highlighter-rouge">trap</code> and <code class="language-plaintext highlighter-rouge">kill</code>. Next week I will explain how to <code class="language-plaintext highlighter-rouge">unzip; strip; touch; finger; grep; mount; fsck; more; yes; fsck; fsck; umount; clean; sleep</code> <nobr>(° ͜ʖ ͡°)</nobr>. <sup><a href="##" title="jk :D">*</a></sup></p>
|
||||
<p>Anyway, I hope now you know how to <code class="language-plaintext highlighter-rouge">trap</code> and <code class="language-plaintext highlighter-rouge">kill</code>. Next week I will explain how to <code class="language-plaintext highlighter-rouge">unzip; strip; touch; finger; grep; mount; fsck; more; yes; fsck; fsck; umount; clean; sleep</code> <nobr>( ͡° ͜ʖ ͡°)</nobr>. <sup><a href="##" title="jk :D">*</a></sup></p>
|
||||
|
||||
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user