for some reason when I try to run this script:
if ["$1" == "--all"]
then
sayOS
sayUptime
sayMemory
sayDirectory
sayTime
fi
it gives me this error:
say_stuff.sh: line 26: [: missing ']'
for some reason when I try to run this script:
if ["$1" == "--all"]
then
sayOS
sayUptime
sayMemory
sayDirectory
sayTime
fi
it gives me this error:
say_stuff.sh: line 26: [: missing ']'