2

This question already has an answer here:

I want to know how to view images (.jpg, .png) via terminal (xterm or gnome).

Please help me. How to enable visual support inside terminal?

marked as duplicate by karel, Community Sep 21 '18 at 10:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

Use the command feh.

feh {/path/to/image.png}

feh is a mode-based image viewer. It is especially aimed at command line users who need a fast image viewer without huge GUI dependencies, though it can also be started by (graphical) file managers to view an image. By default (unless arguments or a filelist are specified), feh displays all files in the current directory.

feh can open any format supported by Imlib2, most notably jpeg, png, pnm, tiff, and bmp. The gif format is also supported, but only for static images. In case of animations, only the first frame will be shown.

1

On Ubuntu the standard image viewer is EyeOfGnome - eog. From terminal simply type:

eog name_of_picture.jpg

Not the answer you're looking for? Browse other questions tagged or ask your own question.