home.social

#bashscript — Public Fediverse posts

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

  1. [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

  2. "🎉 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

  3. 🤓 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

  4. 🚀 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

  5. I got my #DDev new project bash script to create a default #Backdrop project. I think I did it alright, but I also KNOW this could be done more efficiently.

    I just don't know how yet.

    #BashScript

  6. 100 days of code BASH edition

    💻 Day 4 created my own system variable, made persistent within the .bashrc file.

    [export hoy="$((date +"%H") | awk '{if ($1 < 12) print "morning"; else if ($1 >= 12 && 1 < 17) print "afternoon"; else if ($1 >= 17 && $1 < 20) print "evening"; else print "night";}')"] (OpenAI GPT-3 script with few corrections) Displays the time of day in morning/afternoon/evening/and night format!

    #BASH #Linux #Kali #WSLg #100DasyOfCode #BashScript #Calendar #Time #bashrc

  7. 100 days of code BASH edition! :linux:

    Day 3, expanding on the previous script adding more statements to display more system variables dealing with time formats and calendars.

    #BASH #Linux #Kali #WSLg #100DasyOfCode #BashScript #Calendar #Time #TimeZones

  8. 100 days of code - BASH edition!

    Day 2, using what I got from Open AI GTP-3, I expanded the script and made a few other statements to display additional system variables.

    #BASH #Linux #Kali #WSLg #100DasyOfCode #OpenAi #GTP3 #BashScript

  9. Bash scripting right? Can't live with it, can't live without it!

    One of the things I never paid attention to was learning bash scripting. Maybe, it is because I work mostly in the Windows environment. Linux is not a required skill where I work but does come in handy when trying out things. Most of my Linux work has been done through a GUI and rarely use the command line for anything.

    #Bash #BashScript #Linux #Ubuntu #Kali #Windows #WSLg #WSL

  10. Morning project a success!!!
    Using an old webcam plugged into my , wrote a script to have grab a frame every minute and upload it to a server. Nice and easy!

  11. "I love you #bash"

    "You love me because you can #loop through #multiDimensional arrays of data easily, right".

    *empty stares*

    "I can do 2D #arrays, right?

    *stares continue*

    "Ouch this #python bit me, call an ambulance"

    "I would but its not clear which telephone numbers correspond with a hospital."

    #funny #programmingHumor #skit #bashScript