I do not know why this happened but when I enter a command from terminal for example gedit ~/.bashrc I get the following error:
Command 'gedit' is available in the following places
* /bin/gedit
* /usr/bin/gedit
The command could not be located because '/bin:/usr/bin' is not included in the PATH environment variable.
gedit: command not found
This happens for also cat, shutdown command etc. How can I solve it?