Troubling installing OS X El Capitan through terminal and thumb drive. Problems with Terminal commands
I'm trying to restore to factory settings my 2009 MacBook Pro (it had become so slow that a clean slate would solve the problem). I first encountered "sudo: command not found" after writing "sudo/ Applications/Install\ OS\ X\El\ Capitan.app/Content/Resources/createinstallmedia --volume/Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app"
Then I read in the posts that I should try: "/bin/echo $PATH"
And I got:
/usr/bin:/bin:/usr/sbin:/sbin
and then I wrote:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH
(I really should not be just copying and pasting code that I found in the support pages since my situation is different from the other users)
And I believe I've added too much code.
How do I undo this last step? I suspect that I have embedded my folders unnecessarily into other folders. I'm not sure.
Thank you so much!
MacBook Pro 13", OS X 10.11