How to see grep output in color with highlighting featurenixCraft Updated...
{Updated} The grep command is the de facto tool for searching text files. However, finding the requested text in the search results can be difficult when there are too many matches. So how do you grep...
View ArticleLinux Execute Cron Job After System RebootnixCraft Updated Tutorials/Posts
{Updated} crontab is the program used to install, deinstall, or list the tables used to drive the cron daemon in Vixie Cron. You can run a cron job after Linux or Unix system rebooted. Handy for tasks...
View ArticleHow to use htmlq to extract content from HTML files on Linux, macOS or...
Most of us use love and use the jq command. It works on Linux or Unix-like systems to extract data from JSON documents. Recently I found htmlq, which is like jq and written in Rust lang. Imagine being...
View ArticleHow To Find OpenSuse / SUSE Linux Version Using CLInixCraft Updated...
{Updated} How do I find out my Suse Linux / OpenSuse Linux / Suse Enterprise Linux server/desktop version using the command line options? What is the command to find out OpenSUSE Linux version?The post...
View ArticleA podman tutorial for beginners – part IOpensource Flare✨
{nixCraft Patreon supporters content}This guide explains how to build and deploy applications quickly with Podman to the cloud server of your choice. All examples in this tutorial are tested on Fedora...
View ArticleHow to protect Linux against rogue USB devices using USBGuardOpensource Flare✨
{nixCraft Patreon supporters content}You deployed a perfect firewall and other network security policies preventing unauthorized access to the user's desktop computer over a network. However, you still...
View ArticlemacOS Terminal: -bash: warning: setlocale: LC_CTYPE: cannot change locale...
{Updated} Learn how to fix warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory on macOS or OX terminal.The post macOS Terminal: -bash: warning: setlocale: LC_CTYPE:...
View ArticleHow to display all NAT IPTables rules on LinuxnixCraft Updated Tutorials/Posts
{Updated} How do I see all the rules in NAT tables under CentOS / RHEL / Debian / Ubuntu Linux based server?The post How to display all NAT IPTables rules on Linux appeared first on nixCraft.
View ArticleHow to migrate from CentOS 8 to CentOS stream conversionnixCraft
As you know, CentOS 8 is ending soon. Red Hat is making the shift from CentOS 8 to CentOS Stream. CentOS stream places itself between Fedora Linux and RHEL. It is not 100% RHEL clone but ahead of RHEL...
View ArticleHow much does a Linux desktop OS cost?nixCraft
Let us say you want to support Linux and buy an actual Linux desktop OS like you buy Windows desktop operating system from the market. How much would it cost price-wise, and what would you get in...
View ArticleHow to migrate from CentOS 8 to Rocky Linux (conversion)nixCraft
I already wrote about migrating from CentOS 8 to CentOS Stream. Now, I am migrating Linode VM from CentOS 8 to Rocky Linux 8. The server runs a very simple workload that includes PHP 8.1, MariaDB...
View ArticleHow to migrate from CentOS 8 to AlmaLinux (conversion)nixCraft
I already wrote about migrating from CentOS 8 to CentOS Stream. I also have a guide about migrating from CentOS 8 to Rocky Linux. Today, I am working on another side project with my partner, and I...
View ArticleHow to install and upgrade OpenSSH server on FreeBSDnixCraft
Another day I wrote about setting up ssh public key password-less authentication for FreeBSD server version 12/13 with an optional 2FA hardware USB key (FIDO 2) for additional protection. However,...
View ArticleHow to install whois on Ubuntu / Debian LinuxnixCraft
While working on the client's system, I found that the whois client was missing. So I used that in one of my deployment scripts. I should add that to cloud-init or Ansible, but the Ubuntu server was...
View ArticleHow to install YubiKey Manager GUI on LinuxnixCraft
One can use a hardware security key such as YubiKey for OTP or FIDO2 for additional security on Linux to protect disks, ssh keys, password manager, web applications and more. Since I am a full-time...
View ArticleUpdate your nixCraft RSS feednixCraft
Many of you access the nixCraft tutorial and blog post using the RSS feed. However, Google decided to kill the last part of Feedburner. Back in the old days, I and many others used FeedBurner. At some...
View ArticleHow To Convert AWS Route53 to Cloudflare Let’s Encrypt DNS challenge with...
I already wrote about setting up wildcard Let’s Encrypt SSL/TLS with AWS Route53 DNS for Nginx or Apache. One of my clients decided to use Cloudflare CDN and DNS at some point. They changed their DNS...
View ArticleHow to on enable kernel crash dump on Debian LinuxnixCraft
How do I enable kernel crash dump Debian Linux 9/10/11 using the command-line option? How can I view crash reports on Debian machine?Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp -...
View ArticleHow to trim leading and trailing white space in bashnixCraft
So I have this specific use case where I get data in a comma-separated values (CSV) file. I pick up the company name, address, telephone, email, and some other data from that file. Once data is...
View ArticleHow to find out if Raspberry PI Linux OS needs a rebootnixCraft
When you use the apt command to update the Raspberry Pi OS, no notification indicates whether you need to reboot the Raspberry Pi 3 or 4 for Linux kernel updates. So say you have a lab of 4 RPi4 and...
View Article