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