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

How to Install TSHARK in Unattended Mode via Script

After extensive searching the InterWebs and finding a lack of documentation on how to install TShark in a silent/unattended mode, I came across a related StackExchange post by Franck Dernoncourt that got me on the right track.  Here is what I came up with for Debian: DEBIAN_FRONTEND=noninteractive apt-get -y install tshark Background… Continue reading