open image ubuntu code example Example: open image from terminal in ubuntu 18 prashad@ubuntu:~/test$ xdg-open output_image.jpg