Author Archives: Roopendra - Page 5
Shell Script Questions and Answers
Please find below list of Shell Script Questions and Answers. Shell Script Questions and Answers 1. Given two integers, X and Y , find their sum, difference, product, and quotient. Constraints X >= -100 Y <= 100 and Y != 100 read X case ${X#} in ** | '') echo "Not an…
Install Elasticsearch on Centos 7
Steps to Install Elasticsearch on centos 7 Prerequisites: Install OpenJDK 8 version sudo yum install Validate the installation java -version If you are installing jdk manually from tar file then make sure if you have configure the JAVA_HOME path correctly. Install Elasticsearch Latest version using Yum. Import the Elasticsearch GPG…
Jenkins Questions and Answers
Jenkins Questions and Answers Here are the list of Jenkins Questions. What is the Jenkins ? How you will use Jenkins to automate CI/CD ?How to configure your Github or Bitbucket repository to trigger the build when any changes happen in code ?Please explain all the steps to integrate SonarQube…
Types of Jobs in Jenkins
Types of Jobs in Jenkins We can create below types of jobs in Jenkins. Freestyle Project PipelineMulticonfiguration ProjectsFolder GitHub organization Mutlibranch Pipeline
How to install Jenkins on Windows 10?
What is Jenkins? Jenkins is one of the most popular Continuous Integration (CI) and Continuous Delivery (CD) tool. Jenkins is Open Source written in Java. Jenkins can be used in automation of any task related to build, test and deployment of an application. Prerequisites to Install Jenkins Java - JRE/JDK…
Popular Use Cases of Jenkins
Jenkins is one of the most popular Continuous Integration (CI) and Continuous Delivery (CD) tool. Jenkins is an Open Source build written in Java. Jenkins can be used in automation of any task related to build, test and deployment of an application. Please find some of popular use cases in…
Why we need Jenkins?
Jenkins is one of the most popular Continuous Integration (CI) and Continuous Delivery (CD) tool. Jenkins is an Open Source build written in Java. Jenkins can be used in automation of any task related to build, test and deployment of an application. Why we need Jenkins ? Use Case 1:…
Check if array contains value in shell script
Check if array contains value in shell script Here is simple bash script to check if array contains value . We can iterate over array and check if value is exist or not but we can also check in if condition if array contains value or not. Use this solution,…
How to get process ID of background process?
I usually prefer to execute process in background so that we don't need to worry if terminal got killed due to timeout or accidently. However, what if you want to kill the process then definitely you will you PID of that process to kill it. You may be interested to…
How to turn on/off ambient mode during charging in MIUI 12/Redmi Phones
Here is step by step guide to turn on/off ambient mode from Charging screen. I personally don't like it so I have figured out the way to turn off Ambient mode from charging screen. Here is steps to turn on/off Ambient mode in MIUI 12 Settings --> Google ---> Account…






