How to find which Linux version we are using?

Let’s say, you want to find find Linux version you are using/running then you can use the following command. After executing the above command you will see the output something like this: Now, we can see the which version of … Read More

How to check MongoDb database size?

Sometimes we may need to check MongoDb database size and it is a handful to know. In this post, we will learn to check MongoDb database size. Answer: 5. We can see the database name zvls and the storageSize which … Read More

How to export MongoDB data into CSV file?

We may need to export MongoDB data into CSV from local server or remote server. Hence, in this post we can learn how to do it. Export MongoDB data into CSV from local server with given fields with header name: … Read More

String Interpolation In Jenkins

Jenkins Pipeline uses rules identical to Groovy for string interpolation. Groovy’s String interpolation support can be confusing to many newcomers to the language. While Groovy supports declaring a string with either single quotes, or double quotes, for example: Only the … Read More

Print Git Branch Name in Jenkins Pipeline

If you’re setting up a Jenkins pipeline, you may need to know how to print the Git branch name. Being able to see the branch name can be very useful in a Jenkins pipeline as it allows you to do … Read More

Clean Up Your Jenkins Home Directory

Developers and DevOps professionals frequently use Jenkins as a tool for automating tasks. However, like any software, it is essential to maintain it well for smooth operation. Unfortunately, people often overlook the maintenance of the Jenkins home directory, which can … Read More

Easily Delete Last N Commits In Git

Are you looking for a way to delete the last N number of commits from your Git repository? If yes then you’ve come to the right place! In this blog post, I’ll show you how you can easily delete last … Read More

Remove Last Commit From Remote Git Repository

Sometimes, after committing changes to a Git repository, we may realize that we made a mistake or want to undo the commit. In this blog post, we will learn to remove the last commit from the git remote repository branch … Read More