Linux:- Environment Variables – Basic

Background At a basic level, environment variables allow for system customization.   Set Environment Variables Export To set an environment variable, please use the export command Syntax Sample Read Environment Variables Export One can also use the same export command to read environment variables. Syntax Sample Scenario:- Read All Environment Variables Code Output Image Scenario:- … Continue reading Linux:- Environment Variables – Basic

Linux – CentOS – Set Timezone

Background Playing around with Linux, queried the system for the current time, and noticed it is a bit off.   OS OS - Linux - CentOS Our OS is CentOS/Version 8. Command hostnamectl We can issue hostnamectl, to get the OS Name and Version. Output     timedatectl Outline timedatectl timedatectl status timedatectl list-timezones timedatectl … Continue reading Linux – CentOS – Set Timezone