I am new in bash.. Here is my code for bash script which will take file name as command line argument Code of file hello is :-
#!/bin/bash
if ["$1"!= "abcd.txt"]; then
echo Good
else
echo Not Good
fi
when i am running
$hello abcd.txt
It's showing
/usr/bin/hello: line 2: [abcd.txt: command not found
Not Good
Where is the problem? Please help me as soon as possible. Thanks in Advance.