How to run ls command case insensitive mode on Linux/UnixnixCraft
Sometimes you need to use the ls command on your Linux or Unix machine and match the pattern, interpreting upper- and lowercase letters as the same. In other words, I tell ls to find and list files...
View ArticleHow to add swap to AWS EC2/Lightsail Amazon Linux instancenixCraft
So like many solo developers, I am tight on resources, especially money-wise. I have two AWS EC2 VMs running as WireGuard VPN on Amazon Linux for personal usage, and another one is my dev machine with...
View ArticleUbuntu 22.04 LTS Set Up UFW Firewall in 5 MinutesnixCraft
A Ubuntu 22.04 LTS comes with UFW (uncomplicated firewall) that protects the desktop or server against unauthorized access. UFW is easy to use frontend app for a Linux packet filtering system called...
View ArticleApache 403 Forbidden Error and SolutionnixCraft Updated Tutorials/Posts
{Updated} All HTTP error codes starting with 4xx are generated because of client browser requests. A 403 error code means the client browser (or the person trying to access your site) cannot access the...
View ArticleHow to upgrade OpenSUSE 15.3 to 15.4 using the CLInixCraft
Right now, the most advanced OpenSUSE version is 15.4. It is an opportunity for desktop and server users running the previous 15.3 release to update to the latest software stack. The procedure for...
View ArticleWhy are the results of UNIX, BSD and Linux command 'df' and 'du' different...
{Updated} As a Unix sysadmin, sometimes I notice that df and du output are different from each other. So what to do when df and du report different usage? My older troubleshooting blog post from the...
View Articlepydf - Linux tool to see colourised filesystem disk space usagenixCraft...
{Updated} The pydf command displays the amount of used and available space on your file systems, just like df command, but in colors. The output format is completely customizable.The post pydf - Linux...
View ArticleHow to see Raspberry Pi OS version on Raspberry PInixCraft
Do you want to know which version of Raspberry Pi OS is running on your hardware? Here is how to find the Raspberry Pi OS version including hardware details such as CPU, RAM and model using the...
View ArticleBASH Shell: For Loop File Names With SpacesnixCraft Updated Tutorials/Posts
{Updated} In this tip, I will explain how we can iterate over a list of files with blank or white spaces in their names. This is a common problem in bash, where space is usually interpreted as a...
View ArticleHow to install dig, delv, host commands on FreeBSDnixCraft
FreeBSD default comes with a drill command to see information about DNS. The userspace tools for FreeBSD come from the latest version of the BIND-TOOLs package. It includes delv, dig, host, nslookup,...
View ArticleHow to tell ssh client to ignore ssh config filenixCraft
I have a tutorial that explains the basics of the SSH client configuration file and some of the most common configuration options for Linux and Unix developers or sysadmin. In this quick tip, I will...
View ArticleFind APT packages occupy the most space on Debian/UbuntunixCraft
Are you running out of disk space on your Debian or Ubuntu Linux? Do you want to know which installed Debian or Ubuntu packages occupy the most disk space? There are many ways to find out this info. In...
View ArticleHow to convert video to GIF in Linux using ffmpeg CLInixCraft
In this quick Linux tip, I will explain how to convert a VIDEO file such as .mp4 into a gif file using the ffmpeg -i input.mp4 output.gif command syntax under Linux and Unix-like operating systems such...
View ArticleHow to add Mastodon verification for the Discourse forumnixCraft
Here is a quick tip that explains how to add a Mastodon verification link for the Discourse forum. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - RedditThe post How to add...
View ArticleHow to install git command on Alpine LinuxnixCraft
Git is a distributed version control system. To install git, type apk addgit command on Alpine Linux.Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - RedditThe post How to install...
View ArticleHow To Set Up SSH Keys With YubiKey as two-factor authentication...
Patreon users download the PDF version.All Linux and Unix servers are managed manually or by automation tools such as Ansible using ssh. For example, say you have a server at Linode or AWS. Then you...
View ArticleHow to configure automated security updates on Debian automaticallynixCraft...
{Updated} Keeping your system up-to-date is essential from a security POV, yet many devs or sysadmins forget about it. This page explains the purpose of unattended-upgrades used on a Debian Linux 11/10...
View ArticlemacOS configuring SSH Key-based AuthenticationnixCraft
In this quick tutorial, you will configure a user to use key-based authentication for SSH under a macOS desktop. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - RedditThe post...
View ArticleHow to hide Nginx version on Linux and UnixnixCraft Updated Tutorials/Posts
{Updated} This quick guide explains how to hide or remove the Nginx version on Linux or Unix server without restarting the system.The post How to hide Nginx version on Linux and Unix appeared first on...
View ArticleLinux iotop Check What is Stressing and Increasing Load On Hard DisksnixCraft...
{Updated} The iotop is a Linux command. It is a top-like utility for disk input and output (I/O). Use this command to see I/O usage information output by the Linux kernel. It displays a table of...
View Article