WSL Bash CD Enhancement to Track Directories Across Sessions

This blog post introduces the jd function that enhances the cd (change directory) command for Bash shells under WSL to make it easier to access past working directories without the need to remember or type their paths, as well as to allow typing and pasting Windows paths. You can use the jd function just asContinue reading “WSL Bash CD Enhancement to Track Directories Across Sessions”

WSL/Bash/Linux Cheat Sheet

ChatGPT wrote a cheat sheet of commands available in Bash under WSL (Linux). You should be able to generate cheat sheets about anything, but if there is much content, you need to break the process into phases. Step 1: Create Lists of Commands Step 2: Create Markdown Tables Step 3: Merge and Sort Step 4:Continue reading “WSL/Bash/Linux Cheat Sheet”

Use OneDrive (or otherwise) to Share WSL Bash Shell Command History Between Accounts and Machines

This blog post explains how you can use OneDrive to share Bash shell history between different accounts and machines. Sharing OneDrive including bin and my personal Bash configuration to multiple Windows machines with WSL has been highly valuable for me. For example, I use a shared file on OneDrive to configure Bash for all accountsContinue reading “Use OneDrive (or otherwise) to Share WSL Bash Shell Command History Between Accounts and Machines”

Manually Invoking Web Services with Very Short-Lived Tokens

This blog post explains one way that you can use the curl command to invoke Webservice APIs where those services depend on very short-lived tokens that you must retrieve from another service. I must pass an Authentication token to services: To get the token, I have to pass a username and password to a differentContinue reading “Manually Invoking Web Services with Very Short-Lived Tokens”