0

I want to run a bash script as follows

#!/bin/sh

for model in (`cat list.txt`); do

    echo $model
    .....
    ......
done

I ran the code using command bash script.sh. However, I am still getting an error as

'cript.sh: line 3: `for model in (`cat list.txt`); do

Please let me know how I can run it.

John Kugelman
  • 349,597
  • 67
  • 533
  • 578
user962808
  • 115
  • 1
  • 2
  • 10

0 Answers0