I have a problem with loop , I used while in my script as below :
while read LINE
do {
}
done
but the problem is each time I should press enter while running the script, and it supposed to do this 50000 time ! how could I change this to a loop that runs automatically ?
could I count the length of my file using : lenght=`wc -l < myfile and then use it ? or any better solution ?