home.social

#bashscript — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #bashscript, aggregated by home.social.

fetched live
  1. 🚀 A heroic coder solves world hunger by writing a bash enumerator because apparently xargs was just too mainstream. 🌟 Meanwhile, readers are treated to a riveting adventure of 'Redirecting Redirecting'—a tale so thrilling it should have its own movie! 🎬💤
    numerlab.org/2025/07/20/bashum #heroiccoder #worldhunger #bashscript #thrillingadventure #redirectingmovie #HackerNews #ngated

  2. 🚀 A heroic coder solves world hunger by writing a bash enumerator because apparently xargs was just too mainstream. 🌟 Meanwhile, readers are treated to a riveting adventure of 'Redirecting Redirecting'—a tale so thrilling it should have its own movie! 🎬💤
    numerlab.org/2025/07/20/bashum #heroiccoder #worldhunger #bashscript #thrillingadventure #redirectingmovie #HackerNews #ngated

  3. @HaraldKi @radiotux

    Du musst ja CTRL-r eingeben und dann das Suchwort.

    Erstelle doch ein #Bashscript.
    Damit kannst du doch nach beliebige Schalter Einstellungen suchen lassen.

    Auch case-insensitiv

    Die Befehle stehen doch in der .bash_history

    So gibst du direkt zb:

    ba dasSuchwort

    ein.

    Du könntest auch CTRL-r direkt anpassen. Aber ich fürchte, mit jedem Update von neuem

    Das #BashScript funktioniert noch in 30 Jahren und wenn gewünscht sogar System weit

  4. @HaraldKi @radiotux

    Du musst ja CTRL-r eingeben und dann das Suchwort.

    Erstelle doch ein #Bashscript.
    Damit kannst du doch nach beliebige Schalter Einstellungen suchen lassen.

    Auch case-insensitiv

    Die Befehle stehen doch in der .bash_history

    So gibst du direkt zb:

    ba dasSuchwort

    ein.

    Du könntest auch CTRL-r direkt anpassen. Aber ich fürchte, mit jedem Update von neuem

    Das #BashScript funktioniert noch in 30 Jahren und wenn gewünscht sogar System weit

  5. 🚀 Introducing Bash4LLM+: the latest in unnecessary wrappers! 🎉 Now you can enjoy the #inefficiency of calling an API with a tool that prides itself on being lightweight even though it adds an extra layer you don't need. Because who doesn't love reinventing the wheel with a bash script? 😂🔧
    github.com/kamaludu/bash4llm/ #Bash4LLM #BashScript #APIWrapper #TechHumor #HackerNews #ngated

  6. 🚀 Introducing Bash4LLM+: the latest in unnecessary wrappers! 🎉 Now you can enjoy the #inefficiency of calling an API with a tool that prides itself on being lightweight even though it adds an extra layer you don't need. Because who doesn't love reinventing the wheel with a bash script? 😂🔧
    github.com/kamaludu/bash4llm/ #Bash4LLM #BashScript #APIWrapper #TechHumor #HackerNews #ngated

  7. 🚀 Oh joy, yet another bash script promising to revolutionize #blogging by replacing complex #CMS with the elegance of a command line. Because who needs fancy features when you can suffer through #markdown in a terminal? 🤦‍♂️ Just download, run, and wonder why you ever thought this was a good idea. 😅
    github.com/cfenollosa/bashblog #bashscript #commandline #humor #HackerNews #ngated

  8. 🚀 Oh joy, yet another bash script promising to revolutionize #blogging by replacing complex #CMS with the elegance of a command line. Because who needs fancy features when you can suffer through #markdown in a terminal? 🤦‍♂️ Just download, run, and wonder why you ever thought this was a good idea. 😅
    github.com/cfenollosa/bashblog #bashscript #commandline #humor #HackerNews #ngated

  9. Like, if I had the same issue a year ago, I would have spent an hour or two to look up all the commands I felt like I needed to use and built a Bash script in an hour or so, like the time I made one that extracts EXIF data from photos and renames them to the time for a specific time zone to match the timeline of pictures taken by different members of my family.

    But now I just let the robot do it just in time for me to go to bed.

  10. Like, if I had the same issue a year ago, I would have spent an hour or two to look up all the commands I felt like I needed to use and built a Bash script in an hour or so, like the time I made one that extracts EXIF data from photos and renames them to the time for a specific time zone to match the timeline of pictures taken by different members of my family.

    But now I just let the robot do it just in time for me to go to bed.

    #fml #ai #vibeCoding #bashScript

  11. [Edit: Solved!] I [had] a bizarre-ass #Bash #scripting problem. I'm at my wits' end.

    I have a script that scans a directory and picks a random file from it. This script works just fine if I invoke it manually, from the command line in a terminal window.

    But if I run it from the Linux Mint/Cinnamon menu (start menu, whatever), it hangs when it tries to list the files in the dir. Likewise when run from crontab (which is how I really want to run it most of the time). 🧵 1/4

    #LinuxHelp #BashScript

  12. [Edit: Solved!] I [had] a bizarre-ass #Bash #scripting problem. I'm at my wits' end.

    I have a script that scans a directory and picks a random file from it. This script works just fine if I invoke it manually, from the command line in a terminal window.

    But if I run it from the Linux Mint/Cinnamon menu (start menu, whatever), it hangs when it tries to list the files in the dir. Likewise when run from crontab (which is how I really want to run it most of the time). 🧵 1/4

    #LinuxHelp #BashScript

  13. One Open-source Project Daily

    shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.

    https://github.com/kward/shunit2

    #1ospd #opensource #bash #bashscript

  14. One Open-source Project Daily

    shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.

    https://github.com/kward/shunit2

    #1ospd #opensource #bash #bashscript

  15. "🎉 Bash script saves the day by replacing beads with markdown—because who needs simplicity when you can have #chaos in a terminal? 💥 Welcome to the future of task tracking: a glorious mess of command line confusion and dependency graphs that no one asked for. 🚀"
    github.com/wedow/ticket #BashScript #TaskTracking #CommandLine #Markdown #HackerNews #ngated

  16. "🎉 Bash script saves the day by replacing beads with markdown—because who needs simplicity when you can have #chaos in a terminal? 💥 Welcome to the future of task tracking: a glorious mess of command line confusion and dependency graphs that no one asked for. 🚀"
    github.com/wedow/ticket #BashScript #TaskTracking #CommandLine #Markdown #HackerNews #ngated

  17. Learn how to display Animated Christmas Tree in Terminal (2026). Merry Christmas and a Happy New Year 2026 to all.

    Full Blog Post Here: ostechnix.com/display-animated

    #Christmas #Newyear2026 #Bashscript #Linux

  18. Learn how to display Animated Christmas Tree in Terminal (2026). Merry Christmas and a Happy New Year 2026 to all.

    Full Blog Post Here: ostechnix.com/display-animated

    #Christmas #Newyear2026 #Bashscript #Linux

  19. Learn how workflow automation has evolved from simple Bash scripts to advanced AI-driven systems, boosting productivity and transforming operations.

    More details here: ostechnix.com/from-bash-script

    #AI #Automation #Bashscript

  20. Learn how workflow automation has evolved from simple Bash scripts to advanced AI-driven systems, boosting productivity and transforming operations.

    More details here: ostechnix.com/from-bash-script

    #AI #Automation #Bashscript

  21. Do you browse the web using Firefox on Linux? Maybe on a computer with limited RAM (like the one I've been using with only 4GB, which I will soon finally increase)?

    I wrote a little #BashScript that I call "weblast", which--each time it's run--kills Firefox web processes that hog at least 1% of RAM. It has been a great, simple tool for increasing performance by relieving pressure on my computer's virtual memory swapping system.

    Try it and see if it brings you relief, and maybe even some joy...

    #!/bin/bash
    # weblast - kill Firefox browser tab processes that use at least 1% of RAM
    # by John R. Carlsen; last updated 2025-08-13
    p=1
    plast=0
    while [ 1 ]; do
    p=`ps -A -eo pid,pcpu,pmem,stat,comm --sort -pcpu | grep "Web " |grep "[1-9]\." | head -c 7`
    if [ "$p" == "" ]; then break
    fi
    if [ $p -eq 0 ]; then break
    fi
    if [ $p -eq $plast ]; then continue
    fi
    pct=`ps -q $p -A -o pmem=`
    echo "killing process $p with $pct% RAM"
    kill $p
    plast=$p
    done

  22. Do you browse the web using Firefox on Linux? Maybe on a computer with limited RAM (like the one I've been using with only 4GB, which I will soon finally increase)?

    I wrote a little #BashScript that I call "weblast", which--each time it's run--kills Firefox web processes that hog at least 1% of RAM. It has been a great, simple tool for increasing performance by relieving pressure on my computer's virtual memory swapping system.

    Try it and see if it brings you relief, and maybe even some joy...

    #!/bin/bash
    # weblast - kill Firefox browser tab processes that use at least 1% of RAM
    # by John R. Carlsen; last updated 2025-08-13
    p=1
    plast=0
    while [ 1 ]; do
    p=`ps -A -eo pid,pcpu,pmem,stat,comm --sort -pcpu | grep "Web " |grep "[1-9]\." | head -c 7`
    if [ "$p" == "" ]; then break
    fi
    if [ $p -eq 0 ]; then break
    fi
    if [ $p -eq $plast ]; then continue
    fi
    pct=`ps -q $p -A -o pmem=`
    echo "killing process $p with $pct% RAM"
    kill $p
    plast=$p
    done

  23. 🤓 Ah yes, the timeless quest of a techie—deciphering which Large Language Model will best handle their existential "Write a bash script" crisis. 🚀 Because clearly, curing #latency is more important than AI's ability to solve complex math problems. 🙄
    darkcoding.net/software/person #techie #troubles #LargeLanguageModel #bashscript #AIissues #HackerNews #ngated

  24. 🤓 Ah yes, the timeless quest of a techie—deciphering which Large Language Model will best handle their existential "Write a bash script" crisis. 🚀 Because clearly, curing #latency is more important than AI's ability to solve complex math problems. 🙄
    darkcoding.net/software/person #techie #troubles #LargeLanguageModel #bashscript #AIissues #HackerNews #ngated

  25. In today's thrilling installment of "Techies Solve Non-Issues," someone decided that what the world really needed was a bash script to block commands 🤔. Because clearly, the most pressing #cybersecurity concern is stopping ourselves from using our own keyboards 😆.
    github.com/alex-moon/ban #TechHumor #BashScript #KeyboardWarriors #ProblemSolving #HackerNews #ngated

  26. In today's thrilling installment of "Techies Solve Non-Issues," someone decided that what the world really needed was a bash script to block commands 🤔. Because clearly, the most pressing #cybersecurity concern is stopping ourselves from using our own keyboards 😆.
    github.com/alex-moon/ban #TechHumor #BashScript #KeyboardWarriors #ProblemSolving #HackerNews #ngated

  27. 🚀 Behold: a "revolutionary" Bash script heroically squeezing an SDK into 250 lines. Because, clearly, who needs robust languages when you can wrangle server logic with the elegance of a raccoon in a trash can? 🎩✨
    github.com/muthuishere/mcp-ser #BashScript #SDKs #CodingHumor #DevLife #TechInnovation #HackerNews #ngated

  28. 🚀 Behold: a "revolutionary" Bash script heroically squeezing an SDK into 250 lines. Because, clearly, who needs robust languages when you can wrangle server logic with the elegance of a raccoon in a trash can? 🎩✨
    github.com/muthuishere/mcp-ser #BashScript #SDKs #CodingHumor #DevLife #TechInnovation #HackerNews #ngated

  29. Timelapsing using only screenshots was getting heavy in term of #storage space, so have added a new #script to compress the #timelapse using a magical technology called '#video'.

    so here you can find the commit!
    Gonna work on adapting the multi-screen one soon ^^

    oh, also rearranged the #ffmpeg config file!

    github.com/FraYoshi/fura-utils
    #bash #bashscript #linux #foss #floss #furaUtils

  30. Timelapsing using only screenshots was getting heavy in term of #storage space, so have added a new #script to compress the #timelapse using a magical technology called '#video'.

    so here you can find the commit!
    Gonna work on adapting the multi-screen one soon ^^

    oh, also rearranged the #ffmpeg config file!

    github.com/FraYoshi/fura-utils
    #bash #bashscript #linux #foss #floss #furaUtils

  31. In less than 18 hours, including a solid 12 hours (at least) of downtime, I have gone from concept to 90% functional prototype of a creative rPi project, thanks to aus.social allowing quick and easy downloads, jq, an obscure CUPS driver project, and an intimate knowledge of scripting.

    Feeling very accomplished.

    #BashScript #raspberrypi #hacking #json #scripting #art #linux

  32. In less than 18 hours, including a solid 12 hours (at least) of downtime, I have gone from concept to 90% functional prototype of a creative rPi project, thanks to aus.social allowing quick and easy downloads, jq, an obscure CUPS driver project, and an intimate knowledge of scripting.

    Feeling very accomplished.

    #BashScript #raspberrypi #hacking #json #scripting #art #linux

  33. I think I just ran into a great example of how different tasks can require different energy levels that don't necessarily match their "difficulty".

    I recently got a "new to me" laptop and at first set it up with Fedora Workstation but quickly realized I much prefer Fedora Silverblue (not the point of this post, so I won't get into why here) and needed to re setup everything. I didn't want to click through a ton of apps in GNOME Software and install them all individually then organize them in the overview.

    So instead of doing all that manually I wrote a bash script from scratch to:

    - remove any rpm packages I didn't want
    - remove any flatpaks I didn't want
    - reinstall fedora flatpaks from flathub
    - remove the fedora flatpaks repo
    - layer the few rpm packages I wanted
    - install all the flatpak apps I wanted.
    - create custom folders in the overview
    - sort all the apps in those custom folders
    - pin my most used apps to the dock

    This felt like it required way less energy for me. Not because it was easier or faster. In fact I'm really rusty at bash scripting and I didn't even know how to organize the overview from the terminal, so I even had to learn something new and it probably took me way longer. But writing a little script was more fun for me and therefore didn't feel draining or overwhelming like the tedious task of clicking around for a couple hours would have.

    #Linux #Fedora #Silverblue #BashScript #ADHD