xdg-open

xdg-open is a very interesting command. With it we can open any program or URL from the command line. If I were to run xdg-open https://freakspot.net, it would open the home page of this website with my default browser, and then I could execute another command. One disadvantage is that we can only pass one argument to it, so to open two web pages we would have to run xdg-open twice.

Comments