1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ca/linux/xdg-open.md
2022-02-06 00:25:41 -03:00

512 B

xdg-open

Obre un arxiu o URL en l'aplicació predeterminada del usuari. Més informació: https://man.archlinux.org/man/xdg-open.1.

  • Obre el directori actual en l'explorador d'arxius predeterminat::

xdg-open .

  • Obre una URL en el navegador predeterminat:

xdg-open {{https://www.exemple.cat}}

  • Obre una imatge en el visor d'imatges predeterminat:

xdg-open {{ruta/a/imatge}}

  • Obre un PDF en el visor de PDF predeterminat:

xdg-open {{ruta/al/pdf}}

  • Mostra l'ajuda:

xdg-open --help