xdg-open - opens a file or URL in the user's preferred application
xdg-open is for use inside a desktop session only. It is not recommended to use xdg-open as root.
An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned:
xdg-open 'http://www.freedesktop.org/'
Opens the Freedesktop.org website in the user's default browser
xdg-open /tmp/foobar.png
Opens the PNG image file /tmp/foobar.png in the user's default image viewing application.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |