digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

818
active users

#bash

17 posts14 participants0 posts today
Dendrobatus Azureus<p>In this one I use a bit of networking to get to the SBC via ssh, invoke my trusted sh player (I use it for many decades) output the audio via a audio interface to a 16 channel insturment mixer, which is connected to the Yamaha mixing console, which then sends it via a couple of AUX busses to the effect rack, where I put a Delay Reverb combo on it, return that signal back, then mix it with the output, after which the audio is sent analog to the different destinations I have in the house</p><p><a href="https://mastodon.social/@RadioAzureus/115073277370235897" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/@RadioAzureus/</span><span class="invisible">115073277370235897</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/ssh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ssh</span></a> <a href="https://mastodon.bsd.cafe/tags/networking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>networking</span></a> <a href="https://mastodon.bsd.cafe/tags/SBC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SBC</span></a> <a href="https://mastodon.bsd.cafe/tags/Raspberrie" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Raspberrie</span></a> <a href="https://mastodon.bsd.cafe/tags/Pi5" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pi5</span></a> <a href="https://mastodon.bsd.cafe/tags/moc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>moc</span></a> <a href="https://mastodon.bsd.cafe/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://mastodon.bsd.cafe/tags/csh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>csh</span></a> <a href="https://mastodon.bsd.cafe/tags/ksh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ksh</span></a> <a href="https://mastodon.bsd.cafe/tags/sh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sh</span></a> <a href="https://mastodon.bsd.cafe/tags/audio" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>audio</span></a> <a href="https://mastodon.bsd.cafe/tags/balanced" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>balanced</span></a> <a href="https://mastodon.bsd.cafe/tags/music" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>music</span></a></p>
dewomser<p><a href="https://social.tchncs.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.tchncs.de/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a><br>Tippautomat für Lottozahlen <br>6 aus 49 als Einzeiler</p><p>shuf -i 1-49 -n6</p><p>… und hier in schön und bunt mit Lottokästchen<br><a href="https://gist.github.com/dewomser/47d97ba9716c46e690c1c5aac6d6bd84#file-lottoschein-bunt1-sh" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/dewomser/47d97</span><span class="invisible">ba9716c46e690c1c5aac6d6bd84#file-lottoschein-bunt1-sh</span></a></p>
éric 🚲 🇪🇺 :emacs:<p><span class="h-card" translate="no"><a href="https://digitalcourage.social/@the_grue" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>the_grue</span></a></span> I have no idea what you mean by "the '&lt;&lt;-' flavour" but, in any case, when I edit bash scripts, the code auto-indents for me using `aggressive-indent-mode`. I never have to enter a tab (or spaces) explicitly.</p><p><a href="https://fediscience.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://fediscience.org/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> <a href="https://fediscience.org/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://fediscience.org/tags/Emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Emacs</span></a></p>
The Grue<p>I&#39;m editing <a href="https://digitalcourage.social/tags/bash" class="mention hashtag" rel="tag">#<span>bash</span></a> here-documents in <a href="https://digitalcourage.social/tags/emacs" class="mention hashtag" rel="tag">#<span>emacs</span></a>. I&#39;m using the &#39;&lt;&lt;-&#39; flavour to make it look nicer with indentation. Right now, I have to manually enter &quot;real&quot; leading Tabs with &#39;C-q Tab&#39; which is error prone and cumbersome, given that I use the mightiest editor on this world. Isn&#39;t there some package to automatically indent a here document?</p><p><a href="https://digitalcourage.social/tags/programming" class="mention hashtag" rel="tag">#<span>programming</span></a> <a href="https://digitalcourage.social/tags/shell" class="mention hashtag" rel="tag">#<span>shell</span></a></p>
dewomser<p><a href="https://social.tchncs.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.tchncs.de/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> <a href="https://social.tchncs.de/tags/math" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>math</span></a> </p><p>Kleiner Taschenrechner für rationale Zahlen als Einzeiler</p><p>read -r -p "Zahl1[+-*/^]Zahl2: " z1 a z2;echo "$z1$a$z2= $(echo "$z1$a$z2" | bc -l)"</p><p>Dieses Kommando kann mehr als nur Grundrechenarten. .Lesen !<br><a href="https://gist.github.com/dewomser/284df918266fbcdd56761aae8743e23e" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/dewomser/284df</span><span class="invisible">918266fbcdd56761aae8743e23e</span></a></p>
It's FOSS<p>You can easily hide your bash history. 😉 </p><p><a href="https://mastodon.social/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://mastodon.social/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a></p>
Dendrobatus Azureus<p><span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@fbfortune" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>fbfortune</span></a></span> </p><p>This works in all OpenSource shells that I have worked with</p><p><a href="https://mastodon.bsd.cafe/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://mastodon.bsd.cafe/tags/csh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>csh</span></a> <a href="https://mastodon.bsd.cafe/tags/zsh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>zsh</span></a> <a href="https://mastodon.bsd.cafe/tags/ksh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ksh</span></a> <a href="https://mastodon.bsd.cafe/tags/tksh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tksh</span></a> <a href="https://mastodon.bsd.cafe/tags/sh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sh</span></a> <a href="https://mastodon.bsd.cafe/tags/fish" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fish</span></a></p>
xinqu<p>I think I will start reading `man <a href="https://mastodon.bsd.cafe/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a>` line by line, there are so many features I didn't know about. For example:</p><p>You can use an alias as a parameter to an alias. E.g.:</p><p>alias lsopts='-lrt'<br>alias myls='ls '</p><p>"myls" executes "ls -lrt". To make that work, you have to append a space ' ' at the end of the myls definition.</p><p>There are better use cases for this, of course, this is just a test. If you ommit the ' ' after 'ls', myls lsopts returns "lsopts: No such file...."</p>
Reilly Spitzfaden (they/them)<p>I added a “location” section for my /notes posts — previously I just had that on the “statuslog” section on my /now page, which I haven't ended up using very much: </p><p><a href="https://reillyspitzfaden.com/notes/2025/08/location-test/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">reillyspitzfaden.com/notes/202</span><span class="invisible">5/08/location-test/</span></a> </p><p><a href="https://hachyderm.io/tags/Eleventy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Eleventy</span></a> <a href="https://hachyderm.io/tags/11ty" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>11ty</span></a> <a href="https://hachyderm.io/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> <a href="https://hachyderm.io/tags/Shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Shell</span></a> <a href="https://hachyderm.io/tags/Blog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Blog</span></a> <a href="https://hachyderm.io/tags/IndieWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IndieWeb</span></a></p>
Dendrobatus Azureus<p>This is </p><p>`<br>curl ysap.sh/episodes<br>`</p><p>Here you can find the jump table for the subjects handled</p><p><a href="https://mastodon.bsd.cafe/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.bsd.cafe/tags/guides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>guides</span></a> <a href="https://mastodon.bsd.cafe/tags/ysap" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ysap</span></a> <a href="https://mastodon.bsd.cafe/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://mastodon.bsd.cafe/tags/csh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>csh</span></a> <a href="https://mastodon.bsd.cafe/tags/ksh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ksh</span></a> <a href="https://mastodon.bsd.cafe/tags/sh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sh</span></a> <a href="https://mastodon.bsd.cafe/tags/tksh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tksh</span></a> <a href="https://mastodon.bsd.cafe/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a></p>
Dendrobatus Azureus<p>The ysap series is wonderfull, both occasional and full time programmers can benifit from the series. curl to it with</p><p>`curl ysap.sh`</p><p><a href="https://mastodon.bsd.cafe/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.bsd.cafe/tags/guides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>guides</span></a> <a href="https://mastodon.bsd.cafe/tags/ysap" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ysap</span></a> <a href="https://mastodon.bsd.cafe/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://mastodon.bsd.cafe/tags/csh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>csh</span></a> <a href="https://mastodon.bsd.cafe/tags/ksh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ksh</span></a> <a href="https://mastodon.bsd.cafe/tags/sh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sh</span></a> <a href="https://mastodon.bsd.cafe/tags/tksh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tksh</span></a> <a href="https://mastodon.bsd.cafe/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a></p>
Yavo<p><a href="https://fosstodon.org/tags/TIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TIL</span></a> </p><p>While I've been teaching myself bash scripting on the side, I just discovered Bash also has a man file.</p><p>Look at the size of this thing! </p><p>Mind. Blown.</p><p><a href="https://fosstodon.org/tags/FediHelp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FediHelp</span></a> Please recomend me a good book or online resource on light-weight bash scripting (batch-processing files and lists of files, remote mysql, etc.). Something less intimidating in size and depth compared to `man bash`. Thank you!</p><p><a href="https://fosstodon.org/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://fosstodon.org/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://fosstodon.org/tags/cli" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cli</span></a></p>
dewomser<p><a href="https://social.tchncs.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.tchncs.de/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a><br>Den Github Gist "togif" bearbeitet .<br>* jpg-Sammlung zu animiertem Gif machen<br>* mkv zu animiertem Gif machen<br>* animirtes Gif verkleinern<br>* KDE Plugin zum verwandeln von Videos in Gif<br><a href="https://gist.github.com/dewomser/d9bc6a6b141132a196f33c11f56be7f5" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/dewomser/d9bc6</span><span class="invisible">a6b141132a196f33c11f56be7f5</span></a></p>
Frank Hofmann<p><span class="h-card" translate="no"><a href="https://toot.cat/@skye" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>skye</span></a></span> Ich baue gern Dokumentation, die dann auch pflegbar ist und zudem schön aussieht. Erzählen und beibringen kann ich online und auch vor Ort, wie man Computer kaputtmacht und dann mit <a href="https://mastodon.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a> <a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> wieder zum Leben erweckt.</p><p>Aufträge? Gerne. Bin damit bestechlich. Einfach fragen.</p><p>So als Beispiel: Cheatsheet für Linux-Kommandos:<br><a href="https://github.com/hofmannedv/cheatsheets" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/hofmannedv/cheatshe</span><span class="invisible">ets</span></a></p><p><a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://mastodon.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a> <a href="https://mastodon.social/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/PostgreSQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PostgreSQL</span></a> <a href="https://mastodon.social/tags/LaTeX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LaTeX</span></a> <a href="https://mastodon.social/tags/Markdown" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Markdown</span></a></p>
Abimelech B. 🐧🇩🇪| wörk ™️<p><span class="h-card" translate="no"><a href="https://23.social/@leyrer" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>leyrer</span></a></span> </p><p>Spaß mit <a href="https://fulda.social/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> Scripting!</p><p>Man kann Verzeichnisse auch so mit Verzeichnistrennern anlegen - dann muss man aber beim Scripten ein bisschen mehr aufpassen als sonst 🤪 </p><p> File: 2019 - Shanti Shanti Shanti / Elevator Girl - English Ver - / Pa Pa Ya!! (Ft. F.Hero) / Starlight<br> Size: 7 Blocks: 8 IO Block: 4096 directory</p>
n1<p>In case you need to rename all files in the directory with a number (0-based) ...</p><p>P.S.<br>Doesn't override conflicts while renaming.</p><p><a href="https://fosstodon.org/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://fosstodon.org/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Aircorridor<p>I've written a short blog post about using Terminator - a Linux terminal emulator, which I think is one of the best options for moving fast in Linux.</p><p>Check it out: <a href="https://air-academy.org/terminator-the-ultimate-linux-terminal-emulator-for-power-users/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">air-academy.org/terminator-the</span><span class="invisible">-ultimate-linux-terminal-emulator-for-power-users/</span></a><br><a href="https://infosec.exchange/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://infosec.exchange/tags/infosec" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>infosec</span></a> <a href="https://infosec.exchange/tags/cybersecurity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cybersecurity</span></a> <a href="https://infosec.exchange/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://infosec.exchange/tags/terminal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>terminal</span></a></p>
dewomser<p><a href="https://social.tchncs.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.tchncs.de/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a><br>Googlesearch ist ein Script zur Suche mit Google, Suchparameter können übergeben werden, müssen aber nicht<br>Suche über http / ohne Cookies<br>-s Suche über https / Cookies<br>-h Hilfefunktion<br><a href="https://gist.github.com/dewomser/aa12dff5724d12fa1e24b94251e785fe" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/dewomser/aa12d</span><span class="invisible">ff5724d12fa1e24b94251e785fe</span></a></p>
dewomser<p><a href="https://social.tchncs.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.tchncs.de/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> <a href="https://social.tchncs.de/tags/gnuplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gnuplot</span></a> <br>Klimadiagramm für Deutsche Städte. Daten sind vom Deutschen Wetterdienst.</p><p>Mach dir selbst eins für Deine Stadt !<br>Beisiel: Hier ist die beginnende Klimakatastrophe für die Stadt Worms dargestellt. <br><a href="https://github.com/dewomser/Klimadiagramm/blob/main/klima.sh" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/dewomser/Klimadiagr</span><span class="invisible">amm/blob/main/klima.sh</span></a></p>
dewomser<p><a href="https://social.tchncs.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.tchncs.de/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> </p><p>Wenn man den Output etwas grüner haben möchte.</p><p><a href="https://social.tchncs.de/tags/Farbe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Farbe</span></a> <br>Gruen='\033[0;32m'<br>Normal='\033[0m'<br><a href="https://social.tchncs.de/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a> <br>echo -e "${Gruen}Das ist grüner Text${Normal} hier wieder normal"</p><p><a href="https://checkmk.com/de/linux-wissen/farbige-ausgabe-auf-der-konsole" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">checkmk.com/de/linux-wissen/fa</span><span class="invisible">rbige-ausgabe-auf-der-konsole</span></a></p>