Last night was a bit of an impromptu lesson, and as it wasn't as planned, we touched on a handful of topics in a more stream-of-consciousness manner. Expounding more on the power of grep (where we left off the night before), that led us to regex and the disparate parts which encapsulate (g/re/p), which pointed us directly to a very high overview of sed all of which was followed up with a handful of practical applications and quizzes, which she either got correct, or anticipated the case-use scenarios on her own and asked if it could be used in the very way with which I was going to try and sneak in a trick question. Its humbling having such a smart wife. In fact, after each of my little mini-lessons, she went about things in such a different manner than I usually do, I was having a difficult time keeping up with HER. She seems to have taken the proverbial ball (thanks,
![[profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Last night she installed CentOS in preparation for an Introduction to Red Hat course :O
Somebody else is going to have to teach her subnetting though. That's what I failed on my HP/UX 11i Certification test (the fact that subnetting was fully three-goddamn-quarters of the cert test to this day remain beyond my comprehension, like WITAF?)
◾ Tags:
Today we started with a lesson in the three remaining major linux distros and their derivatives:
- RHEL
- Centos
- Fedora
- Debian
- Ubuntu
- Mint
- SLES
- openSUSE
And how they differed in their package managers (RPM & DPKG) and their online package repositories (yum, apt, and zypper). From there we updated her packages, rebooted (because there was a kernel update, which allowed us to talk about the kernel, and more on the shell), and she installed her first program, neofetch which gave us the opportunity to discuss, architecture, uptime, uname, (kernel) and /etc/*release*.
After that we started simply with more, head, tail as a follow-on to the cat command, which led us to pipe (|) and grep then went right into absolute versus relative paths, and surprisingly enough, file ownership and permissions, which she picked up way faster than I expected. I'm just pleasantly surprised at how quickly she's figuring out and running with the little information I give her :)
◾ Tags:
Folding At Home (F@H), the distributed computing platform currently seeking a COVID-19 vaccine by studying the protein models of the SARS CoV-2 virus is currently faster than the top 25 supercomputers in the world combined, at an estimated 1.5-exaflop, or 1,000,000,000,000,000,000 operations per second.*
Feeling rather helpless during this pandemic, I knew immediately with the obscene amount of processing power I wield in the house, that I could put it to good use after a FB friend posted a link to F@H with his results showing how we could all help the scientific community.
At my peak, I hit 108 processors running simultaneously, and the result was rather satisfying.
I have since scaled back the two largest servers in my lab as I required pressing them into another configuration when I finally got all the parts to complete my Storage Attached Network (SAN), but am still running them full-time across a handful of physical and virtual machines for the last 20-days.
Primary Win10 desktop (8 CPU)
VirtualBox VM on my primary linux desktop (2 CPU)
VirtualBox VM on my R610 server (4 CPU)
Win10 ESXi VM (8 CPU)
Linux ESXi VM (8 CPU)
MacMini desktop (4 CPU)
Win10 laptop (8 CPU)

108 processors chewing on COVID-19 simultaneously
◾ Tags:
I want to assist you guys in skepticism, because there appears to be a grave semantic misunderstanding. If you don't believe in the existence of say, landmines despite evidence to the contrary, a proper skeptic will; take all necessary precautions, travel to a suspected site, establish a perimeter, and begin testing using an established scientific method. There is an entirely different word for a person who haphazardly runs out into the middle of that minefield yelling, "I HAZ NOT 'SPLODED!"
◾ Tags:
ME (a unix admin): "We need some unix-y music,"
HER: (with the quizzical look): "What is unix-y music?"
ME (obvs): PSY GOA TRANCE.
HER: ...
psy goa trance starts playing
HER (a connoisseur): "Oh, like Hackers!"
We closed the console and I had her log into the box remotely, via secure shell. Or at least, I tried. The username on the new openSUSE box did not match her username in the Mac Mini terminal, so it was then and there I decided we'd just jump right in. Awkwardly, I didn't realize at the time how overwhelming just changing a username would be for a novice.
This necessitated discussion and practical application on the following concepts as we stepped through each field of a password file:
Where usernames are kept on a unix system
How to ascertain where user passwords are located
What is a GID?
What/Where are user groups?
What goes in a comment field?
Home directories
Brief history of the shell and where to define it
Followed up with:
SysAdmin 101 - always copy a file you're going to edit prior to editing it
Why are we changing all these goddamn files for a single username?
Fuck mv, where is the unix rename command?
What is cat and how to use it after you've just edited a file you previously backed up.
And well before I was ready to even introduce it, but by sudden necessity, an introduction to vi. On the plus side, the gamer in her was able to quickly associate the vi navigation keys h, j, k, l with the w, a, s, d character movement keys in video games, something I'd not even ever considered.
She reminded me at the hour-mark that most classes gives breaks after 60-minutes of lecture and labs. Thankfully, we'd just completed our task.
◾ Tags:
It was one of those pandemic things which began approximately 30-days into the self-quarantine, when the rush of the creative stimuli began to wane. A full month of challenging (given the adverse environment) content creation in place of the endless video games and mindless television shows which plagued our pre-isolation. But even that was ebbing and growing trite given the duration. That's when I announced, "I'm thinking about teaching you unix."
My wife is awfully smart and occasionally curious at my feverish typing and code-like speech to coworkers over conference calls during break-fix activities, so it seemed the perfect distraction. What I had forgotten was how much teaching something taxes the part of your brain one would normally take for granted when the questions are never raised - like why are the filesystems named what they are named? "etcetera" and "optional" and "variable" - easy to understand when you've been doing it for 20-years, slightly more difficult to articulate it from the ground up; filesystem hierarchy and layout; interdependency and functionality.
This led us into a brief history of Berkeley, and AT&T, enumerating examples of both, culminating into today's popular linux distros. From there I had her research them and choose one for installation as our learning testbed. Using NoMachine (incomprehensibly faster and more stable than VNC), I was able to log-in remotely to view her desktop while she worked, which allowed input without being oppressively over the shoulder (and to take over the screen quickly when words failed to accurately describe the location of a minor tab or radio-box) as she worked. Painstakingly, we went through each step of a virtual machine guest creation (up to and including disk cylinders, why swap is always the first partition, why /var is never mounted in the root partition, and why she'll likely never have to worry about any of those things today)! This resulted in her installing her first distro, a headless openSUSE server!
◾ Tags:
Its amazing what can transpire when we're not trying to force people into boxes we believe they should fit in because their values and priorities (let alone personality types) may differ from our own. I mean, as far as this goes without saying,what works for us may not work for someone else.
I know we understand this easily at an intellectual level, but its usually in the practical we get frustrated — and for numerous, mostly selfish, reasons. Then again, there are a LOT of people out there who don't realize their behavior screams, "selfish" as their words attempt a sleight of hand for the purpose of obfuscation.
Coupled with the fact most of us maintain, to various degrees of success, a public persona which can vary wildly as compared to our private selves (the greater the variance the heavier the burden — fooling oneself is exhausting work), who we become in self-isolation can be taxing. When the mask of self-deception slips — and it will, given the lack of a social reset-button — what remains is likely very close to who we really are.
I hope you like what you find :)
◾ Tags: