Just a few things I’ve been keeping up with lately:
- A good article re: commenting on your code: https://www.cs.utah.edu/~germain/PPS/Topics/commenting.html
- A great blog I have been following for a while: https://kottke.org/about/
- Book – The Linux Command Line: https://play.google.com/books/reader?printsec=frontcover&output=reader&id=6h9dCAAAAEAJ&pg=GBS.PA3
- The Hitchiker’s Guide to Python: http://docs.python-guide.org/en/latest/
- Linus’s TED talk: https://www.ted.com/talks/linus_torvalds_the_mind_behind_linux?utm_campaign=social&utm_medium=referral&utm_source=facebook.com&utm_content=talk&utm_term=technology
- Setting up Sublime 3 for Full-Stack development: https://realpython.com/blog/python/setting-up-sublime-text-3-for-full-stack-python-development/
- 600 Free Online Courses: https://qz.com/1120344/200-universities-just-launched-600-free-online-courses-heres-the-full-list/
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.
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/
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.
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
This is a quick one but very useful. I have a two-drive system (Dell Precision 3620 – nice!) in my office. It dual-boots CentOS7 and Windows 10. CentOS7 is on a 500gb m.2 SSD and Win10 is on a 1TB spinny-drive. Sometimes while in CentOS, I need to access a file I left on the Windows system. The solution to this one, found here, is very simple. Just install the ntfs-3g package. Simple as this:
sudo -y yum install ntfs-3g
This was a great resource when I was setting up a local server here at the office and troubleshooting why the root@e-mail came from the wrong originating domain. Very concise tutorial.