I recently installed mac ports for wine (snow leopard) and now my terminal path is messed up because i cant use commands such as ls. every time i open terminal i get this:
i entered this command before installing mac ports
echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | sudo tee -a /etc/profile
It seems that you have lost something in your search paths.
Provided you are using the default (bash) shell, try:
You might also check a few of the other commands. There may be a few more directories that have been lost.