PostgreSQL is an open-source database management system (DBMS) that is widely used for its reliability, performance, and scalability. It is also known as a third-generation DBMS because it retains data in secondary storage rather than memory, making it less prone to performance degradation and other issues associated with dynamic memory allocation. In this article, we’ll show you how to install PostgreSQL on macOS. In this blog post, you will learn how to install PostgreSQL on macOS with Homebrew by following the steps below. Once you complete the installation process, you’ll be able to create databases, tables, and other objects inside…
Author: Rahul
A number is a combination of 0-9 digits—the Bash variables stores all value in the form of strings. Even if the stored value is in string format, we can perform all the arithmetical operations if the stored value is a valid number. As a best practice, we should verify the values of variables before performing the arithmetic operations. A number can be an integer number, a floating point number, or a positive/negative number that prefixes with a “+ and -” symbol. In this tutorial, we have discussed a few methods to verify that the variable contains only digits, integers, and…
How to install VirtualBox on macOS? A step-by-step tutorial to install VirtualBox on the macOS system along with an extension pack. VirtualBox is a popular, cross-platform virtual machine manager that allows you to create virtual machines (VMs) on your Mac. VMs can be used to run different operating systems at the same time. They’re also useful for testing software in isolation, without risking your real computer. In order to install VirtualBox on macOS, you need to have a Mac with a 64-bit processor running macOS 10.11 or higher. VirtualBox runs on Windows, macOS, and Linux, and supports a wide range…
Did you know that you can run virtual machines on your Linux computer? It’s true. Thanks to virtualization software like VirtualBox, you can set up a separate environment for any operating system — even something as unusual as Windows or OS X — without risk to your primary operating system. You’ll find many uses for virtual machines, from testing software before you release it to other users to safely trying out experimental new versions of Linux. In this article, we show you how to install VirtualBox on Ubuntu 22.04 and other common versions of Linux. Prerequisites First of all, upgrade…
Odoo ERP is an enterprise resource planning (ERP) software that allows you to manage all aspects of your business, from accounting to sales. It gives you the ability to streamline your organization and increase efficiency. As a result, it can help you save time and money while increasing profits. The main advantages of using Odoo ERP include the following: It allows for a complete view of your business operations, allowing you to identify issues early on and take action quickly. It’s easy to use. You can set up an Odoo ERP account in just a few minutes by simply filling…
SendEmail is a lightweight, command-line-based SMTP (Simple Mail Transfer Protocol) email agent for sending emails from a Linux system. It is a useful tool for scripting, system monitoring, and automating various tasks that require email notifications. In this article, we will provide a comprehensive guide on how to install and use SendEmail in Linux. You can also learn about more methods about sending emails directly from the Linux terminal. 5 Methods to Send Email from Linux Terminal Prerequisites A Linux system with root or sudo access. A functioning internet connection. Access to an SMTP server or an email account (Gmail,…
Amazon SES (Simple Email Service) is a popular SMTP service provider similar to Sendgrid, Mailchimp, etc. In order to use SES, you need to signup for an Amazon Web Services account. Which is the leading Cloud-based service provider. Post signup you need to add your credit card for the billing. The default SES allows sending 2000 emails/day freely. After the default limit, you will be charged as pay-per-use. In this blog post, you will learn to send emails via Amazon SES or any other SMTP provider from a bash shell or script. Pre-Requisiteis In this tutorial, we used the SendEmail…
GitHub is the leading company for software development and version control using Git. That allows us to create public repositories as well as private ones. Both have their own benefits. The private repositories are secured with authentication, whereas the public repositories are accessible to everyone. Sometimes, we or our teams make repositories with public access that may contain sensitive data. It’s a good idea, to configure a script that notifies us of the repositories left public access. In this tutorial, I have created a shell script that checks for all public repositories under a GitHub account and sends a notification…
Comparing strings is a common task when working with shell scripts, user input, or string data. In the shell, you may need to check if a value exists in another string, find if two strings have the same length, test for the beginning or end of a word, or any other type of comparison. The standard Unix tools don’t provide many options for comparing strings; the traditional lexical comparison (like checking if two words are the same length and comparing each character individually) is hard to implement efficiently in code and isn’t as valuable for a dynamic language like Bash.…
We have configured AWS Cognito for the authentication in our web application. I have created a new user under the User Pool but its confirmation status is showing “FORCE_CHANGE_PASSWORD”. In order to change the status to CONFIRM, we have to set a permanent password. To change a Cognito user’s password, use the admin-set-password command along with the –permanent parameter to make the status CONFIRM. After creating a new user the account shows as below: Set Congnito User status to CONFIRMED The admin-set-user-password command in AWS CLI allows us to set a user’s password with the administrator’s privileges. The temporary password…