Using Windows Command Line Tool Output in Bash under WSL

This blog post explains how you can use the output of Windows Command Prompt commands in Bash scripts under WSL. In Bash under WSL, I want to use the output of the tree command to list the contents of a WSL directory. Tree is unusual in a few ways: it is part of cmd.exe, notContinue reading “Using Windows Command Line Tool Output in Bash under WSL”

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”