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