I am using the z Shell (zsh) instead of the default bash, and something wrong happen so that all commands who used to work are no longer recognized:
zsh
<
Uninstall and reinstall zsh worked for me:
sudo yum remove zsh sudo yum install -y zsh