Search Results

Search: Posts Made By: JackyShane_36
1,984
Posted By jgt
If there is no precedence, why not simply split...
If there is no precedence, why not simply split the 120 line file into 6 files of 20 lines each, and then start the 6 files. Remove the & from the end of each line. There will never be more than 6...
1,984
Posted By sea
If i may propose a command povided by my visual...
If i may propose a command povided by my visual toolset TUI.
Can not open the attached command_list.txt - for the provided code, i expected to have each "regular valid command" on a single line.
...
1,984
Posted By cjcox
#!/bin/bash maxnum=6 # Initial load ...
#!/bin/bash

maxnum=6

# Initial load
c=1
while [ $c -le $maxnum ]; do
read line || exit
echo "$line" | sh &
p[$c]=$!
echo ${p[$c]}
((c++))
done

# Loop through all,...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy