I think I accidently deleted the PATH variable

The PATH should restore on Reboot; anyways, if not the case you can find an Original .bashrc on: /etc/skel/.bashrc Overwrite using it; good luck.


May be you accidentally did the following.

export PATH=<some path>

Actually you have replaced the PATH , may be what you should have done is ,

export PATH=$PATH:<some path>

but this may not be your case. But that same error can be used to recover ,

try below,

export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

this should work.