1
Bir bash betiğinde Çoklu İş parçacığı / Forking
Aşağıdaki formatta bir bash betiği yazdım: #!/bin/bash start=$(date +%s) inFile="input.txt" outFile="output.csv" rm -f $inFile $outFile while read line do -- Block of Commands done < "$inFile" end=$(date +%s) runtime=$((end-start)) echo "Program has finished execution in $runtime seconds." whileDöngü gelen okuyacak $inFile, hat üzerinde bazı etkinlikler gerçekleştirmek ve sonucu dökümü $outFile. …