checking commands whether has been installed.