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