Grepping & RegEx Patterns for Log Filtering in Linux

RegEx, or Regular Expressions, are critical in being able to parse through logs at the CLI.  Here are a few examples for different scenarios: Line starts with.... The ^ denotes the beginning of a line.  Many logs begin with a timestamp, so if you want to filter lines for a specific date, this works. grep … Continue reading Grepping & RegEx Patterns for Log Filtering in Linux

Basic Linux Discovery (mostly Ubuntu)

My background is in the Windows ecosystem.  But occasionally (and increasingly) I am needing to do things here are there with Linux.  So, I've started to make some efforts to develop practical knowledge beyond just occasionally just dabbling. Let's say we've a a server dropped in our lap and need to assess what it does … Continue reading Basic Linux Discovery (mostly Ubuntu)

Installing Postfix as an Outgoing Mail Relay

Mail relays are common to networks to facilitate alerting, etc.  In Windows environments, IIS SMTP relay is often used, but Postfix could be used as well. We'll walk through how to configure an outgoing Postfix as an outbound mail relay on Ubuntu 16.04. Enter the domain from which your messages will come.  Technically, this doesn't … Continue reading Installing Postfix as an Outgoing Mail Relay

Using WinSCP to move Linux File Shares to Windows

I recently had a project that involved moving files off a Turnkey Linux NAS to a Windows Server- about a TB or so. My first approach was to connect to the Linux NAS shares from the Windows Server via Windows Explorer. Then, I planned to map the drives and use robocopy to copy and periodically mirror … Continue reading Using WinSCP to move Linux File Shares to Windows