I'm studying linux, and it's my first contact with the shell script, the documentation I wanted to do is:
#!/bin/bash
if [ uname - m = "x86_64" ]; then
echo "sua versão é de 64bits"
else
echo "sua versão é de 32bits"
fi
I tried to use this one I did, but it is not working.