In cases like this I normally just add a "echo" before the actual command (like echo ./hashcat-0.46 and you will see what is going on)... also I normally prefer the:
while read line
do
// ... something with the line
done < $1
but it depends from case to case
while read line
do
// ... something with the line
done < $1
but it depends from case to case