mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.8K
active users

#bashscript

0 posts0 participants0 posts today

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

It is once again time to give thanks to Brian Fox, the Black American programmer that has given us BASH and echo! Thank you for your INCREDIBLE contributions to open source software, Unix, and Linux. It literally would not be the same without you. BASH is still absolutely foundational to all computing today. Happy Black History Month to an absolute icon!

#RaspberryPi owners, how do you back up your #RPi?
I don’t have an extra hard drive, so I need to back up to #GoogleDrive. I’ve installed #Rclone and tried creating a #BASH script, but I’m struggling with it.
If you’ve set up something similar or have recommendations for an efficient backup workflow, I’d love to hear them! Bonus points if you know any good courses or resources to improve my scripting skills.
#Linux #Tech #SelfHosted #SelfHosting #RaspberryPiBackup #RaspberryPi500 #RaspberryPiProjects #RPiBackup #RaspberryPiOS #RPiProjects #LinuxBackup #LinuxTips #LinuxCommunity #TechSupport #OpenSource #DataBackup #CloudBackup #GoogleDriveBackup #CloudStorage #FileBackup #Rclone #BASHScript #ShellScripting #ProgrammingHelp #CodeNewbie #LearnToCode #TechSolutions #Automation #techhacks @linux @selfhost @selfhosting @selfhosted

I just don't like to search for how to write a shebang each time lol
And it's also more convenient to just write a function inside .bashrc vs. writing a bash script and aliasing it in .bashrc (so I can run "something" instead of "bash something.sh")
But that's just my preference of course. For scheduling it might not be practical, but I don't do that stuff.
(Fun fact: I'm actually a GUI guy, only use CLI for some dev stuff lol)

#Bash#CLI#Linux

Dear Friends of wer-lobsters,
:hearthands:
Glad to be back on #Univeseodon with an old #avatar and an #empty mind. #Hope everyone is as #well as #unexpected. I have been programming in #bashscript on #Puppy #Linux, roving the fediverse and learning about:

- foods made without fish (I know it's strange but they exist)
- atheism for theists
- not drinking whines and wines of Oz (earthy)
- not swearing in other languages
- hats that reach to the ground (They are IT)
- Arti-ficial Insurrection (Reboot Power)

... and all manner of #wonder, irrelevence, trivia and #profundity (not in any order)
oh yes "Hell O Whirled" ... think that is moi all up to dates ...
#Intro #introductions