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
  • 699
  • 1
  • 11
  • 20

0 Answers0