Linux / Unix: “-bash: python: command not found” error and solution

Posted on in Categories , , , , , , , , , , , last updated January 11, 2017

I am a new user and trying to run Python program. I have a cloud based VM/VPS and when I type python mycode.py at the terminal of my server, I get the following error:
-bash: python: command not found

How do I solve this problem?

How to install wget on RHEL/CentOS 7 using yum

Posted on in Categories , , , , , last updated November 22, 2016

I am trying to download a file using ‘wget http://url’ syntax, but I am getting an error:

bash: wget: command not found

How do I fix this problem? How can I install wget on a CentOS/RHEL 7 or 6 server using yum command?
Continue reading “How to install wget on RHEL/CentOS 7 using yum”