xdg-open
Open a file or URL in the user's preferred application. tldr-pages
On Linux
Linux
Open the current directory in the default file explorer
xdg-open .IdentifyOpen a URL in the default browser
xdg-open https://example.comIdentifyOpen an image in the default image viewer
xdg-open path/to/imageIdentifyOpen a PDF in the default PDF viewer
xdg-open path/to/pdfIdentifyDisplay help
xdg-open --helpIdentify