Wicked simple issue – took a line from /etc/crontab and put in to the root’s crontab (crontab -u root -e) and it was no longer running. Getting this error:
/bin/sh: root: command not found
Simple fix – needed to remove the ‘root’ from the line that I’d moved from one file to the other, as the root’s crontab did not need the ‘root’ user mentioned.
A good blog post with some cron/crontab basics: http://rhosted.blogspot.com/2010/04/crontab-error-binsh-root-command-not.html
Here are a few of the things I found useful last week:
- Forgotten Linux Commands – useful for things like repeating commands, column-izing output, etc.
- 5 Commands to Check Memory Usage on Linux – more than just the usual top, includes free w/ switches, etc.
- Commandline Challenge – This is pretty cool! A good test of your bash chops. I got stuck waaay too early.
- Alassian University – if you have been getting inundated with Atlassian ads on WUBR, or actually use Jira and Confluence, this is their corporate training site. I have taken a little of the official Jira training and so far feel it needs refinement.
- Xen4 QuickStart – for a project I’m starting this week modeling an older CentOS environment at work. CentOS host running Xen w/ guests. Seeing how to migrate them easily over to VMWare. No need to migrate the hosts, so this should be (hopefully) an easy task for VSphere Standalone Converter. Still, want to create a test environment first before attempting this with the real thing.
- A new Linux From Scratch has been released. I can’t wait to have the time to try out this fun-looking project.
- EZPrompt – a BASH prompt generator. Useful if you are too lazy to look this up yourself.
- Linux Sucks – for the last time. This YouTube video series has been wicked fun to watch.
- Playing with rsync deltas – this person’s tips have been very helpful on another modeling project I am working on.
Note: Most of these links from the cron.weekly newsletter. This is an excellent source of weekly Linux / Open Source News and is worth the time to read weekly.
- Last one – a good quick read on Gizmodo about Amazon’s outage a couple weeks ago. Specifically, their AWS service. If you have a VPS on this service, you are probably painfully aware of this outage.
In their post, titled: “370 Free Online Programming & Computer Science Courses You Can Start This Month”, freecodecamp.com outlines more free coding / programming resources that can be wicked useful:
This list includes some really useful, small tools. Most are pretty well known (column, xargs), others are not and very useful (watch, script): https://likegeeks.com/linux-command-line-tricks/
20+ Free Books To Learn Linux For Free
Another great site for learning Linux – this one in more tutorial form:
I will get all of this in to a page at some point – just gathering and evaluating links.
I’m so very glad to have found this fix before I went and spent either $ on a new keyboard (and time to replace it), $500 on a used Macbook Air, or the almost $2,000 on a new Macbook Pro. My Macbook Air (2012) had been acting up the past couple weeks – the keys on the right-side of the keyboard started to not work. The <ENTER> key was probably my biggest problem, but the ‘o’ and ‘p’ and comma stopped working as well. I assumed this was a hardware issue because if I banged on the key really hard, it would work!
So before I went out and spent $$, I googled this some and people were talking about a possible loose keyboard wire, etc. Then I stumbled upon this information over on iFixit. Resetting the SMC is not something I thought of for this issue as it was, to me, so clearly a hardware problem.
I tried it anyway, just (while Macbook is powered on) hitting the CTRL-OPT-SHIFT-POWER then powering the machine back on. This worked immediately! So relieved to have one less thing to worry about buying this month.
Over the past year, I have become more and more entangled in the Linux world, becoming a Linux System Administrator as my primary job duty. Though I have had plenty of Linux experience and exposure, and attend (when I get time) meetings of the Boston Linux Users’ Group (blu.org), I generally approach Linux from a Server angle and only play with it as a desktop, while maintaining a Mac or Windows PC for my primary ‘working’ OS. This has changed a bit over time and I find myself using Fedora 25 on both my Thinkpad T460s (a post for a different time) and now on my office Dell Precision 3620. Going to see how long I can keep it up in this windows-centric office. Desktops and laptops here have been primarily Windows, but we do run some CentOS 6.x and 5.x desktops on the ‘important computers’ side. Side-note – the Precision 3620 runs CentOS7 and all the apps listed above just fine as well.
Articles and posts such as this one, where people are switching from Mac to Linux OS, are encouraging and the more people use this ecosystem, the more things will be developed for the desktop OS. It was nice, also, to have someone as famous as Cory Doctrow talk about his switch over to a Linux OS back in January 2016.
This one, courtesy of FreeCodeCamp, includes 10 podcasts directed toward coders. Worth checking out.
We had an issue here recently where only an older version of OpenConnect would work for a CentOS 6.8 machine. Installation went fine, but the user was getting yum update messages for this package. In order to exclude, just make an entry in to your /etc/yum.conf directory. Instructions can be found right on Redhat’s website: https://access.redhat.com/solutions/10185
Stolen from Medium.Com’s daily newsletter. Some stuff re: big data. Other than some high-level concepts, I really do not know enough about the subject (big data) and would like to learn more. Maybe one of these will help this year.