Using sed to backslash forward slashes
I needed to extract the devices from the /etc/fstab so I could feed them into a sed replacement. Of course I needed to backslash the forward slashes in the device path before I could...
Random Linux Notes ...
I needed to extract the devices from the /etc/fstab so I could feed them into a sed replacement. Of course I needed to backslash the forward slashes in the device path before I could...
Recently ran into an issue where most of our CentOS 7 virtual machines are using EFI boot with gpt partitioned disks. Working with AWS this presented an issue as they required BIOS boot and...
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:
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: