Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have a picture in my Downloads folder , I want to open my picture in terminal with "exec" command, but I cant and receive an error . what ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5

    exec command

    Hi
    I have a picture in my Downloads folder , I want to open my picture in terminal with "exec" command, but I cant and receive an error . what can I do to see a picture in Terminal ?

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    what can I do to see a picture in Terminal ?
    Use ImageMagick. It should be installed on your system but I don't use Ubuntu so am not sure if you will need to install it. If you have it installed, you would go to the directory in which you have your picture:

    cd /home/username/Pictures (as an example)

    run the command: display mypicture.jpg (this should open a picture in a new window namedd mypicture.jpg)

    Using exec to do it, I don't know. If you want to manipulate images from the command line, read documentattion on ImageMagick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...