When you are using a Windows Subsystem for Linux Bash shell in Windows Terminal, you can use the techniques described in this blog post to open a new tab to the current directory. In Windows Terminal, you can use keyboard shortcuts such as Ctrl+Shift+1 to open new tabs using the various installed and configured shells.Continue reading “Windows Terminal Bash Shell: Open New Tab in Same Directory”
Author Archives: John West
Use Bash Shell History to Combine Paths from cd Commands
This blog post explains how you can use Bash shell command history to combine sequences of cd commands that take you to a deep path. 4.Dec.2024: This is probably a better solution: I often use multiple cd commands to navigate to a directory. cd /mnt/c/temp/slncd HeadlessArchitectcd HeadlessArchitect.Website If I want to go back one cd,Continue reading “Use Bash Shell History to Combine Paths from cd Commands”
Rust for Windows (Subsystem for Linux)
This blog post explains how to install and use the Rust programming language under Windows and Windows Subsystem for Linux (WSL). Take your first steps with Rust – Learn | Microsoft Docs Microsoft Previews ‘Rust for Windows’ – Slashdot Rust for Windows, and the *windows* crate | Microsoft Docs You can get the Windows RustContinue reading “Rust for Windows (Subsystem for Linux)”
Windows Subsystem for Linux: Use Functions to Operate Outlook
You can invoke Microsoft Outlook with command line switches to perform specific operations such as to compose an email and attach a file. In Windows Subsystem for Linux, you can define a variable to store the location of the outlook executable and aliases or functions to call it. Functions seem to make it easier forContinue reading “Windows Subsystem for Linux: Use Functions to Operate Outlook”
WSL: Run SysInternals Utilities without Installing Them
This short blog post explains how you can use SysInternals Live to run its utilities from Windows and Windows Subsystem for Linux shells without explicitly downloading or installing them. In a Windows shell , you can invoke SysInternals Live utilities such as: \\live.sysinternals.com\tools\handle You can use cmd.exe /c to invoke SysInternals Live utilities from aContinue reading “WSL: Run SysInternals Utilities without Installing Them”
Windows 10 Keyboard Shortcuts to Capture Screen Video
This short blog post explains how you can use keyboard shortcuts and the Games Bar of Windows 10 to capture video of your screen in Windows 10 without any additional software. You can press Windows+Alt+R to start or stop Recording video of your screen. While recording, you can press Windows+Alt+M to enable or disable yourContinue reading “Windows 10 Keyboard Shortcuts to Capture Screen Video”
WSL: Execute a Command in a New Window and Close When Complete
This blog post describes a technique that you can use to open a new window to run a Windows Subsystem for Linux (WSL) command and close that window automatically afterwards. You can use a similar technique for Windows command lines. If you do not already have a WSL shell window open, you can open aContinue reading “WSL: Execute a Command in a New Window and Close When Complete”
Clean Up Bash History at Shell Startup
This blog post describes a simple technique that you can use to clean your Bash shell command history every time that you start a Bash shell. I use this with Windows Subsystem for Linux (WSL). 4.Dec.2024: Updated code and complete history management here: To simplify repeating complex commands between sessions, the Bash shell records theContinue reading “Clean Up Bash History at Shell Startup”
A Whole New Class of “Office” Keyboard Shortcuts
I accidentally discovered a new type of keyboard shortcut that you can use in Microsoft Office. I have not noticed any, but apparently, some new keyboards come with an “Office” key. Luckily, the Office key is equivalent to the handy (pun intended) Ctrl+Alt+Shift+Win, which I think we can call mash. I am not sure ifContinue reading “A Whole New Class of “Office” Keyboard Shortcuts”
Opening Windows Files from Command, Power, and WSL Shells
This blog post explains how you can open Windows files from the command line by specifying only the name of the file. You can open the file by name from a Windows command shell or PowerShell or you can invoke cmd.exe to open the file from a Windows Subsystem for Linux (WSL) shell. In aContinue reading “Opening Windows Files from Command, Power, and WSL Shells”