Unix / Linux: Bash Number Currency Formatting Thousands Grouping Separator

In a bash shell, you can format numbers with a currency-style thousands grouping separator by using the printf command with the %’ format specifier. For example, to format a number with a comma as the thousands grouping separator, you can use the following syntax: printf “%’d\n” <number> Replace <number> with the number you want to … Read more

CentOS / RHEL 6: Install Suhosin PHP Advanced Protection System

To install the Suhosin PHP advanced protection system on CentOS 6 or RHEL 6, follow these steps: Download the Suhosin extension: wget https://download.suhosin.org/suhosin-0.9.38.tar.gz Extract the downloaded archive: tar xvzf suhosin-0.9.38.tar.gz Change to the extracted directory: cd suhosin-0.9.38 Compile and install the Suhosin extension: phpize ./configure make make install Edit the php.ini file and add the … Read more

Awk Find And Replace Fields Values

In awk, you can find and replace values in specific fields using the sub() function. The sub() function has the following syntax: sub(regex, replacement, target) regex is a regular expression that defines the pattern to search for in the target. replacement is the string that will replace the pattern in the target. target is the … Read more

OpenBSD – How to install sets after installation

To install sets on OpenBSD after the initial installation, you can use the syspatch utility. The syspatch utility can be used to apply patches to the operating system and install sets. To install sets using syspatch, follow these steps: Download the latest sets: ftp https://cdn.openbsd.org/pub/OpenBSD/<version>/<architecture>/ Replace <version> with the version of OpenBSD you are using … Read more

Linux / Unix: Rsync Copy Files & Directories Names With WhiteSpaces and Blanks

To copy files and directories with names that contain whitespaces and blanks using rsync, you need to wrap the file or directory name in quotes. This can be done in one of the following ways: Single quotes: rsync -av ‘<directory_with_whitespaces>/’ <destination_directory> Double quotes: rsync -av “<directory_with_whitespaces>/” <destination_directory> Backslash escape: rsync -av <directory_with_whitespaces>/ <destination_directory> The -a … Read more

OpenBSD: Configure Ralink USB IEEE 802.11a/g/n Wireless Network Adapter

To configure a Ralink USB IEEE 802.11a/g/n wireless network adapter on OpenBSD, follow these steps: Install the necessary firmware: doas pkg_add firmware-ralink Load the necessary kernel modules: doas modload if_urtw Connect to a wireless network: doas ifconfig urtw0 up doas dhclient urtw0 Verify the connection: doas ifconfig urtw0 To make the wireless connection persist across … Read more

Ubuntu / Debian Linux: Setup An ISC DHCP Server For Your Network

To set up an ISC DHCP server on Ubuntu/Debian Linux, follow these steps: Install the ISC DHCP server package: sudo apt-get update sudo apt-get install isc-dhcp-server Configure the DHCP server: sudo nano /etc/dhcp/dhcpd.conf Add the following configuration options to the file: subnet <subnet_network> netmask <subnet_mask> { range <start_ip> <end_ip>; option routers <router_ip>; option broadcast-address <broadcast_ip>; … Read more

7 Best Free And Paid Food Delivery Software

7 Best Free And Paid Food Delivery Software   Software used to provide on-demand delivery for restaurant customers. – List available menu options for purchase online. – Receive orders and process payments. – Manage drivers, deliveries and collections. – Use online service to expand customer base.   1. Swiggy – https://www.swiggy.com/ 2. Zomato – https://food.zomato.com/ … Read more

7 Best Free And Paid Restaurant Reservation Software

7 Best Free And Paid Restaurant Reservation Software   Software used to book restaurant seating using app, web, or POS interfaces. – Check availability, select seating, and share updates. – Manage waiting lists, table layouts, and capacity. – Gather customer feedback and guest preferences.   1. Eat App – https://restaurant.eatapp.co/ 2. Resy OS – https://resy.com/resyos/ … Read more

7 Best Free And Paid Veterinary Software

7 Best Free And Paid Veterinary Software     Software used to manage veterinary practices, animal pharmaceuticals, and medical records. – Schedule appointments and process payments. – Store, access, and update electronic health records (EHRs). – Track medical inventory, staff schedules, and quality of care. – Analyze veterinary metrics and streamline diagnostics and treatment.   … Read more