How to Configure GitHub in local system Author 20:30 0 git config --global user.name "Your name" git config --global user.email "youremail@gmail.com" to check your configura... Read More
Jenkins Error coming like this below Author 10:27 0 java.lang.NoSuchMethodError: No such DSL method 'ansiblePlaybook' found among steps [archive, bat, build, catchError, checkout, de... Read More
Python Basic Programming Author 22:06 0 Python Hello World Program # Python code for "Hello World" # nothing else to type...see how simple is the syntax. print("Hell... Read More
Restarting the apache2 service by using the bash scripting Author 03:45 0 Below Bash script will restart the apache2 service #!/bin/bash RESTART="sudo service apache2 restart" PGREP="/usr/bin/pgrep... Read More
Fibonacci Series Program in Shell script Author 23:18 0 #!/bin/bash echo "Enter the number" read n a=0;b=1 echo $a echo $b #c=$(($a+$b)) while [ `expr $a + $b` -le $n ] o... Read More
How to Install sar(System Activity Report) in Linux Ubuntu Author 20:26 0 sudo apt update sudo apt install sysstat -y sudo apt start sysstat sudo apt ensble sysstat And then change the sysstat config file and c... Read More
Write a Bash script to print count of numbers, count of vowels and count of consonants in a given text Author 06:13 0 Below Bash script will give the output count of Numbers, Vowels, and Consonants #!/bin/sh echo -n "Enter a line of text: " read s... Read More
Ansible Playbook for installing the sample HTTPD server in Linux server Author 21:41 0 --- - hosts: websrvr become: true tasks: - name: Installing the HTTPD Server yum: name: httpd ... Read More