Using the command line calendar and date functions in Linux

have always been interested in historical dates and determining the actual day of the week an event occurred. What day of the week was the Declaration of Independence signed? What day of the week was I born? What day of the week did the 4th of July in 1876 occur? I know that you can use search engines to answer many of these questions. But did you know that the Linux command line can supply those answers, too?

6 Linux metacharacters I love to use on the command line 

Using metacharacters on the Linux command line is a great way to enhance productivity.

Early in my Linux journey, I learned how to use the command line. It’s what sets Linux apart. I could lose the graphical user interface (GUI), because it was unnecessary to rebuild the machine completely. Many Linux computers run headless, and you can accomplish all the administrative tasks on the command line. It uses many basic commands that all are familiar with—like ls, ls-l, ls-l, cd, pwd, top, and many more.

Open and the right to repair and modify

The right to repair the hardware we purchase is as basic and important as the right to see and modify the code for the open source software we use. One vendor has embraced that with a passion. System76 of Denver, Colorado, builds a complete line of repairable desktops and laptops. They’re also in the process of designing a new laptop that uses components that can be upgraded as well as repaired.

How to configure multiple websites with Apache web server

Here’s how to host two or more websites on Apache, a popular and powerful web server. With name-based virtual hosting, you can use a single IP address for multiple websites. Modern web servers, including Apache, use the hostname portion of the specified URL to determine which virtual web host responds to the page request. This requires only a little more configuration than for a single site.

SpamAssassin, MIMEDefang, and Procmail: Best Trio of 2024

This trio of applications can be combined to manage server-side email sorting in a beautiful and elegant way. They are my “Best Trio,” because resolving the problem I set out to fix—effective server-side email sorting—took three pieces of software working together. Here’s how I got everything to work using SpamAssassin, MIMEDefang, and Procmail–three common and freely available open source software packages.

Using the Alpine Linux email client to access messages from any network

Sometimes when I’m traveling, I have trouble sending email from my devices that typically connect to my ISP at home via hardwire or WiFi. This is because some ISPs do not like outbound email to leave their network unless it is routed through their own email servers. But you need to have an account with the ISP in order to send outbound email through their servers.

This intentional blocking of outbound port 25 for email is usually aimed at preventing hijacked hosts from acting as spambots and sending email over the ISP’s network.

Read about how I circumvented that problem.

Replacing rc.local in systemd Linux systems

Missing rc.local for adding commands to run on startup?

The rc.local file was—and in some cases still is—the place for Linux sysadmins to put commands that need to be run at startup. Use of the rc.local file is not only deprecated but after a couple of hours worth of attempts, was not working in any event. This despite the fact that the systemd documentation mentions the use of a “generator” that generates systemd services from an rc.local file if one exists.

Here’s how to set up similar functionality with today’s systemd.

Problem solving strategies for SysAdmins

Solving complex problems is not a straightforward proposition.

I’ve participated in plenty of technical interviews with people who had passed many certification tests and who had fine resumes. I also participated in many interviews in which we were looking for Linux skills, but very few of those applicants had certifications. Very few of the Linux applicants were yet certified.

Few of the Windows certificate owners could reason their way through the scenarios we presented while a very large percentage of the Linux applicants were able to do so.