Check if command exists with shell script
2020年10月13日
if ! type gem > /dev/null; then
echo 'gem command not found.'
fi
if ! type gem > /dev/null; then
echo 'gem command not found.'
fi
Simply put a space before the command and it won't be saved to ~/.bash\_history. E.g. qrencode -o out.png "Some secret text"
To upgrade postgres you can run
Open term (or equivalent) and paste the following: