Linux CommandsConvert String to Lowercase in Bash – Easier Than You ThinkBy RahulAugust 1, 2022Question: How do I convert all the characters to the lowercase of a string in the bash shell script? In…
General Articles(Resolved) Key is stored in legacy trusted.gpg KeyringBy RahulJuly 30, 2022I recently created a new Ubuntu 22.04 LTS Linux virtual machine. When I attempted to set up the PostgreSQL server…
MySQL(Resolved) Unknown collation: utf8mb4_unicode_520_ciBy RahulJuly 30, 2022A collation is a set of rules that defines how to compare and sort character strings in a database server.…
Bash ShellHow to Detect and Handle Errors in Your Bash ScriptsBy RahulJuly 30, 2022We can use the trap command to catch the error signal system by the system during script execution. Then you…
General ArticlesHow to list all collections in MongoDB databaseBy RahulJuly 30, 2022Question – How do I list all the collections available in the MongoDB database? MongoDB is a NoSQL database, that…
General ArticlesMongodb – Get the last record from collectionBy RahulJuly 30, 2022MongoDB find() method is used to select documents from a specified collection. It also set the cursor position to the…
General ArticlesRunning a Cron Every 10, 20 or 30 MinutesBy RahulJuly 29, 2022Cron is a service that runs tasks at specified intervals in Unix/Linux systems. It’s commonly used for operational tasks like…
General ArticlesRunning a Cron Every 5 MinutesBy RahulJuly 28, 2022Running a job every 5 minutes is a commonly used cron schedule. In this quick how-to article, you will learn…
General ArticlesCheck if a script is running as root user in LinuxBy RahulJuly 27, 2022Sometimes the shell scripts are required to run as the root user to perform some tasks with administrator privileges. Generally,…
General ArticlesYYYY-MM-DD Date Format In A Shell ScriptBy RahulJuly 26, 2022The use of the YYYY-MM-DD date format in shell scripting is highly beneficial for ensuring consistency, clarity, and sorting efficiency…