Bash Configuration Gist
Bash Configuration
I updated my bash configuration gist today. As it has been a while since I have done as much and there have been some significant changes in my configuration model since the last update.
This gist is for the intermediate user and not so much a beginners guide. I do not go into a lot of explanations about CLI basics. It is likely to not make any sense at all to someone that is not versed in the basic concepts of the CLI using bash as a shell.
Bash Configuration Gist
Unus Nemo
#.bashrc #.bash profile #bash configuration #Gnu/Linux #Linux #bash
plan-A likes this.
Pinned Posts, Playlists and Profile Links.
Coming soon to joinloops.org โจ
Unus Nemo likes this.
reshared this
the last time I checked there wasn't a way to see the instance content without logging in but now I'm able to do it. This makes Loops much more appealing to new users, thanks!
Also I have a suggestion. Are there any plans to add a default grouping to the videos shown? For example, in mastodon/peertube/lemmy there are 3 main predefined categories.
- Home (content of followed accounts if logged in),
- Local (content of the actual instance).
- Federated (content of the actual instance and all the federated instances).
Me: Nothing.
Friend: I can do that in no time.
Me (jealous): It takes me all day.
Unus Nemo likes this.
reshared this
I just spent the last two hours debugging the Bluetooth stack *in anger* because for the last few weeks I've had to re-pair my mouse with my laptop. Every time. Remove mouse, re-pair.
Turns out I had two identical mice in my backpack and I've been switching between them.
It was me.
Unus Nemo likes this.
reshared this
I so feel you. I had something similar once with a port-forward to an external service. Every time I logged in and touched anything I got logged out.
First I started to try and click very fast. Then I started to look at the networking. Then, after hours it clicked and I realized I was logged in to another instance of this service and my browser got confused with the cookies and the stored tokens in them.
Hi Ren
Ren - Hi Ren (Official Music Video)
Help support me by joining my Patreon: https://www.patreon.com/renmakesmusicSubscribe Now! - https://bit.ly/RenYTSub- - -Ren - Hi Ren (Official Music Video)H...YouTube
bobonthenet likes this.
Eliminate The Obvious First
Hours Of Wasted Time
Okay, built a new system last night and thought I would try out ComfyUI on it. It is a dated build, I cannot afford modern hardware at the moment. So I wanted to see if it would work with this old NVIDIA GeForce GTX 1050 Ti with only 4GiB of Vram. Yeah, I know, it is going to be slowwwwww! Well the install was giving me grief and I ended up recompiling the Nvidia Driver half a dozen times a few different ways. Turns out that after all my tinkering it had nothing to do with the drivers ๐. It was a bad DP cable ๐
Unus Nemo
Upgrades and Updates ...
Server Upgrade
I have not set a precise time though I have decided to upgrade the server used for the Rouge Project Friendica Instance. It will be month or so as I have to get things in order. My VPS provider is having a sale that is very reasonable on a significant upgrade. The only caveat is that I have to pay 3 years in advance to get the deep discounts. So I will be juggling some expenses around to make it happen. Hopefully sooner rather than later
Unus Nemo
#Instance Update #Maintenance #Upgrade
bobonthenet likes this.
bobonthenet wrote:
I eat potatoes a lot since they are one of my favorite foods.
I have never been a potato person, always preferring rice dishes. Though after swelling up to around 270 lbs (122.47 kg) I refactored my knowledge on nutritional needs ๐. I eat a Keto/ Carnivore like diet eating only none starchy vegetables that are low in carbs. I have lost weight over the last 4 months and now weigh in at around 210 lbs (95.2544 kg). My new nutrition plan is a lifetime commitment so even though I will include more carbs once I have reached a more healthy weight, I will never consume carbs at the rate I used to prior to my new lifestyle. I just find it unhealthy. I use the way I feel as my greatest metric.
There are many factors to ones fitness plan. Each plan must be individualized as there is not a one size fits all solution. The solution you maintain in your life must be sustainable. So we have to choose something that we can live with ๐.
bobonthenet likes this.
bobonthenet wrote:
I'll keep sharing the things I make.
Awesome! another foodie on the instance ๐. I think I was the only one sharing food posts before. I particularly like posts with lots of details and recipes ๐.
bobonthenet wrote:
I'm not formally trained in cooking, but it has become my greatest passion in recent years.
I cooked in kitchens while attending the Uni for my Masters in Computer Science. I eventually went to the Culinary Institute of America in Boston. I was a chef for a while but disdain professional cooking now. Though cooking at home will always be a passion of mine.
bobonthenet likes this.
If you were going to learn just one genus of ants, you'd want to do Camponotus, which includes the familiar carpenter ants of the northern hemisphere, but many others too.
Abundant on every continent, diverse, and ecologically important.
#Ants #Insects #Photography #Camponotus
alexanderwild.com/Ants/Taxonomโฆ
Camponotus - Alex Wild
is abundant and diverse nearly everywhere in the world. This ubiquitous formicine genus contains our familiar carpenter ants, as well as some tropical weaver ants and desert honeypot ants.www.alexanderwild.com
If you were feeling perky and wanted to learn a second genus, the obvious choice is Crematogaster, the acrobat ants. They're also found worldwide and are instantly identifiable for their unique, heart-shaped butts.
alexanderwild.com/Ants/Taxonomโฆ
Crematogaster - Alex Wild
is an abundant, ecologically diverse myrmicine genus found worldwide. These ants- sometimes called "Acrobat Ants"- are easily recognized by their unusual heart-shaped gasters.www.alexanderwild.com
I once mistook a female Dasymutilla occidentalis for an ant ๐. Fortunately I did not have to find out the hard way that it was not one.
Alex Wild likes this.
Mathjax Test
Just enclose your equations in $$...$$ pairs like e.g.
$$f_c(x)=ax+b$$Renders as:
$$f_c(x)=ax+b$$
like this
Unus Nemo reshared this.
Lol, I actually switched to GNU/Linux when Windows was just a MS/DOS application. Windows 3.11 had just released when I began using tutorials on usenet to build my own GNU/Linux installation. X Server was another story. It took literally weeks to download all the code successfully and For a very small while I used a bare bones X Server with no DE or WM. Boot magazine (now Wired) distributed a stripped down copy of Debian on their complimentary CD on one Issue and I finally got to try out Gnome and KDE which were both in their infancy. At first KDE had my attention, then as both matured, as I pretend I did as well, I learned to love the elegancy of simplicity and now I favor Gnome.
Have a great day!
I-told-you-sos are considered to be preening, so how do you make people remember what you said and see the proof so they change their minds without doing it? This was all predictable, and predicted....
blaisehartley.com/2025/10/01/wโฆ
When you build a dictatorship, you get a dictatorship โ Blaise's Blatherings
Weโve been on a death march toward the complete disintegration of every principle that ostensibly animates our democratic republic for decades. Both sides have helped keep us on the path.blaisehartley.com
like this
Unus Nemo reshared this.
And they believe this is a weakness, when it is actually sciences greatest strength. In order to learn one has to accept what parts we do not have right.
Acta Populi likes this.
Losing Weight
Why You Are Not Losing Weight
Weight maintenance is a big deal to your overall fitness. Some times we need to lose weight, some times gain. Here is a video on the topic of losing it.
youtu.be/KcxBtVth2bc?si=BHkBQEโฆ
Why Youโre NOT Losing Weight! Dr. Ken Berryโs Mistakes & Solutions for Carnivore, Keto Ketovore Diet
Carnivore Meal Plans and Guides Here ๐ https://sbg-s-meat-up.mn.co/plans/316276?bundle_token=802104567f230cf6ff692fdb11cc7d45&utm_source=manual (Access ove...YouTube
Nutrition
Two of my favorite Influencers, who by the way are both actual medical professionals.
youtu.be/nKnZc5B-plw?si=Es_ivyโฆ
#nutrition #modern nutrition
@Aaron
Guaranteed Fat Loss Eating These 4 'Bad Foods' - Dr. Ken Berry
Dr. Ken Berry and Lillie Kane discuss how to lose weight and prevent heart disease in 2025. Avoid these 3 things and eat these 4 foods daily to lose fat.BonC...YouTube
plan-A wrote:
But a Steak gets me filled as hell.
That is the idea, you should be full (satiated!). If you are hungry all the time you are going to overeat. Carbs leave you hungry and you end up eating more, even though you have already consumed way more calories than you need. Meat and fat satiate you and you do not feel like eating more. So it is not a struggle to not over eat.
We officially live in a dictatorship. This illegal, unconstitutional bullshit will let them use anything you've *ever* said that could be construed as being a negative statement on Christianity, our government, or capitalism is now their tool to watchlist you and use it to punitively exclude you from air/train/bus travel, banking, credit, government benefits, education, etc...
lawfaremedia.org/article/the-sโฆ
The Situation: The Nonsense and the Menace
Reading the presidentโs new orders on political violence and terrorism.Default
Nutrition
A refreshing look at nutrition.
youtu.be/b8nlbYuoq7o?si=NU2tgiโฆ
Belly Fat MELTS When You Do This One Thing
This Simple Plate Rule MELTS Belly Fat Every Time! How to create the perfect diet tailored for YOU and your fat loss, muscle building, low inflammation goals...YouTube
why would you go through all that? If you are concerned about someone knowing what your user name is for some reason then just rewrite the motd like this:
#!/usr/bin/env bash
figlet "Hello" | lolcat -b
fortune -a | cowsay -f dragon | lolcat -bI am not exactly concerned about people knowing what my user name is. There is no way they can use that in any scenario to effect me. I literally use the same name here.
In any case dropping the $(whoami | perl -e 'print ucfirst(<>);') (as this is the code that retrieves and displays your username with the first letter capitalized) out of the first figlet line will prevent the script from displaying your username.
The original motd I shared with you:
#!/usr/bin/env bash
figlet "Hello $(whoami | perl -e 'print ucfirst(<>);')" | lolcat -b
fortune -a | cowsay -f dragon | lolcat -b![The results of fastfetch ran on this build: nemo@fafnir, OS: Fedora Linux 43, (Workstation Edition) x86_64, Kernel: Linux 6.17.8-300.fc43.x86_64, Uptime: 13, hours, 19 mins, Packages: 7985 (rpm), Shell: bash 5.3.3, Display (Sceptre Tech Inc 27"): 1920x1080 @ 60 Hz in 27" [External], Display (Sceptre F27): 1920x1080 @ 60 Hz in 27" [External] *, DE: GNOME 49.1, WM: Mutter (Wayland), WM Theme: Adwaita, Theme: Adwaita [GTK2/3/4], Icons: Adwaita [GTK2/3/4], Font: Adwaita Sans (11pt) [GTK2/3/4], Cursor: Adwaita (24px), Terminal: Ptyxis 49.2, Terminal Font: Adwaita Mono (11pt), CPU: Intel(R) Core(TM) i7-3770 (8) @ 3.90 GHz, GPU: NVIDIA GeForce GTX 1050 Ti [Discrete], Memory: 2.84 GiB / 15.56 GiB (18%), Swap: 61.31 MiB / 8.00 GiB (1%), Disk (/): 473.23 GiB / 928.93 GiB (51%) - btrfs, Disk (/mnt/Archive): 28.44 GiB / 931.51 GiB (3%) - btrfs, Local IP (wlp0s20u1): 10.103.58.234/24, Locale: en_US.UTF-8 The results of fastfetch ran on this build: nemo@fafnir, OS: Fedora Linux 43, (Workstation Edition) x86_64, Kernel: Linux 6.17.8-300.fc43.x86_64, Uptime: 13, hours, 19 mins, Packages: 7985 (rpm), Shell: bash 5.3.3, Display (Sceptre Tech Inc 27"): 1920x1080 @ 60 Hz in 27" [External], Display (Sceptre F27): 1920x1080 @ 60 Hz in 27" [External] *, DE: GNOME 49.1, WM: Mutter (Wayland), WM Theme: Adwaita, Theme: Adwaita [GTK2/3/4], Icons: Adwaita [GTK2/3/4], Font: Adwaita Sans (11pt) [GTK2/3/4], Cursor: Adwaita (24px), Terminal: Ptyxis 49.2, Terminal Font: Adwaita Mono (11pt), CPU: Intel(R) Core(TM) i7-3770 (8) @ 3.90 GHz, GPU: NVIDIA GeForce GTX 1050 Ti [Discrete], Memory: 2.84 GiB / 15.56 GiB (18%), Swap: 61.31 MiB / 8.00 GiB (1%), Disk (/): 473.23 GiB / 928.93 GiB (51%) - btrfs, Disk (/mnt/Archive): 28.44 GiB / 931.51 GiB (3%) - btrfs, Local IP (wlp0s20u1): 10.103.58.234/24, Locale: en_US.UTF-8](https://friendica.rogueproject.org/photo/1668486439692312ba67fc1730971411-0.png)



plan-A
in reply to Unus Nemo • — (Proud Eskimo!) •@Unus Nemo I lack the rc or else it's hidden from 1st view.
really helpful for managing configs across systems this setup.
edit: Because I use zsh I guess while this is for pure Bash env
(.zshrc, .zprofile)
I can reset it using which, but there seem to be no need for that after some research, nevertheless your Gist explains well how you can improve bash in a cleaver way.