mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
xdg-open: add page (#5516)
This commit is contained in:
parent
1f6ee60fb3
commit
4402fb0e6d
2 changed files with 48 additions and 0 deletions
24
pages.es/linux/xdg-open.md
Normal file
24
pages.es/linux/xdg-open.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# xdg-open
|
||||
|
||||
> Abre un archivo o URL en la aplicación predeterminada del usuario.
|
||||
> Más información: <https://man.archlinux.org/man/xdg-open.1>.
|
||||
|
||||
- Abre el directorio actual en el explorador de archivos predeterminado:
|
||||
|
||||
`xdg-open .`
|
||||
|
||||
- Abre una URL en el navegador predeterminado:
|
||||
|
||||
`xdg-open {{https://www.ejemplo.es}}`
|
||||
|
||||
- Abre una image en el visor de imágenes predeterminado:
|
||||
|
||||
`xdg-open {{ruta/al/imagen}}`
|
||||
|
||||
- Abre un PDF en el visor de PDF predeterminado:
|
||||
|
||||
`xdg-open {{ruta/al/pdf}}`
|
||||
|
||||
- Muestra la ayuda:
|
||||
|
||||
`xdg-open --help`
|
24
pages/linux/xdg-open.md
Normal file
24
pages/linux/xdg-open.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# xdg-open
|
||||
|
||||
> Opens a file or URL in the user's preferred application.
|
||||
> More information: <https://man.archlinux.org/man/xdg-open.1>.
|
||||
|
||||
- Open the current directory in the default file explorer:
|
||||
|
||||
`xdg-open .`
|
||||
|
||||
- Open an URL in the default browser:
|
||||
|
||||
`xdg-open {{https://example.com}}`
|
||||
|
||||
- Open an image in the default image viewer:
|
||||
|
||||
`xdg-open {{path/to/image}}`
|
||||
|
||||
- Open a PDF in the default PDF viewer:
|
||||
|
||||
`xdg-open {{path/to/pdf}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`xdg-open --help`
|
Loading…
Add table
Reference in a new issue