snippetbashTip
wsl-open — Open a file or URL from within Windows Subsystem for Linux in the user's default Windows GUI applica
Viewed 0 times
commandwsl-openfromclifileopenwithinurl
windows
Problem
How to use the
wsl-open command: Open a file or URL from within Windows Subsystem for Linux in the user's default Windows GUI application. More information: <https://gitlab.com/4U6U57/wsl-open>.Solution
wsl-open — Open a file or URL from within Windows Subsystem for Linux in the user's default Windows GUI application. More information: <https://gitlab.com/4U6U57/wsl-open>.Open the current directory in Windows Explorer:
wsl-open {{.}}Open a URL in the user's default web browser in Windows:
wsl-open {{https://example.com}}Open a specific file in the user's default application in Windows:
wsl-open {{path\to\file}}Set
wsl-open as the shell's web browser (open links with wsl-open):wsl-open -wDisplay help:
wsl-open -hCode Snippets
Open the current directory in Windows Explorer
wsl-open {{.}}Open a URL in the user's default web browser in Windows
wsl-open {{https://example.com}}Open a specific file in the user's default application in Windows
wsl-open {{path\to\file}}Set `wsl-open` as the shell's web browser (open links with `wsl-open`)
wsl-open -wDisplay help
wsl-open -hContext
tldr-pages: windows/wsl-open
Revisions (0)
No revisions yet.