How to list and set the timezone on CentOS linux
You can list timezones on the system with the following command: Once you identify the desired timezone … you can set the system timezone with the following command: Example:
Random Linux Notes ...
You can list timezones on the system with the following command: Once you identify the desired timezone … you can set the system timezone with the following command: Example:
Some handy commands to grab NIC MAC addresses from SuperMicro ILOs. In our case each host had 2 onboard NICs and I used the following to pull the MAC of both: Output will will...
You can get the current epoch time from the date command with this simple format specifier: You can get the epoch time for a particular date using the following command:
Took a bit of testing to figure this one out. These tasks will add the ‘discard’ and ‘noatime’ options to ext4 and xfs file systems in the /etc/fstab for VMware virtual linux machines. Will...