mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 23:02:21 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/windows/wsl-open
Normal file
29
tldr/windows/wsl-open
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 oile}}`
|
||||
|
||||
- Set `wsl-open` as the shell's web browser (open links with `wsl-open`):
|
||||
|
||||
`wsl-open -w`
|
||||
|
||||
- Display help:
|
||||
|
||||
`wsl-open -h`
|
||||
Reference in New Issue
Block a user