Linux serverNETWORK ADMINISTRATIONS

Practice-1: Simple Bash Shell Script to validate a given python module is installed or not

Note: Mine is CentOS-9 , So, i have python3 by default, suppose if you have CentOS-7/RHEL-7 then you will have python (python2) by default. So, think about it and enhance the logic

GitHub Links:
simple way:
https://github.com/VRTechnologiesForAutomation/bash_python/blob/main/isPythonModuleInstalled.sh
Advanced way :
https://github.com/VRTechnologiesForAutomation/bash_python/blob/main/isPythonModuleInstalled.sh_v2

You Can also get my Complete Courses from Udemy
Follow the below link to get the discount on Our Udemy Courses


source

centos 7