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
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