What commands don't work?
Does 'env<ENTER>' without quotes put anything on the screen.
Could be a permission problem. Try sudo ls -l
Does that give you the contents of the directory your in?
You might try to restore your profile:
sudo cp /etc/profile /home/pi/.profile
((Note the period)