I just added a few paths to `/Users/userA/.bash_profile` and sourced it. 

It seemed to work, I could access more programs. Now I can't even access `ls`.  

Only `cd` and `source` are still working.

What do I need to do to restore my settings?  

I removed the changes to `.bash_profile` using TextEdit, and sourced again but still no luck using `ls` or `cd`. 

Update: For users reading this the cause of this problem was in my case failing to ad $PATH to the end of profile entries 
for example:

```
 PATH=$HOME/downloads/atlassian-jira-5.1-standalone:$PATH

```

If you leave out :$PATH at the end and save you can have this problem.