mirror of https://github.com/CrimsonTome/tldr.git
xdg-open: add page (#5516)
parent
1f6ee60fb3
commit
4402fb0e6d
|
@ -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`
|
|
@ -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…
Reference in New Issue