Using awk to add mount options in /etc/fstab
Here is a simple example of using awk to add mount options to /etc/fstab entries. In this example we are adding the ‘nofail’ option to all entries starting with UUID that don’t already have...
Random Linux Notes ...
Here is a simple example of using awk to add mount options to /etc/fstab entries. In this example we are adding the ‘nofail’ option to all entries starting with UUID that don’t already have...
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: