Find the answer to your Linux question:
Results 1 to 4 of 4
I am new to shell scripts. How can I load a image file from shell script?...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    2

    load image shell script

    I am new to shell scripts.
    How can I load a image file from shell script?

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,939
    I'm not sure what your intent is here but, you can load an image from the command line or a script. Assume pic.jpg in your /home/user/Pictures/ directory, use:

    firefox "file:/home/username/Pictures/pic.jpg"
    This will open it in firefox.

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    2
    Thanks for the reply. Problem solved

  4. #4
    Just Joined!
    Join Date
    Feb 2009
    Posts
    45
    Quote Originally Posted by virag
    I am new to shell scripts.
    How can I load a image file from shell script?
    Other image viewers, that offer a CLI utility to open images are:

Posting Permissions

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