How to install ShellCheck on FreeBSD to analysis scriptsnixCraft
ShellCheck is easy to use, free, and open-source static analysis tool that automatically finds bugs in your shell scripts. If you write shell scripts for automation or containers, you need this tool....
View ArticleHow to install ShellCheck on FreeBSD – A shell script static analysis...
ShellCheck is easy to use, free, and open-source static analysis tool that automatically finds bugs in your shell scripts. If you write shell scripts for automation or containers, you need this tool....
View ArticleRed Hat introduces new no-cost RHEL optionnixCraft
As you know, Red Hat recently announced that CentOS Linux 8, as a rebuild of RHEL 8, will end in 2021. CentOS Stream continues after that date, serving as the upstream (development) branch of Red Hat...
View ArticleRed Hat introduces new no-cost RHEL optionnixCraft
As you know, Red Hat recently announced that CentOS Linux 8, as a rebuild of RHEL 8, will end in 2021. CentOS Stream continues after that date, serving as the upstream (development) branch of Red Hat...
View ArticleRaspberry Pi Pico released and available at $4 onlynixCraft
Last year, the Raspberry Foundation also released a brand new version of the Raspberry PI PC (personal computer), and it is directly built into a small-sized keyboard. Now there is more good news for...
View ArticleHow To - Linux List Disk Partitions CommandnixCraft Updated Tutorials/Posts
{Updated} How do I list all hard disk partitions under a Linux operating systems using the CLI and GUI tools?The post How To - Linux List Disk Partitions Command appeared first on nixCraft.
View ArticleHow to force awk not to print a newlinenixCraft
I have two columns (fields) in my text file. I am trying to insert '|FOO This is a description BAR Another description for bar TEXT Another description for TEXT So I ran awk '{ print $1 "|"; $1="";...
View ArticleHow to install Homebrew on macOS to use the brew package managernixCraft
Homebrew is an essential package manager for developers, sysadmins, and power users on macOS. Homebrew allows us to install the latest and updated version of popular applications, packages, and...
View ArticleHow to install Homebrew on macOS to use the brew package managernixCraft
Homebrew is an essential package manager for developers, sysadmins, and power users on macOS. Homebrew allows us to install the latest and updated version of popular applications, packages, and...
View ArticleCritical bug in sudo puts Linux and Unix systems at risknixCraft
Any logged-in unprivileged user can abuse an old bug in sudo to gain root privileges. It was rated as an important security issue for Linux and Unix-like operating systems. The Qualys research team has...
View ArticleHow to set up static IP address on Debian Linux 10/11nixCraft
I have Debian 10 Linux cloud server, and it is configured to get IP addresses via DHCP. How do I convert DHCP address to static IP address settings? The post How to set up static IP address on Debian...
View ArticleHow to install Linux VM on FreeBSD using bhyve and ZFSnixCraft
Bhyve (BSD hypervisor") is a free and opensource hypervisor for FreeBSD. We can use Bhyve to run Linux, Windows, and *BSD guest operating system as a virtual machine. Let us see how to install Linux VM...
View ArticleBash Shell: Replace a String With Another String In All Files Using sed and...
{Updated} How do I replace a string with another string in all files using sed, Bash or Perl?The post Bash Shell: Replace a String With Another String In All Files Using sed and Perl -pie Options...
View ArticleHow to check if bash variable defined in scriptnixCraft
I need to set a bash environment variable called PURGEIMAGE and take specific actions in my script. For example, if PURGEIMAGE set, then purge images from CDN else just URL. I am going to call my...
View ArticleLinux Desktop Fun: Bonsai tree generator for CLI loversnixCraft
Bonsai (盆栽) is nothing but planting in a try. It is old age Japanese art of growing small trees in pots. Now you can do that with your Linux or Unix terminal easily for fun and profit. Let us look into...
View ArticleHow To Install Python On Linux 2.x/3.x latest versionnixCraft Updated...
{Updated} How do I install python an interactive high-level object-oriented language on Linux operating system?The post How To Install Python On Linux 2.x/3.x latest version appeared first on nixCraft.
View ArticleHow to password protect directory with Nginx .htpasswd authenticationnixCraft
I need to restrict access to /app/ directory on Nginx. How do I set up password protect a directory with Nginx .htpasswd authentication on Linux or Unix-like systems?The post How to password protect...
View ArticleLinode cloud firewall: Do you need it to protect the Linux server?nixCraft
Linode is an original cloud platform and founded before AWS. Back then, we used to call them VPS (Virtual Private Server). Recently they added a new firewall feature to control network access to my...
View ArticleHow to remove carriage return in Linux or UnixnixCraft
How do I remove all the carriage returns \r (^M) from a file in Unix using the command-line options?The post How to remove carriage return in Linux or Unix appeared first on nixCraft.
View ArticleHeads up: Microsoft repo secretly installed on all Raspberry Pi’s Linux...
Raspberry Pi is a little useful computer for learning programming and building projects. It comes with Debian Linux based modified operating system called Raspbian. It is the most wildly installed OS...
View Article