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. Let us see how to install and use ShellCheck on the FreeBSD development Unix server. [continue reading…]
How do I install, set up and configure a FreeBSD 12 jail with VNET on ZFS? How can I create FreeBSD 12 VNET jail with /etc/jail.conf to run OpenVPN, Apache, Wireguard and other Internet-facing services securely on my BSD box? [continue reading…]
FreeBSD is an open-source and free Unix-like operating system descended from the Berkeley Software Distribution (BSD). This quick tutorial explains how to download and prepare the USB stick/pen drive to install FreeBSD 12.2 to install FreeBSD using the target computer’s USB port. [continue reading…]
I use the reboot command to reboot our PostgreSQL server running on RHEL 7. We have a development server running on CentOS 7 too. However, sometimes I noticed database corruption or file issues. Is there is a safe reboot command that will do a graceful reboot for our CentOS or RHEL 7 server without causing any issues? What is the best way to appropriately restart CentOS/RHEL over ssh? [continue reading…]
I have an Intel Corporation Wireless/WiFi 8265 / 8275 (rev 78) card. How do I configure this card? I always get an error, “iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-36.ucode“. How do I load iwlwifi-8265-36 firmware and enable this driver card on Debian Linux version 10/11 and assign an IP address using DHCP? [continue reading…]
I need to define a bash variable called failed and set the value to False. When my script is called from a cron job, specific tasks might fail, and then I need to flip failed to True. Based upon $failed, I need to send an email alert that my cron job has failed. So how can I declare and use Boolean variables in a shell script running on a Linux server? [continue reading…]