This script should auto mount a file system on a Linux server.testcheck=`df -h | awk '{print $6}' | grep /test`;if [$tescheck -ne /test]then    mount /testelse    echo failed;fiI'm having a problem in the condition for making if statement true or false.What am I doing wrong? Are there any alternatives that I can use?
script for automount, using if statement. cannot got the result
shell script;test