Archives for DevOPS
Reverse a String in Python
Reverse a String in Python One of the most common Python interview questions is reversing a string. Python makes this elegant with slicing. The Pythonic Way def reverse_string(s): return s # Example print(reverse_string("hello")) # Output: "olleh" How It Works The slicing syntax s means: start from the end, go to…
Top 10 DevOps Interview Questions
Top 10 DevOps Interview Questions I have listed down top 10 DevOps interview questions on few topics like, Git, Maven, Jenkins, Docker, Kubernetes, Ansible. What is the need for DevOps? What is meant by Continuous Integration? What is the difference between Continuous Delivery vs Continuous Deployment? How is devOps different…
HDFS Cheat Sheet
List of commands which I use day to day basis to perform my task in HDFS. Checkout below hdfs cheat sheet for reference. In below list I have covered Copy, Move, Check file/directory size, Change ownership of file/group, delete the files and directories etc. HDFS Cheat Sheet hdfs dfs -ls…
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…
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 check certificate validity in Linux?
This article help you to check certificate expiry date from Linux command line using openssl utility. Check SSL certificate expiration date Syntax: openssl x509 -enddate -noout -in <certificate name> openssl x509 -enddate -noout -in openssl x509 -enddate -noout -in
[Warning] IPv4 forwarding is disabled. Networking will not work
IPv4 forwarding is disabled WARNING I was facing this issue while creating a Docker image in Centos 7. Error: ---> IPv4 forwarding is disabled. Networking will not work. Solution: Add in / Restart network service $ systemctl restart network.




