How Do I Open a Jpg File in Linux Command Line?
Contents

Open the Terminal window in Ubuntu (Alt + Cntrl + T) and type eog to open the image viewer program. To open the image use the image name followed by the eog command. eog // You can use tab to auto-complete the filename.

How do I open a JPEG in Linux terminal?

To open a picture from terminal,

  1. Install shotwell to open a picture via terminal, sudo add-apt-repository ppa:yorba/ppa sudo apt-get update sudo apt-get install shotwell.
  2. Then go into the directory which contain picture you want to open, cd /path/to/the/directory/which/contains/picture.

How do I view images in Linux?

Many image viewer applications are available for Linux. The simplest, most common and powerful is ImageMagick.
…
How can I open an image file from the Linux terminal?

  1. Checking if ImageMagick is installed.
  2. Installing ImageMagick.
  3. Using ImageMagick to display a file.
  4. Learn more about ImageMagick.
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest