How to compress the whole directory using xz and tarnixCraft
The xz command on Linux, macOS, *BSD, and Unix-like systems offer excellent compression. It will outperform zip and other formats when we use xz with tar for maximum reduction in size. For instance, I...
View ArticleHow can I check my CPU in FreeBSD?nixCraft Updated Tutorials/Posts
{Updated} How do I get more information about CPU under FreeBSD operating systems such as CPU Speed and model using the command-line options?The post How can I check my CPU in FreeBSD? appeared first...
View ArticleHow to install PHP 7.2/7.3/7.4 or 8.0 on Amazon Linux 2nixCraft
While working with an application, I needed PHP 7.4 and 8.0 on Amazon Linux 2 EC2 and Lightsail instance. Here is how to install PHP version 7.2/7.3/7.4 or 8.0 on Amazon Linux 2 using the yum...
View ArticleHow to install KVM server on Debian 9/10 Headless ServernixCraft Updated...
{Updated} Kernel-based Virtual Machine (KVM) is a virtualization module for the Linux kernel that turns it into a hypervisor. How can I install KVM with bridged networking, setup guest operating system...
View ArticleHow to install KVM server on Debian 9/10 Headless ServernixCraft Updated...
{Updated} Kernel-based Virtual Machine (KVM) is a virtualization module for the Linux kernel that turns it into a hypervisor. How can I install KVM with bridged networking, setup guest operating system...
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 ArticleLinux check the physical health of a USB stick [ Flash drive ]nixCraft...
{Updated} This page explains how to check the health status of a USB stick in Linux and obtain status so that you know if it is beyond repair or not.The post Linux check the physical health of a USB...
View ArticleWget Command in Linux with ExamplesnixCraft Updated Tutorials/Posts
{Updated} This page explains how to use the wget command with valuable examples and comprehensive explanations of the most common options to become a pro-CLI user.The post Wget Command in Linux with...
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 ArticleBash For Loop Array: Iterate Through Array ValuesnixCraft Updated...
{Updated} How do I use bash for loop to iterate thought array values under UNIX / Linux operating systems? How can I loop through an array of strings in Bash?The post Bash For Loop Array: Iterate...
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 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 ArticleBash Shell: Find Out If a Variable Is Set or NotnixCraft Updated Tutorials/Posts
{Updated} How do I show an error when a shell variable such as $1 is not set and exit with an error?The post Bash Shell: Find Out If a Variable Is Set or Not appeared first on nixCraft.
View ArticleBash Shell: Find Out If a Variable Is Set or NotnixCraft Updated Tutorials/Posts
{Updated} How do I show an error when a shell variable such as $1 is not set and exit with an error?The post Bash Shell: Find Out If a Variable Is Set or Not appeared first on nixCraft.
View ArticleHow to tell and force Composer to use a specific PHP version such as 7.x or...
I have multiple versions of PHP installed on my development VM. I am migrating all my projects from PHP 7.x to 8.x and testing it. However, this leads to specific problems. For example, my production...
View ArticleUnix / Linux: Maximum Character Length of Arguments In a Shell...
{Updated} How do I find out the maximum length of arguments for a new process under Linux or Unix like operating systems?The post Unix / Linux: Maximum Character Length of Arguments In a Shell Command...
View ArticleHow to configure static IP Address on FreeBSDnixCraft
This page explains setting up a static IP address on the FreeBSD Unix system using the command-line options.Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - RedditThe post How to...
View ArticleHow To Reverse a String In Unix / Linux Shell?nixCraft Updated Tutorials/Posts
{Updated} How do I reverse lines of a file or files under Linux or Unix like operating systems?The post How To Reverse a String In Unix / Linux Shell? appeared first on nixCraft.
View ArticleHow to install memcached on OpenSUSE / SUSE LinuxnixCraft
While working with the client's system, I noticed that the database would come under load due to increased demand. After reviewing the code, the developer and I conclude that something like memcached...
View ArticleHow to install memcached on OpenSUSE / SUSE LinuxnixCraft
While working with the client's system, I noticed that the database would come under load due to increased demand. After reviewing the code, the developer and I conclude that something like memcached...
View Article