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…
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…
General ArticlesUsing Boolean Variables in Shell Scripts: Syntax, Examples, and Best PracticesBy RahulJuly 25, 2022Boolean variables are an essential part of programming, as they represent true or false values and are often used to…
General Articles(Resolved) Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d insteadBy RahulJuly 23, 2022With the latest version of Ubuntu 22.04 and Debian 11, users start getting a warning message during the GPG key…
General ArticlesHow To Configure CORS in Amazon S3 BucketsBy RahulJuly 22, 2022The default CORS policy doesn’t allow S3 content to other origins, even if the repository is public or hosting a…