bash.html (7424B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <!-- Sep 03, 2024 --> 5 <meta charset="utf-8" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1" /> 7 <title>bash</title> 8 <meta name="author" content="Vincent Demeester" /> 9 <meta name="generator" content="Org Mode" /> 10 <link rel='icon' type='image/x-icon' href='/images/favicon.ico'/> 11 <meta name='viewport' content='width=device-width, initial-scale=1'> 12 <link rel='stylesheet' href='/css/new.css' type='text/css'/> 13 <link rel='stylesheet' href='/css/syntax.css' type='text/css'/> 14 <link href='/index.xml' rel='alternate' type='application/rss+xml' title='Vincent Demeester' /> 15 </head> 16 <body> 17 <main id="content" class="content"> 18 <header> 19 <h1 class="title">bash</h1> 20 </header><section id="outline-container-Links" class="outline-2"> 21 <h2 id="Links">Links   <span class="tag"><span class="_link">#link</span></span></h2> 22 <div class="outline-text-2" id="text-Links"> 23 </div> 24 <div id="outline-container-%5B%5Bhttps%3A%2F%2Fashishb.net%2Fall%2Fthe-first-two-statements-of-your-bash-script-should-be%2F%5D%5BThe%20first%20two%20statements%20of%20your%20BASH%20script%20should%20be%E2%80%A6%5D%5D" class="outline-3"> 25 <h3 id="%5B%5Bhttps%3A%2F%2Fashishb.net%2Fall%2Fthe-first-two-statements-of-your-bash-script-should-be%2F%5D%5BThe%20first%20two%20statements%20of%20your%20BASH%20script%20should%20be%E2%80%A6%5D%5D"><a href="https://ashishb.net/all/the-first-two-statements-of-your-bash-script-should-be/">The first two statements of your BASH script should be…</a>   <span class="tag"><span class="shell">shell</span> <span class="bash">bash</span></span></h3> 26 <div class="outline-text-3" id="text-%5B%5Bhttps%3A%2F%2Fashishb.net%2Fall%2Fthe-first-two-statements-of-your-bash-script-should-be%2F%5D%5BThe%20first%20two%20statements%20of%20your%20BASH%20script%20should%20be%E2%80%A6%5D%5D"> 27 <p> 28 <span class="timestamp-wrapper"><span class="timestamp">[2020-04-15 Wed 17:22]</span></span> 29 </p> 30 31 <div class="org-src-container"> 32 <pre class="src src-bash">#!/usr/bin/env bash 33 set -euo pipefail 34 </pre> 35 </div> 36 </div> 37 </div> 38 <div id="outline-container-%5B%5Bhttps%3A%2F%2Fvaneyckt.io%2Fposts%2Fsafer_bash_scripts_with_set_euxo_pipefail%2F%5D%5BSafer%20bash%20scripts%20with%20%27set%20-euxo%20pipefail%27%20%C2%B7%20vaneyckt.io%5D%5D" class="outline-3"> 39 <h3 id="%5B%5Bhttps%3A%2F%2Fvaneyckt.io%2Fposts%2Fsafer_bash_scripts_with_set_euxo_pipefail%2F%5D%5BSafer%20bash%20scripts%20with%20%27set%20-euxo%20pipefail%27%20%C2%B7%20vaneyckt.io%5D%5D"><a href="https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/">Safer bash scripts with ’set -euxo pipefail’ · vaneyckt.io</a>   <span class="tag"><span class="bash">bash</span></span></h3> 40 <div class="outline-text-3" id="text-%5B%5Bhttps%3A%2F%2Fvaneyckt.io%2Fposts%2Fsafer_bash_scripts_with_set_euxo_pipefail%2F%5D%5BSafer%20bash%20scripts%20with%20%27set%20-euxo%20pipefail%27%20%C2%B7%20vaneyckt.io%5D%5D"> 41 <p> 42 <span class="timestamp-wrapper"><span class="timestamp">[2019-06-21 Fri 18:11]</span></span> 43 </p> 44 45 <p> 46 Almost the same as above 🙃. 47 </p> 48 </div> 49 </div> 50 <div id="outline-container-%5B%5Bhttps%3A%2F%2Fcitizen428.net%2Fblog%2Fbash-error-handling-with-trap%2F%5D%5BBash%20Error%20Handling%20with%20Trap%20-%20citizen428.net%5D%5D" class="outline-3"> 51 <h3 id="%5B%5Bhttps%3A%2F%2Fcitizen428.net%2Fblog%2Fbash-error-handling-with-trap%2F%5D%5BBash%20Error%20Handling%20with%20Trap%20-%20citizen428.net%5D%5D"><a href="https://citizen428.net/blog/bash-error-handling-with-trap/">Bash Error Handling with Trap - citizen428.net</a></h3> 52 <div class="outline-text-3" id="text-%5B%5Bhttps%3A%2F%2Fcitizen428.net%2Fblog%2Fbash-error-handling-with-trap%2F%5D%5BBash%20Error%20Handling%20with%20Trap%20-%20citizen428.net%5D%5D"> 53 <p> 54 <span class="timestamp-wrapper"><span class="timestamp">[2020-05-28 Thu 15:52]</span></span> 55 </p> 56 57 <p> 58 Traps in Bash are used for executing a command or series of commands 59 upon catching a signal. 60 </p> 61 </div> 62 </div> 63 <div id="outline-container-%5B%5Bhttps%3A%2F%2Fzwischenzugs.com%2F2019%2F04%2F03%2Feight-obscure-bash-options-you-might-want-to-know-about%2F%5D%5BEight%20Obscure%20Bash%20Options%20You%20Might%20Want%20to%20Know%20About%20%E2%80%93%20zwischenzugs%5D%5D" class="outline-3"> 64 <h3 id="%5B%5Bhttps%3A%2F%2Fzwischenzugs.com%2F2019%2F04%2F03%2Feight-obscure-bash-options-you-might-want-to-know-about%2F%5D%5BEight%20Obscure%20Bash%20Options%20You%20Might%20Want%20to%20Know%20About%20%E2%80%93%20zwischenzugs%5D%5D"><a href="https://zwischenzugs.com/2019/04/03/eight-obscure-bash-options-you-might-want-to-know-about/">Eight Obscure Bash Options You Might Want to Know About – zwischenzugs</a></h3> 65 <div class="outline-text-3" id="text-%5B%5Bhttps%3A%2F%2Fzwischenzugs.com%2F2019%2F04%2F03%2Feight-obscure-bash-options-you-might-want-to-know-about%2F%5D%5BEight%20Obscure%20Bash%20Options%20You%20Might%20Want%20to%20Know%20About%20%E2%80%93%20zwischenzugs%5D%5D"> 66 <p> 67 <span class="timestamp-wrapper"><span class="timestamp">[2019-06-07 Fri 14:49]</span></span> 68 </p> 69 </div> 70 </div> 71 <div id="outline-container-%5B%5Bhttps%3A%2F%2Fdanpker.com%2Fposts%2F2020%2Ffaster-bash-startup%2F%5D%5BFaster%20Bash%20Startup%20%C2%B7%20Daniel%20Parker%5D%5D" class="outline-3"> 72 <h3 id="%5B%5Bhttps%3A%2F%2Fdanpker.com%2Fposts%2F2020%2Ffaster-bash-startup%2F%5D%5BFaster%20Bash%20Startup%20%C2%B7%20Daniel%20Parker%5D%5D"><a href="https://danpker.com/posts/2020/faster-bash-startup/">Faster Bash Startup · Daniel Parker</a></h3> 73 <div class="outline-text-3" id="text-%5B%5Bhttps%3A%2F%2Fdanpker.com%2Fposts%2F2020%2Ffaster-bash-startup%2F%5D%5BFaster%20Bash%20Startup%20%C2%B7%20Daniel%20Parker%5D%5D"> 74 <p> 75 <span class="timestamp-wrapper"><span class="timestamp">[2020-11-23 Mon 10:23]</span></span> 76 </p> 77 </div> 78 </div> 79 <div id="outline-container-%5B%5Bhttps%3A%2F%2Fwork.lisk.in%2F2020%2F11%2F20%2Feven-faster-bash-startup.html%5D%5BEven%20faster%20bash%20startup%20%E2%80%94%20Tom%C3%A1%C5%A1%20Janou%C5%A1ek%2C%20Blog%5D%5D" class="outline-3"> 80 <h3 id="%5B%5Bhttps%3A%2F%2Fwork.lisk.in%2F2020%2F11%2F20%2Feven-faster-bash-startup.html%5D%5BEven%20faster%20bash%20startup%20%E2%80%94%20Tom%C3%A1%C5%A1%20Janou%C5%A1ek%2C%20Blog%5D%5D"><a href="https://work.lisk.in/2020/11/20/even-faster-bash-startup.html">Even faster bash startup — Tomáš Janoušek, Blog</a></h3> 81 <div class="outline-text-3" id="text-%5B%5Bhttps%3A%2F%2Fwork.lisk.in%2F2020%2F11%2F20%2Feven-faster-bash-startup.html%5D%5BEven%20faster%20bash%20startup%20%E2%80%94%20Tom%C3%A1%C5%A1%20Janou%C5%A1ek%2C%20Blog%5D%5D"> 82 <p> 83 <span class="timestamp-wrapper"><span class="timestamp">[2020-11-23 Mon 10:23]</span></span> 84 </p> 85 </div> 86 </div> 87 </section> 88 </main> 89 <footer id="postamble" class="status"> 90 <footer> 91 <small><a href="/" rel="history">Index</a> • <a href="/sitemap.html">Sitemap</a> • <a href="https://dl.sbr.pm/">Files</a></small><br/> 92 <small class='questions'>Questions, comments ? Please use my <a href="https://lists.sr.ht/~vdemeester/public-inbox">public inbox</a> by sending a plain-text email to <a href="mailto:~vdemeester/public-inbox@lists.sr.ht">~vdemeester/public-inbox@lists.sr.ht</a>.</small><br/> 93 <small class='copyright'> 94 Content and design by Vincent Demeester 95 (<a rel='licence' href='http://creativecommons.org/licenses/by-nc-sa/3.0/'>Some rights reserved</a>) 96 </small><br /> 97 </footer> 98 </footer> 99 </body> 100 </html>