Bash Script Tests for OS and Run as Root
In my last post, I discussed using sed, the stream editor to make configuration file changes via a bash script. There are two important factors to keep in mind: Many configuration file can only be modified as root, and The location of configuration files will vary depending on the Linux… Continue reading