The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
Execute All Commands in A contrl File
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Execute All Commands in A contrl File
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
12-20-2008
Yogesh Sawant
Part Time Moderator and Full Time Dad
Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
what you need is an ampersand at the end of the command, to run it in background:
Code:
while read line ; do $line
&
done < ControlFile
Yogesh Sawant
View Public Profile
Visit Yogesh Sawant's homepage!
Find all posts by Yogesh Sawant
Find Yogesh Sawant's past nominations received
Find Yogesh Sawant's present nominations given