Author: Peter Whyte
-
Git Clone “Could not resolve hostname github.com” in WSL
git clone fails in WSL with "Could not resolve hostname github.com: Temporary failure in name resolution". WSL has lost DNS. The quick resolv.conf fix, and the wsl.conf change that makes it stick.
-
How to Install and Configure the AWS CLI on Ubuntu
This guide will walk you through the steps to install and configure AWS CLI version 1 on Ubuntu (20.04).
-
How to Install and Configure AWS CLI on Windows
This post is a how-to for installing & configuring AWS CLI (Version 2) on Windows.
-
How to Install Ubuntu 20.04 on WSL
This guide shows how to install Ubuntu 20.04 on WSL (Windows Subsystem for Linux). Before installing a WSL Linux distribution you should have already enabled…
-
How to Uninstall a Linux Distro in WSL (wsl --unregister)
Run wsl -l -v to get the distro name, then wsl –unregister . It deletes the distro and all its files for good, so back up first. How to check it is gone and reinstall.
-
How to Show Event Logs in PowerShell (Get-WinEvent)
Run Get-WinEvent -LogName System -MaxEvents 20 to show recent events. Filter with -FilterHashtable for errors, event IDs and date ranges, read remote machines, and why Get-EventLog is legacy.
-
Open Current Folder in PowerShell
When working in a PowerShell terminal session, you might want to open Windows Explorer to view the current directory.
-
Redshift JDBC Driver Download
Need to download the Redshift JDBC client driver? Here’s how you can do it quickly:> From the AWS Redshift Console: Navigate to the Configure tab and download the JDBC driver.> Download From AWS Docs: Download the JDBC driver directly from the AWS Documentation. I’m sharing this quick guide because it’s something I often do. In […]
-
PowerShell Guide: Creating Folders and Files
This guide walks you through the steps to create new files and folders using PowerShell. Additionally, at the end I'll show how to add text to files directly…