2

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?

Kulfy
  • 18,154
efe373
  • 171

1 Answers1

1

I have forgotten to add :$PATH at the end of the line in ~/.bashrc. Adding it solved my problem. Before edit, it was like export PATH="/storage/IntelFPGA/q18.1/quartus/bin".

Kulfy
  • 18,154
efe373
  • 171