So I'm trying to write an if else statement which involves the use of diff -q. So, let's say I have two files hi.txt and hello.txt and I store them into variables called hi and hello respectively. I have this piece of codeif [ diff -q $hi $hello ]; then  echo these files are the sameelse   echo these files are not the samefiNo matter what hi.txt and hello.txt contain, even if they have exactly the same content. I get an error saying ./(name of script) line (line with [diff -q hi hello]) [: too many arguments. What part of my syntax is wrong?
If and else statement using diff -q
shell script;test