0

What is wrong about this code? The if condtion should be correct https://www.educba.com/if-condition-in-shell-script/

for file in *; do
    if [$file -ne someFilename]; then
        echo $file
    fi
done
neolith
  • 589
  • 8
  • 18

0 Answers0