The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running multiple processes in Linux abcabc1103 UNIX for Dummies Questions & Answers 6 03-24-2009 08:29 AM
Multiple processes writing on the same file simultaneously Sayantan Shell Programming and Scripting 1 01-23-2008 03:28 AM
Doubt about multiple processes Legend986 Shell Programming and Scripting 9 10-29-2007 11:49 AM
spawning multiple processes spread across two files StrengthThaDon High Level Programming 1 09-17-2007 06:03 PM
How Can I Have Top Display The Top 20 Processes?? TRUEST UNIX for Dummies Questions & Answers 1 05-23-2003 09:24 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-01-2002
JoeTheGuy JoeTheGuy is offline
Registered User
  
 

Join Date: Oct 2002
Location: Canada
Posts: 22
Spawing multiple display processes from one shell.

Question: Suppose I want to, from the terminal, use a shell script that would do the display image.jpg command to load multiple images from a directory all at the same time. One terminal, and for example 10 image files. Basically I want to execute 10 different commands simultaniously all from the same shell and open ten different windows with the images in them.

How would this be done?

I have a basic idea with for loops, number sequences, and background processes. But is there an easy way that's pretty much universal on any unix platform?

for file in `ls -1 *.jpg`; do display $file; done

does a nice job of displaying the images in alphabetic order one by one. but I want to load em all up all at the same time from one shell.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0